Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Load Balancing over BGP

What is the quickest easiest way to achieve some degree of load balancing with BGP?

The problem is I have a remote site with 2 T1's from diverse providers. One is ATT MPLS and the other is VB MPLS. It is all eBGP, peering to the interfaces. I have tried peering to the loopbacks across the cloud and it resulted in some mean route flapping.

So the short version is that I need more bandwidth and I need to figure out how to leverage the unused T.

router bgp 65221

no synchronization

no bgp log-neighbor-changes

network mask

network mask

neighbor remote-as 7018

neighbor prefix-list Local out

neighbor remote-as 65000

neighbor prefix-list Local out

neighbor route-map AddAS in

neighbor route-map AddAS out

no auto-summary

route-map AddAS permit 15

set as-path prepend 65221 65221


Re: Load Balancing over BGP

Okay - first things first. I cringe when anyone talks about "load balancing" BGP. It really is a redundancy protocol foremost with some "load sharing" as an after thought.

Now that the disclaimer is out of the way, lets get down to business. Think of inbound and outbound as completely separate tasks. For inbound load sharing, AS-Path prepending is really your best option (often it is the only option). For outbound load balancing, you need to look at what you are receiving from the providers. Are you taking full or partial routes? Or are you simply taking default routes. If you are taking full or partial routes then you *should* have some kind of load sharing happening. If you are taking default routes, then you might just need to help direct traffic within the network to the closest router or figure out some load sharing scheme.

This is probably something you should be working with your providers on. I've seen some providers that will manipulate BGP attributes w/o your knowledge (like remove your prepends when they get it). At the least they may have some ideas about what you can do.