Cisco Support Community
cancel
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.

1 REPLY
Bronze

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 1.2.3.4/24, but the link between you and the ISP comes from their space, 5.6.7.8/30. You don't want to have to carry 5.6.7.8/30 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.

Warren.

105
Views
0
Helpful
1
Replies
CreatePlease to create content