04-16-2013 03:41 PM - edited 03-04-2019 07:37 PM
Hello Everyone,
I am having issues with my floating static route - this must be something easy but I am not "seeing" it today... :-)
I have a few hundred prefixes from the 10.0.0.0/12 range in my BGP table and I want to be able to advertise another range (192.168.1.0/27) when any element of the 10.0.0.0/12 aggregate is present in the routing table. Example: If 10.1.1.1/32 is present, then advertise 192.168.1.0/27. My current problem is that the floating static doesn't kick in, even when the locally originated aggregate is present. Looks like the floating static doesn't like following another static route that is pointing to Null0 (which gets dynamically originated by the aggregate). Currently the floating static only kicks in when a prefix is present in the routing table that has zeros in all of the last three octets, i.e. 10.0.0.0/12 , 10.0.0.0/16 , 10.0.0.0/32
Any solutions / ideas to get around this?
!
ip route 192.168.1.0 255.255.255.224 10.0.0.0
!
router bgp 65000
aggregate-address 10.0.0.0 255.240.0.0
network 192.168.1.0 mask 255.255.255.224
!
CE1#sh ip route 10.0.0.0 255.240.0.0
Routing entry for 10.0.0.0/12
Known via "bgp 65000", distance 200, metric 0, type locally generated
Routing Descriptor Blocks:
* directly connected, via Null0
Route metric is 0, traffic share count is 1
AS Hops 0
Thanks,
Dirk
Solved! Go to Solution.
04-16-2013 04:06 PM
Hi Dirk,
Try changing the next hop address for your static route as follow:
ip route 192.168.1.0 255.255.255.224 10.0.0.1
10.0.0.1 should always be resolvable via the aggregate route (10.0.0.0/12), which should always be present in the RIB as long as there is a more specific route in the RIB.
Hope this helps
04-16-2013 04:06 PM
Hi Dirk,
Try changing the next hop address for your static route as follow:
ip route 192.168.1.0 255.255.255.224 10.0.0.1
10.0.0.1 should always be resolvable via the aggregate route (10.0.0.0/12), which should always be present in the RIB as long as there is a more specific route in the RIB.
Hope this helps
04-17-2013 03:14 PM
That's the ticket! Thank you so much Harold!
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