ā04-18-2010 10:08 PM - edited ā03-04-2019 08:12 AM
I have a telstra provided IP WAN network running BGP.
I advertise 0.0.0.0 from my main site by the network 0.0.0.0 command under router bgp 61111, at the Disaster recovery(DR) site, I have the network 0.0.0.0 backdoor under BGP 62222 because there is internal eigrp running over a gigabit link between the two sites. This all works ok. Now if the main Router IP WAN link goes down, is there anyway that the DR can start advertising the default route automatically
Solved! Go to Solution.
ā04-18-2010 11:45 PM
Hello Chrbardf1,
How are the sites interconnected to main site and DR site?
I will suppose that you have an MPLS L3 VPN service where each site peers with SP PE node using eBGP sesssions.
IF this is the case it should be enough for the DR site CE node that you manage to advertise a default route with appropriate AS path prepending
example:
ip prefix-list only-default permit 0.0.0.0/0
route-map selective_prepend permit 10
match ip address prefix only-default
set as-path prepend 62222 62222
route-map selective_prepend permit 20
router bgp 62222
neigh ISP-peer remote-as ISP-ASN
neigh ISP-peer route-map selective_prepend out
!
This should provide a default route that is used only when primary route at HQ disappears
if your network scenario is different the above solution does not apply to it.
Hope to help
Giuseppe
ā04-18-2010 11:45 PM
Hello Chrbardf1,
How are the sites interconnected to main site and DR site?
I will suppose that you have an MPLS L3 VPN service where each site peers with SP PE node using eBGP sesssions.
IF this is the case it should be enough for the DR site CE node that you manage to advertise a default route with appropriate AS path prepending
example:
ip prefix-list only-default permit 0.0.0.0/0
route-map selective_prepend permit 10
match ip address prefix only-default
set as-path prepend 62222 62222
route-map selective_prepend permit 20
router bgp 62222
neigh ISP-peer remote-as ISP-ASN
neigh ISP-peer route-map selective_prepend out
!
This should provide a default route that is used only when primary route at HQ disappears
if your network scenario is different the above solution does not apply to it.
Hope to help
Giuseppe
ā04-19-2010 01:12 AM
Joe,
thanks for your help
ā04-19-2010 04:31 PM
I thought the prepend commands fixed the problem,
but i want to advertise 172.16.17.0/24, and 172.17.6.0/24 out of the DR site, but adding the commands as above stopped those networks being advertised accross the BGP network
I tried using the prefix-list as below but that did not make any difference
ip prefix-list test deny 172.16.17.0/24
ip prefix-list test deny 172.17.6.0/24
ip prefix-list test permit 0.0.0.0/0
Richard
ā04-19-2010 10:43 PM
Hello Richard,
>> route-map selective_prepend permit 20
an empty final route-map clause (like the one above) is needed to keep advertise IP prefixes that you don't want to prepend but you need to advertise
Hope to help
Giuseppe
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