04-10-2019 11:52 AM
hi,
I am receiving 2 default route from my 2 BGP upstream ,How can i use both of them .Bcz i want both as primary .How to use both default routes when you are receiving only default routes from your upstream ??
04-10-2019 11:59 AM
You can use Load Balance as mentioned below examples :
https://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/13762-40.html
04-10-2019 12:21 PM
04-10-2019 08:49 PM
here is example config for reference :
Router BGP ASNUMBER
bgp bestpath as-path multipath-relax
maximum-paths 2
Note : If you making any changes on Live environment suggest to do it in maintenance window.
04-10-2019 09:24 PM
The default for maxium-paths is usually 8 - so no need to change that.
If both default routes have the same parameters used for selecting routes they will both be used. You may find it is being used right now without you having to do anything.
Otherwise check out this path selection document. The worst case is you will need a route-map to override properties to make both look the same cost. But this is not so likely.
https://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/13753-25.html
04-10-2019 09:39 PM
The default for maxium-paths is usually 8 - so no need to change that.
If both default routes have the same parameters used for selecting routes they will both be used. You may find it is being used right now without you having to do anything.
Otherwise check out this path selection document. The worst case is you will need a route-map to override properties to make both look the same cost. But this is not so likely.
https://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/13753-25.html
04-11-2019 04:39 AM
04-12-2019 10:54 AM
When your router have multiple routes for identical network destination, your router by default would load share between next-hop paths. Previous posts suggest you to read about BGP and how it works. Let me be the first to say that you can't achieve full load balancing only the attempt to process traffic evenly. You can either use BGP to manipulate the attributes of routes in your router and your or ISP's upstream BGP routers. Common practice is use BGP local preference and/or AS-PATH attribute. You can go further by specifying what internal networks to go to which upstream router. See link for an idea, https://community.cisco.com/t5/routing/change-local-preference-for-a-specific-network/td-p/2031778.
Another option is to explore Cisco SD-WAN solution.
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