Solved

BGP with two default routes

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

Suggested Solutions

Hello , This is a short article on how would you go about enabling traceoptions on a Juniper router . Traceoptions are similar to Cisco debug commands but these traceoptions are implemented in Juniper networks router . The following demonstr…
Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
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…

777 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