cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
623
Views
11
Helpful
10
Replies

BGP Load Balancing

siskoboy2007
Level 1
Level 1

Hi,

I have two connections from my ISP, 12mb and a 6mb. Can I load balance the two connections to them using the following command?

conf t

router bgp xxxx

no synchronization

bgp log-neighbor-changes

network 65.xx.xx.0 mask 255.255.255.0

neighbor xxx.xxx.xxx.93 remote-as 1222

neighbor xxx.xxx.xxx.93 desc 12mb

maxium-paths 2

neighbor xxx.xxx.xxx.57 remote-as 1222

neighbor xxx.xxx.xxx.57 desc 6mbBackup

end

My understanding of BGP is by default it only picks one path for each route.

10 Replies 10

Rick Morris
Level 6
Level 6

You will be able to share the load between the two connections, but you may not get a 50/50 split.

BGP uses various different selection methods. In order to utilize it more effectively you may want to have your provider sent you their full routing tables. This will also help with route selection too.

I assume you are peering with 2 different providers, or at least 2 different peering points?

Routes can make selection on Hops, and it may be faster out one connection over the other.

For more info on BGP go check out:

http://www.cisco.com/en/US/tech/tk365/tk80/tsd_technology_support_sub-protocol_home.html

There are other links in there too.

Thanks for the help. We are peering to the same ISP but to two different peering points.

Then your config looks fine.

There are a few other things I would do but for the basic set-up you are good.

are you accepting full routes from the provider?

No, we don't. We used them for our default route out to the Internet (0.0.0.0) and they only advertise our public network.

Danilo Dy
VIP Alumni
VIP Alumni

Hi,

Here's the link of different examples of BGP load sharing http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a00800945bf.shtml

Regards,

Dandy

Thanks for the link...this is a great one!

Dandy,

Thanks!

Joseph W. Doherty
Hall of Fame
Hall of Fame

If your routers are 12.4 or later, you might want to look into Cisco's OER/PfR technology.

www.cisco.com/go/oer

www.cisco.com/go/pfr

Mohamed Sobair
Level 7
Level 7

Hi,

There is no (load balance) with BGP but rather (Load Share), and could be acheived by spiliting Prefixes & force it tward specific Outbound or inbound directions using BGP (AS-Path Attribute).

HTH

Mohamed

Hi,

For example, if i want to Load balance across Multiple E-BGP peers [Different AS] and both are terminating on the same Router at My End.

If i use a combination of "eBGP Multipath" and "bgp bestpath as-path ignore" and also enable CEF, would i get Load Balancing Effect

-Sumedh Rangari

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card