I have two connections from my ISP, 12mb and a 6mb. Can I load balance the two connections to them using the following command?
router bgp xxxx
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
neighbor xxx.xxx.xxx.57 remote-as 1222
neighbor xxx.xxx.xxx.57 desc 6mbBackup
My understanding of BGP is by default it only picks one path for each route.
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:
There are other links in there too.
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?
Here's the link of different examples of BGP load sharing http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a00800945bf.shtml
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).
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