04-18-2007 01:07 AM - edited 03-03-2019 04:35 PM
Dear All,
I required your comments on a scenario of multihoming to a single provider.RouterA have 2 links with upstream provider and using maximum-path command to install more than 1 path in routing table for a prefix learned from both eBGP sessions.RouterA have iBGP session with RouterB also in its AS, now my question is that when I check BGP table for a prefix ( suppose 11.11.0.0 /16 ) at RouterB then it shows next hop ip address of its peer i.e RouterA although I am not using nexthop-self command on RouterA.Is this behaviour is due to maximum-path command ??
Regards,
Mujeeb
Solved! Go to Solution.
04-18-2007 04:24 AM
Mujeeb,
You are correct. In this scenario, the next-hop-self is set to self by router A because "maximum-paths" is configured and as a result of that multiple BGP paths are installed in the RIB.
Hope this helps,
04-18-2007 02:31 AM
Hello Mujeeb,
because of iBGP protocol ,the next-hop attribute is the IP address of the iBGP peer. If you setup another iBGP session between routerB and another routerC, the router C will receive announce for this prefix (11.11.0.0/16) with next-hop address of router A. Check this out:
http://www.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/bgp.htm#wp1020610
hope that helps!
BR,
Danail Petrov
04-18-2007 03:07 AM
Danail,
Router B would not advertise 11.11.0.0/16(learned from eBGP peers) to RouterC b/c of split horizon. As far as Mujeeb's issue is concerned i also have noticed that RouterB would show next-hop to Router A for prefix 11.11.0.0/16 if & only if maximum path 2 is defined on Router A without using next-hop-self.
Regards,
Akhtar
04-18-2007 03:10 AM
04-18-2007 04:24 AM
Mujeeb,
You are correct. In this scenario, the next-hop-self is set to self by router A because "maximum-paths" is configured and as a result of that multiple BGP paths are installed in the RIB.
Hope this helps,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide