cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
507
Views
0
Helpful
3
Replies

BGp loadbalacing to 2 different ISPs

baotran09
Level 1
Level 1

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?

Cheers,

3 Replies 3

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Bao,

here are some examples:

http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a008009456d.shtml

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

http://www.cisco.com/en/US/tech/tk648/tk361/technologies_white_paper09186a0080091c8a.shtml

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

Giuseppe

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.)

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.

Rds,

Luiz

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: