Showing results for 
Search instead for 
Did you mean: 

BGP automatic load balancing

Hi I am using dual homed connection and from both of my provider I am receiving default-route. I am using only one router to connect with both providers. Now my question is that can I load balance between these two connections. I mean is there any way to say my BGP router to use automatic load balancing between two. I the answer is yes then it will be convenient for me if you share a sample configuration.

VIP Advisor

Yes you can do load balancing

Yes you can do load balancing.

If you do a "show ip route" does it show two outbound options?  If so, it should already be load balancing.

If it doesn't, what is the output of "show ip bgp"


I mean that is there any to

I mean that is there any to load balance by bgp process which we can by ospf/eigrp by maximum-path commands. So my question is automatic load balancing possible by BGP ?

VIP Advisor

I can't understand your

I can't understand your grammar.  Would you like to try re-phrasing the question.

If you are asking about the number of paths used, you can control this using the maximum-paths command.

router bgp xx

  maximum-paths 2

You can also consult this guide:

VIP Expert



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 wha2tsoever (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.


Yes you can, but as often the case with BGP, it's a bit more involved than your IGPs.

If I remember correctly (for Cisco), multiple BGP link peering (on same router) with the same remote AS will load balance across the links as long as you bump up maximum paths from its default of 1.  If your same router's multiple BGP link peering is with different remote ASs, you also need to use a secret/hidden command, bgp bestpath as-path multipath-relax.

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards