Thursday, November 7, 2019

Null routes are not showing up in RIB

Hi guys,

I have two transit routers. Ibgp between them and they each have ebgp with their own ISP.

My concern is that I don't see my null routes for my advertised networks in the rib on one of my transits. Instead one the transit routing table shows routes from the Ibgp peer.

Transit1#show ip bgp neighbors a.a.a.a advertised-routes BGP table version is 612755750, local router ID is 192.168.0.2 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> x.x.x.0/20 0.0.0.0 0 32768 i *> y.y.y.0/22 0.0.0.0 0 32768 i *> z.z.z.0/22 0.0.0.0 0 32768 i *> w.w.w.0/21 0.0.0.0 0 32768 i ip route x.x.x.0 255.255.240.0 Null0 250 ip route y.y.y.0 255.255.252.0 Null0 250 ip route z.z.z.0 255.255.252.0 Null0 250 ip route w.w.w.0 255.255.248.0 Null0 250 transit1#sh ip route y.y.y.0 Routing entry for y.y.y.0/22, supernet Known via "static", distance 250, metric 0 (connected) Advertised by bgp VVVV Routing Descriptor Blocks: * directly connected, via Null0 Route metric is 0, traffic share count is 1 

This looks proper. However on my second Transit:

transit2#sh ip bgp neighbors b.b.b.b advertised-routes BGP table version is 61131389, local router ID is 192.168.0.3 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> x.x.x.0/20 0.0.0.0 0 32768 i *>iy.y.y.0/22 192.168.0.2 0 100 0 i *>iz.z.z.0/22 192.168.0.2 0 100 0 i *>iw.w.w.0/21 192.168.0.2 0 100 0 i ip route x.x.x.0 255.255.240.0 Null0 250 ip route y.y.y.0 255.255.252.0 Null0 250 ip route z.z.z.0 255.255.252.0 Null0 250 ip route w.w.w.0 255.255.248.0 Null0 250 transit2#sh ip route y.y.y.0 Routing entry for y.y.y.0/22, supernet Known via "bgp VVVV", distance 200, metric 0, type internal Advertised by bgp VVVV (self originated) Last update from 192.168.0.2 04:15:04 ago Routing Descriptor Blocks: * 192.168.0.2, from 192.168.0.2, 04:15:04 ago Route metric is 0, traffic share count is 1 AS Hops 0 MPLS label: none 

Does this look okay? As long as I have the routes in my rib, it doesn't matter if it's from my null routes, or from an ibgp peer?



No comments:

Post a Comment