cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1802
Views
0
Helpful
7
Replies

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

laxmicisco
Level 1
Level 1

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

balaji.bandi
Hall of Fame
Hall of Fame

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

How to Ask The Cisco Community for Help

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

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

How to Ask The Cisco Community for Help

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

 

Philip D'Ath
VIP Alumni
VIP Alumni

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

 

yes..Both are having same priority ..

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.  

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: