09-19-2010 02:09 PM - edited 03-04-2019 09:49 AM
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
Solved! Go to Solution.
09-20-2010 11:44 AM
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
09-19-2010 11:59 PM
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
09-20-2010 12:10 AM
Hi Giuseppe,
This is for load sharing only, what I am looking for is true load balancing.
09-20-2010 03:10 AM
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
09-20-2010 11:44 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide