06-23-2014 04:32 AM - edited 03-04-2019 11:12 PM
I have two routers with BGP configured:
C2921:
router bgp 65014
bgp router-id 192.168.54.190
bgp log-neighbor-change
neighbor 192.168.54.150 remote-as 65011
neighbor 192.168.54.150 description Loud backup
neighbor 192.168.54.150 route-map Backup out
C1841:
router bgp 65011
no synchronization
bgp router-id 10.10.35.1
bgp log-neighbor-changes
neighbor 192.168.54.149 remote-as 65014
neighbor 192.168.54.149 description Cubus backup
neighbor 192.168.54.149 prefix-list Loudenia out
neighbor 192.168.54.149 route-map Backup out
ip prefix-list Loudenia seq 5 permit 10.10.35.0/24 le 32
ip prefix-list Loudenia seq 10 permit 192.168.111.0/24 le 32
ip prefix-list Loudenia seq 15 permit 10.25.15.0/24 le 32
ip prefix-list Loudenia seq 20 permit 192.168.44.0/24 le 32
ip prefix-list Loudenia seq 25 permit 192.168.45.0/24 le 32
ip prefix-list Loudenia seq 30 permit 192.168.46.0/28 le 32
ip prefix-list Loudenia seq 35 permit 192.168.49.196/30 le 32
ip prefix-list Loudenia seq 40 permit 192.168.49.225/32
ip prefix-list Loudenia seq 45 permit 192.168.49.229/32
route-map Backup permit 10
set as-path prepend 65011 65011
I have added:
ip prefix-list Loudenia seq 50 permit 192.168.48.225/32
made:
clear ip bgp 192.168.54.149 soft
but nothing changed route to 192.168.48.225 not advertised:
C1841-Loudenia#show ip bgp neighbors 192.168.54.149 advertised-routes
BGP table version is 137998, local router ID is 10.10.35.1
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
*> 10.10.35.0/24 0.0.0.0 0 32768 i
*> 10.25.15.0/24 192.168.111.10 0 32768 i
*> 192.168.44.0 192.168.49.26 0 65005 i
*> 192.168.45.0 192.168.49.26 0 65005 i
*> 192.168.46.0/28 192.168.49.26 0 65005 i
*> 192.168.49.196/30
192.168.49.26 0 65005 i
*> 192.168.49.225/32
192.168.49.26 0 0 65005 i
*> 192.168.49.229/32
192.168.49.26 0 65005 i
*> 192.168.111.0 0.0.0.0 0 32768 i
C1841 knows 192.168.48.225/32 via bgp
* 192.168.48.225/32
192.168.49.58 0 65005 65005 65005 65006 65013 i
*> 192.168.49.26 0 65005 65006 65013 i
I will be grateful for your advice
06-23-2014 05:58 AM
Hello
Do you have this host route in the rib of the 1841 for it to be advertised?
res
Paul
06-23-2014 06:18 AM
Thanks for reply. Paul how can I check it?
06-23-2014 06:31 AM
That is you mean?
C1841 knows 192.168.48.225/32 via bgp
* 192.168.48.225/32
192.168.49.58 0 65005 65005 65005 65006 65013 i
*> 192.168.49.26 0 65005 65006 65013 i
06-24-2014 04:09 AM
C1841:
router bgp 65011
network 192.168.48.225 255.255.255.255
clear ip bgp 192.168.54.149 soft
you need also static route
ip route 192.168.48.225 255.255.255.255 ....
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