Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

BGP Load Balacing to multiple ISPs(AS)

Hi !

How can we acheive BGP Load Balacing(not load sharing) to two different ISPs(different ASs) when we have (a single router) and also if we have (two routers) at customer end and our own public AS and IP pool.

Regards,

Raheel

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Silver

Re: BGP Load Balacing to multiple ISPs(AS)

Hello Raheel,

>> This is for load sharing only, what I am looking for is true load balancing.

you can attempt to but results are not guarenteed specially on the return path.

you can use something like

router bgp xx

bgp bestpath as-path multipath-relax

+

maximum paths 2

! the first command is hidden and allows to install two BGP routes with same AS path length and other parameters one coming from ISP1 and one coming from ISP2.

if the edge BGP routers are two you can play on the internal side using multiple static or multiple dynamic default routes on firewalls or core routers and an iBGP session between the two on a separate link is almost necessary.

if client Vlans directly connect to the two edge routers the use of GLBP is enough to achieve load balancing if the number of client devices is not small.

All of above can help in the outbound, towards the internet, direction but little can be done for return path.

You can play with selective AS path prepending in order to advertise different IP prefixes with different AS path lengths to ISP1 and ISP2 in order to try to influence return path, but you cannot get an exact load balancing just the use of both ISPs/links.

Hope to help

Giuseppe

4 REPLIES
Hall of Fame Super Silver

Re: BGP Load Balacing to multiple ISPs(AS)

Hello Raheel,

see for single edge router

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

for other cases including multiple customer edge routers see:

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

with your own AS number and your own public IP address block you are fine for BGP multihoming.

Hope to help

Giuseppe

Community Member

Re: BGP Load Balacing to multiple ISPs(AS)

Hi Giuseppe,

This is for load sharing only, what I am looking for is true load balancing.

Community Member

Re: BGP Load Balacing to multiple ISPs(AS)

Raheel,

You need to add third party internet link load balancer in front of your cisco gateway router and it works fine as I did. I also tried to load balance 2 internet links with IPsec VPN on Cisco router 1811 and 2811 but failed,

You can contact me for further detail. junaid.abbas.shah@gmail.com 0322-6447201

Regards,

Junaid

Hall of Fame Super Silver

Re: BGP Load Balacing to multiple ISPs(AS)

Hello Raheel,

>> This is for load sharing only, what I am looking for is true load balancing.

you can attempt to but results are not guarenteed specially on the return path.

you can use something like

router bgp xx

bgp bestpath as-path multipath-relax

+

maximum paths 2

! the first command is hidden and allows to install two BGP routes with same AS path length and other parameters one coming from ISP1 and one coming from ISP2.

if the edge BGP routers are two you can play on the internal side using multiple static or multiple dynamic default routes on firewalls or core routers and an iBGP session between the two on a separate link is almost necessary.

if client Vlans directly connect to the two edge routers the use of GLBP is enough to achieve load balancing if the number of client devices is not small.

All of above can help in the outbound, towards the internet, direction but little can be done for return path.

You can play with selective AS path prepending in order to advertise different IP prefixes with different AS path lengths to ISP1 and ISP2 in order to try to influence return path, but you cannot get an exact load balancing just the use of both ISPs/links.

Hope to help

Giuseppe

491
Views
0
Helpful
4
Replies
CreatePlease to create content