Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
Community Member

BGP and next-hop self

Hi, when configuring neighbor next-hop self in order to avoid propagating in my IGP routes to the external peers, do i have to configure that command on every iBGP peer, or, i just configured the command on the border router connected to the "ISP tier" router. Thanks for any information regarding configuring next-hop self.


Re: BGP and next-hop self

The "next-hop-self" command sets the next hop of externally learned routes to be the router that learn it. This stops you having to carry the network that you used for peering in your IGP (eg. Your address space is, but the link between you and the ISP comes from their space, You don't want to have to carry in your IGP, so you set next-hop-self on your border router and then all of you IBGP peers see the next hop for prefixes learnt from your ISP as the IP of your border router.) So, you only need to set this on your border routers. NB: This does not stop you propagating your IGP routes to external peers, it just stops you having to carry external "peering" links in your IGP. I hope this helps.


CreatePlease to create content