cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1386
Views
0
Helpful
5
Replies

Load balancing default route from two ISP on one BGP router.

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.

5 Replies 5

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?

Jose Jara
Level 3
Level 3

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.

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

Joseph,

good point. Yes, it is needed the maximum paths 2.

Thanks,

Jose.

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.