Solved

BGP with two default routes

Posted on 2007-03-29
2
387 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 28

Expert Comment

by:mikebernhardt
ID: 18819561
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
ID: 18819570
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you with short command examples how to obtain a packet footprint of all traffic flowing thru your Juniper device running ScreenOS. I do not know the exact firmware requirement, but I think the fprofile command is availab…
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
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…
Suggested Courses

729 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