03-14-2013 01:40 PM - edited 03-04-2019 07:18 PM
Hi all,
I have two uplinks to ISPs on one router in which they give me only default routes via BGP. I'm looking for the best way to load balance acrross both circuits with minimal config.
03-15-2013 12:36 AM
Hi Stephan,
Let us know in more detail. Do you have 2 ISPs or only one? Bandwidth of both uplinks are the same? And what is the prefix length of your subnet?
03-15-2013 03:23 AM
Hi,
if you have two links to different ISPs on one router and you are receiving the default route and all attributes are the same: weight, local preference, origin, as-path length and MED , you can use the command bgp bestpath as-path multipath-relax in order to achieve multipath load sharing. Be aware that the AS-PATH length must be the same, even though the AS of the two ISPs will be different. Otherwise, different lengths, it will not work.
Hope this helps,
Jose.
03-15-2013 05:30 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
In addition to what Jose describes, you may need to set maximum-paths 2 for BGP (I believe the default only allows 1 route).
03-15-2013 05:39 AM
Joseph,
good point. Yes, it is needed the maximum paths 2.
Thanks,
Jose.
03-15-2013 06:25 AM
I have uplinks to two seperate ISPs and receive a only receive a default route from each via BGP. Both links are the same speed and BGP is used only to advertise our prefixes out - nothing hectic. I was thinking the easiest solution would be to add two static routes on the router and balance across. I had read about applying the command "
bgp bestpath as-path multipath-relax", but wasn't sure since from my understanding it's not a fully supported command with Cisco. We'll see.
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