cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
309
Views
0
Helpful
1
Replies

Question about BGP multihoming

CHRISTINE BERNS
Level 1
Level 1

We have a headquarters location where we currently use BGP to multihome to two Internet providers. We have a /16 IP network. We run an active/standby scenario, where the less preferred Internet connection gets used only if the preferred one fails. We will be adding a disaster recovery site at a different location.

1. Can we add the DR site, configuring it to be the least preferred BGP path such that it gets used only if both connections at the headquarters site fail?

2. Can we advertise a specific subnet of the /16, such that traffic for the subnet always gets routed to the DR site, but the rest of the /16 gets routed to headquarters, unless headquarters fails, in which case all traffic goes to the DR site?

1 Reply 1

cpubob
Level 1
Level 1

The most common approach I've seen is to use AS Prepending to make a particular site "less" preferred. To make a site "less" preferred over another, just prepend you AS more times.

For example, if your current backup site is prepending your AS 3 times, make your new DR site prepend is 4 or more times. This works well to direct most users to your primaary site with one exception. Customers who use the ISP that is connected to your new DR site (assuming only one ISP at that site) probably will still prefer the new DR site over the internet route. To redirect those users, you would have to make that route less preferred using a better method like local preferrence.

If you ISP supports RFC 1998 communities for local preference, then you can force that route to be less preffered just by setting a community, like this: xxxx:70 (the xxxx would be your ISP's AS and 70 would be the local-pref you want assigned to that route.) If that isn't supported, than you would have to contact your ISP to have them depreffer your local route.

For your second question, the answers is yes. IP works on a longest match rule, so as long as you advertise a prefix that is long enough to be carried by everyone (a /24 is your safest bet as some large carriers drop /25's) than that longer match route will be preferred.

GL

-Rob

Review Cisco Networking products for a $25 gift card