Solved

BGP with two default routes

Posted on 2007-03-29
2
378 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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…
This article is a guide to configure bridging on Cisco Routers.  This is something I never knew was possible until after making a few phone calls to Cisco.  Using bridging saved our company money by not requiring us to purchase a new switch.  Bridgi…
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…

863 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

21 Experts available now in Live!

Get 1:1 Help Now