06-05-2008 07:28 PM - edited 03-05-2019 11:27 PM
hi all, suppose i have 3 routers RA, RB, RC connected to each other like this
RA --> RB --> RC
100 200 300
now when RB propagates any prefixes recieved from RA to RC it modifies the next hop to itself right ? is there any way to retain the ip address of RA when RB advertises to RC, kindly tell me if there is any specific bgp command for this, i tried neighbour next-hop-unchanged but it worked only from ibgp to ebgp peer.
Thanks
06-05-2008 08:55 PM
you can set a route-map and specify the next hop that u require.
========================
neighbor
route-map NEXT_HOP
set next-hop
06-07-2008 12:41 AM
thanks for the feedback, but i knew this method, i am looking for a particular bgp command for this
06-07-2008 05:02 AM
How are the routers connected? Is router C on same subnet as router A?. If the receiving router C is on the same subnet, the next hop remains the same. Make sure on router B the next "neighbor ****(router b ip) next-hop-self" command is not enable.
06-08-2008 09:31 AM
BGP theory says that IBGP peers doesn't change the next hop ip address only EBGP peers change the next hop ip address.
I hope confederation fixes ur problem
06-08-2008 04:04 PM
the default behaviour would be to advertise the NH as the ebgp peer only, in this case RA.But you can force RC to use NH as RB by using the next-hop-self option with the neighbor command & this works within iBGP only.
Rate if 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