Solved

BGP with two default routes

Posted on 2007-03-29
2
377 Views
Last Modified: 2010-05-18
I have a router with two BGP sessions with two upstreams, one provider sends full routes and the other only sends default.  Can I add a line in the config to specify a static second default route with a higher metric, so if the first bgp default route ever went down, it would read the second static default route to the other provider?  Or will that cause chaos?
0
Comment
Question by:AM6_Networks_AdamL
  • 2
2 Comments
 
LVL 28

Expert Comment

by:mikebernhardt
Comment Utility
Sure you can do that:
ip route 0.0.0.0 0.0.0.0 10.10.10.1 200
where 10.10.10.1 is the next hop and 200 is the "distance." the distance for EBGP is 20 so if that default disappears then the floating static route will take over. If the BGB default is via IBGP (from another router is the same BGP AS) then make the distance 210 because IBGP distance is 200.
0
 
LVL 28

Accepted Solution

by:
mikebernhardt earned 125 total points
Comment Utility
Distance has nothing to do with metrics by the way, it's a cisco-proprietary parameter to let it prioritize between different routing protocols- exactly what you want to do.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now