Hello,
I’m using the following topology and I have configured a static route on R3 and R4 for 5.5.5.5/32, but on R4 with AD 250. Between R3 and R4 the iBGP session is up and I can see that I’m advertising the prefix 5.5.5.5/32. Why does R4 choose that static route with AD 250, instead of the iBGP route with AD 200?
Thanks a lot.
R3#show ip bgp neighbors 10.0.0.4 advertised-routes
BGP table version is 12, 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, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 5.5.5.5/32 10.0.0.10 0 32768 i
*> 10.0.0.0/24 0.0.0.0 0 32768 i
Total number of prefixes 2
R3#show ip bgp 5.5.5.5
BGP routing table entry for 5.5.5.5/32, version 12
Paths: (2 available, best #1, table default)
Advertised to update-groups:
8 11
Refresh Epoch 1
Local
10.0.0.10 from 0.0.0.0 (192.168.0.3)
Origin IGP, metric 0, localpref 100, weight 32768, valid, sourced, local, best
Refresh Epoch 1
Local
10.0.0.10 from 10.0.0.4 (192.168.0.4)
Origin IGP, metric 0, localpref 100, valid, internal
R3#show ip route 5.5.5.5
Routing entry for 5.5.5.5/32
Known via "static", distance 1, metric 0
Advertised by bgp 100
Routing Descriptor Blocks:
* 10.0.0.10
Route metric is 0, traffic share count is 1
R4#show ip bgp 5.5.5.5
BGP routing table entry for 5.5.5.5/32, version 6
Paths: (2 available, best #2, table default)
Advertised to update-groups:
14 15
Refresh Epoch 1
Local
10.0.0.10 from 10.0.0.3 (192.168.0.3)
Origin IGP, metric 0, localpref 100, valid, internal
Refresh Epoch 1
Local
10.0.0.10 from 0.0.0.0 (192.168.0.4)
Origin IGP, metric 0, localpref 100, weight 32768, valid, sourced, local, best
R4#show ip route 5.5.5.5
Routing entry for 5.5.5.5/32
Known via "static", distance 250, metric 0
Advertised by bgp 100
Routing Descriptor Blocks:
* 10.0.0.10
Route metric is 0, traffic share count is 1