cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
529
Views
0
Helpful
4
Replies

BGP automatic load balancing

olly ahmed
Level 1
Level 1

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.

4 Replies 4

Philip D'Ath
VIP Alumni
VIP Alumni

Yes you can do load balancing.

If you do a "show ip route 0.0.0.0" 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 0.0.0.0 0.0.0.0"

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 ?

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:

http://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/13762-40.html

Joseph W. Doherty
Hall of Fame
Hall of Fame

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

Posting

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.