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

BGp loadbalacing to 2 different ISPs

ICurrently I have 1 primary link and one backup link to the Internet.

I want to enable both links to increase the bandwidth. Is it possible? Im using BGp for external and OSPF for internal.

Please let me know of any examples?


Hall of Fame Super Silver

Re: BGp loadbalacing to 2 different ISPs

Hello Bao,

here are some examples:

if your company hasn't its own public ip address block NAT is involved

real outbound load balancing is possible if you have your own IP block.

if the router is only one you can use

router bgp xx

maximum-paths 2

note: this can work well if you are NOT receiving BGP full tables from your upstream providers.

inbound load balancing is more difficult to achieve you can choice how to send traffic to the internet but you have limited influence on others' choices for the return path.

Hope to help


Super Bronze

Re: BGp loadbalacing to 2 different ISPs

One issue you might encounter, since your question header mentions 2 ISPs, BGP might only use one path even with "maximum-paths 2". If this happens, you might try the secret BGP command "bgp bestpath as-path multipath-relax ".

Another option would be activation and usage of OER/PfR to provide dynamic load balancing. (NB: can be used instead of static load balancing or with it.)

Re: BGp loadbalacing to 2 different ISPs

I agrre on wht Joseph has posted because for example one of SPs here changes a lot the AS numbers and breakes my prepends. So, when started using the "bgp bestpath as-path multipath-relax ", ballancing started really working without interference from SP.

Would like to enjoy this post to ask if someone could explain what is the impact, or if there is no problem on that.