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

how do i configure an alternate default route through my BGP network

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

1 Accepted Solution

Accepted Solutions

Giuseppe Larosa
Hall of Fame
Hall of Fame

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

View solution in original post

4 Replies 4

Giuseppe Larosa
Hall of Fame
Hall of Fame

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

Joe,

thanks for your help

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

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

Review Cisco Networking products for a $25 gift card