RadarURL
네트워크

BGP Load Balacing to multiple ISPs(AS)

by JaeSoo posted May 31, 2023
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄

 

BGP Load Balacing to multiple ISPs(AS)
syedraheel
 
 Beginner
Beginner
 

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
 
 

 

Giuseppe Larosa
 
 

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

View solution in original post

 
 
4 Replies
 

 

 
Giuseppe Larosa
 
Hall of Fame Master  Hall of Fame Master
Hall of Fame Master
 

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

 
 

 

 

Hi Giuseppe,

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

 
 

 

 

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

 
 

 

 
Giuseppe Larosa
 
 

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

 
 

 

출처 : https://community.cisco.com/t5/routing/bgp-load-balacing-to-multiple-isps-as/td-p/1566594


Articles

1 2 3 4 5 6 7 8 9 10