05-12-2017 01:36 AM - edited 03-05-2019 08:31 AM
Hello all,
I have a Cisco 1941 Series with two separate BGP connections to my ISP. This is still in the testing phase so I can try everything I want.
The Cisco announces a prefix to the ISP via both BGP sessions and in return the ISP (a Juniper MX router) sends a default route back.
Now, both sessions have been established and I see the prefix announced from the Cisco, but it seems that the Cisco doesn't yet receive/accept its the default route announced from the Juniper.
Juniper sending default route:
term advertise-default {
from {
route-filter 0.0.0.0/0 exact;
}
then {
next-hop self;
accept;
}
}
term reject-rest {
then reject'
}
This is the relevant Cisco configuration:
router bgp 65413
bgp log-neighbor-changes
neighbor 185.159.125.9 remote-as 202120
neighbor 185.159.125.9 description "Via Colt"
neighbor 185.159.125.13 remote-as 202120
neighbor 185.159.125.13 description "Via 4G"
!
address-family ipv4
network 185.52.208.6 mask 255.255.255.254
neighbor 185.159.125.9 activate
neighbor 185.159.125.9 prefix-list default-route in
neighbor 185.159.125.9 prefix-list transit-out-v4 out
neighbor 185.159.125.13 activate
neighbor 185.159.125.13 prefix-list default-route in
neighbor 185.159.125.13 prefix-list transit-out-v4 out
exit-address-family
!
ip prefix-list BGP_DEFAULT_ACL seq 5 permit 0.0.0.0/0
!
ip prefix-list default-route seq 10 permit 0.0.0.0/0
!
ip prefix-list transit-out-v4 seq 1 permit 0.0.0.0/0
ip prefix-list transit-out-v4 seq 5 permit 185.159.125.176/30
ip prefix-list transit-out-v4 seq 10 permit 185.52.208.6/31
access-list 23 permit any
I couldn't find any configuration about a Cisco accepting the default route. I've tried the Juniper configuration with a Mikrotik as client and it happily accepted the default route.
What am I doing wrong here?
Marijn
05-12-2017 02:15 AM
sh ip bgp
sh ip route
05-12-2017 02:33 AM
Allin-RTR#sh ip bgp
BGP table version is 3, local router ID is 185.159.125.14
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, x best-external, f RT-Filter
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 0.0.0.0 185.159.125.9 0 0 202120 i
*> 185.52.208.6/31 0.0.0.0 0 32768 i
show ip route
B* 0.0.0.0/0 [20/0] via 185.159.125.9, 1d21h
Well, I guess it the config above works after all.. We did some changes the other day but didn't see any improvement back then.
The discussion can be closed :)
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