cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1046
Views
0
Helpful
7
Replies
Highlighted
Beginner

2 Default route from 2 BGP upstream,How to use both default routes when you are receiving only default routes from your upstream ??

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

7 REPLIES 7
Highlighted
VIP Expert

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

 



BB


*** Rate All Helpful Responses ***

Highlighted

Hi..but I am receiving only default routes from my bgp upstream.. In this
scenario how can I use both the link??

Highlighted

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.

 



BB


*** Rate All Helpful Responses ***

Highlighted

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

 

Highlighted
Advisor

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

 

Highlighted

yes..Both are having same priority ..
Highlighted

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.  

 

Content for Community-Ad