12-21-2015 06:33 AM - edited 03-01-2019 02:58 PM
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.
12-21-2015 11:14 AM
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"
12-21-2015 09:43 PM
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 ?
12-21-2015 11:26 PM
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
12-22-2015 12:17 PM
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.
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