nanog mailing list archives
Re: BGP next-hop
From: Ingo Flaschberger <if () xip at>
Date: Fri, 1 Oct 2010 00:01:10 +0200 (CEST)
i was recently bitten by a cousin of this research router getting an ebgp multi-hop full feed from 147.28.0.1 (address is relevant) it is on a lan with a default gateway 42.666.77.11 (address not relevant), so it has ip route 0.0.0.0 0.0.0.0 42.666.77.11 massive flapping results. it seems it gets the bgp route for 147.28.0.0/16 and then can not resolve the next hop. it would not recurse to the default exit. of course it was solved by ip route 147.28.0.0 255.255.0.0 42.666.77.11 but i do not really understand in my heart why i needed to do this.
last time severall years ago on cisco I used a route-map to rewrite the next-hop.
route-map xx-in permit 10 set ip next-hop 42.666.77.11 route-map xx-out permit 10 set ip next-hop x.x.x.x neighbor 147.28.0.1 remote-as yyy neighbor 147.28.0.1 ebgp-multihop 8 neighbor 147.28.0.1 route-map xx-in in neighbor 147.28.0.1 route-map xx-out out something like this.
Current thread:
- BGP next-hop Heath Jones (Sep 30)
- RE: BGP next-hop Jeff Saxe (Sep 30)
- Re: BGP next-hop Heath Jones (Sep 30)
- Re: BGP next-hop Leo Bicknell (Sep 30)
- Re: BGP next-hop Peter Hicks (Sep 30)
- Re: BGP next-hop Randy Bush (Sep 30)
- Re: BGP next-hop Franck Martin (Sep 30)
- Re: BGP next-hop Ingo Flaschberger (Sep 30)
- Re: BGP next-hop Randy Bush (Sep 30)
- Re: BGP next-hop Heath Jones (Sep 30)
- Re: BGP next-hop Randy Bush (Sep 30)
- Re: BGP next-hop Brett Watson (Sep 30)
- Re: BGP next-hop Peter Hicks (Sep 30)
- RE: BGP next-hop Jeff Saxe (Sep 30)
- Re: BGP next-hop Christian Martin (Sep 30)
- Re: BGP next-hop Smith W. Stacy (Sep 30)
- Re: BGP next-hop Heath Jones (Sep 30)
- Re: BGP next-hop Richard A Steenbergen (Sep 30)