Load Balance using BGP with different two ISPs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2017 12:40 AM - edited 03-05-2019 09:03 AM
Hi All,
I need help to setup load balance between two different ISPs connected to the one router in the branch and two different router in the HQ, we need to load balance the traffic between the two ISPs, we are using BGP with both ISPs, anyone can help?
- Labels:
-
Other Routing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2017 04:01 AM - edited 08-28-2017 04:24 AM
Hi
Assuming the links are equal cost you can set up maximum-paths 2 at the HQ.
Now if the links have different bandwidth you can include on the HQ routers:
bgp dmzlink-bw
neighbor x.x.x.x dmzlink-bw
If the branch router is connected to 2 different AS you can use:
maximum-paths 2
bgp bestpath as-path mutipath-relax (note: it is a hidden BGP command, so TAB will not complete the word)
If you can share a diagram it will be useful.
Hope it is useful
:-)
>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2017 08:45 AM
To go along with Julios comment, if you are going to use maximum-paths for ECMP make sure your BGP attributes for each ECMP desired route are the same as it relates to the best path selection process.
1. Weight
2. local-pref
3. as-path length
4. origin
5. MED
6. eBGP over iBGP
7. IGP Cost to next hop

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2017 04:53 AM
Hello,
in addition to Julio's post, also have a look at the link below. Check topology 4, which I think matches yours. There are several different sample configurations that accomplish redundancy as well...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2017 05:40 AM
Using PBR,U can do the load balancing.
Please refer the below link,you will get better idea.
http://www.ciscozine.com/pbr-route-a-packet-based-on-source-ip-address/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2017 07:44 AM
Without knowing you topology its hard to provide a definitive answer - Can you post a topology diagram please.
How is the Branch rtr connecting to HQ - either ISP or via a p2p connection and then uses the isps for wan connectivity?
res
Paul
Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.
Kind Regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2017 12:27 AM
I have uploaded the topology diagram.
Thanks.
