cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1732
Views
0
Helpful
4
Replies

Route not getting advertised

Hawk
Level 1
Level 1

I can't seem to get a /32 route advertised from one of our site routers.  Tried using the "mask" statement but the route doesnt show on the advertised routes.  The /32 address I want to advertise is part of a /24 already being advertised which is also a locally connected route.  I tried clearing bgp also with no luck.  Any clarity would be appreciated.   See show command output below.

 

router bgp 65138
bgp log-neighbor-changes
network 10.220.0.77 mask 255.255.255.255
network 10.222.225.0 mask 255.255.255.0
network 10.222.235.0 mask 255.255.255.0
network 10.222.236.0 mask 255.255.255.0
network 10.223.225.0 mask 255.255.255.0
network 10.240.0.0 mask 255.255.252.0
network 192.168.1.0
network 192.168.100.0
network 192.168.100.10 mask 255.255.255.255  <--- this is the one
neighbor 1.1.1.1 remote-as 555

 

kmffmplsr1#sh ip bgp neighbors 1.1.1.1 advertised-routes
BGP table version is 18387, local router ID is 10.220.0.77
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
t secondary path, L long-lived-stale,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 10.220.0.77/32 0.0.0.0 0 32768 i
*> 10.222.225.0/24 0.0.0.0 0 32768 i
*> 10.222.235.0/24 10.222.236.4 0 32768 i
*> 10.222.236.0/24 0.0.0.0 0 32768 i
*> 10.223.225.0/24 0.0.0.0 0 32768 i
*> 10.240.0.0/22 10.222.236.2 0 32768 i
Network Next Hop Metric LocPrf Weight Path
*> 192.168.1.0 0.0.0.0 0 32768 i
*> 192.168.100.0 0.0.0.0 0 32768 i

Total number of prefixes 8

 

kmffmplsr1#sh ip interface brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0/0 unassigned YES NVRAM up up
GigabitEthernet0/0/0.2 192.168.100.1 YES NVRAM up up
Gi0/0/0.15 10.222.225.1 YES NVRAM up up
Gi0/0/0.20 10.223.225.1 YES NVRAM up up
Gi0/0/0.150 192.168.1.1 YES NVRAM up up
Gi0/0/0.210 10.222.236.1 YES NVRAM up up
GigabitEthernet0/0/1 1.1.1.1 YES NVRAM up up
Loopback0 10.220.0.77 YES NVRAM up up

1 Accepted Solution

Accepted Solutions

Hi,

 

    If the /24 is a connected route, do the following:

         1. configure the static route as "ip route 192.168.100.10 255.255.255.255 CONNECTED_INTERFACE"

         2. confirm it's in the RIB now via "show ip route static" or "show ip route 192.168.100.10"

         3. wait few seconds, confirm it's now also in the BGP table via "show bgp ipv4 unicast 192.168.100.10"

 

Regards,

Cristian Matei.

View solution in original post

4 Replies 4

Cristian Matei
VIP Alumni
VIP Alumni

Hi,

 

    In order to inject the 192.168.100.10/32 into BGP table, you need an exact such prefix in your routing table. Do you have it?

 

Regards,

Cristian Matei.

No I only have a broader /24 in the routing table which is a connected route because of a sub interface configured on router.  I tried adding a static route ip route 192.168.100.10 255.255.255.255 192.168.100.10 but that didnt do it.  Im kinda at a loss and think I might jhave to resort to a complicated NAT configuration or something like that which I really want to avoid.

Hi,

 

    If the /24 is a connected route, do the following:

         1. configure the static route as "ip route 192.168.100.10 255.255.255.255 CONNECTED_INTERFACE"

         2. confirm it's in the RIB now via "show ip route static" or "show ip route 192.168.100.10"

         3. wait few seconds, confirm it's now also in the BGP table via "show bgp ipv4 unicast 192.168.100.10"

 

Regards,

Cristian Matei.

she's a pinging fool now!  Thanks!

Review Cisco Networking for a $25 gift card