02-14-2008 08:43 AM - edited 03-03-2019 08:42 PM
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.
02-14-2008 08:47 AM
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.
02-14-2008 08:51 AM
Thanks for the help. We are peering to the same ISP but to two different peering points.
02-14-2008 08:52 AM
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?
02-14-2008 08:56 AM
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.
02-14-2008 08:57 AM
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
02-14-2008 09:00 AM
Thanks for the link...this is a great one!
02-14-2008 10:20 AM
Dandy,
Thanks!
02-14-2008 12:22 PM
If your routers are 12.4 or later, you might want to look into Cisco's OER/PfR technology.
02-14-2008 01:09 PM
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
02-15-2008 11:56 PM
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
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: