Solved

Dynamic routing to internet based on interface status across two routers

Posted on 2011-03-15
3
474 Views
Last Modified: 2012-05-11
I have the following configuration at present.  Router A is our IP clear router on site with Router B as the internet router.  Router C is a router at our main site.

I want to route the internet out from site via router B but if the interface/ Router B fails then send traffic to X.X.X.X via router D.

I have the following config which allows the traffic out via Router C and manually removing the statement  ip route X.X.X.X 255.255.255.255 B.B.B.B on router A sends the traffic down link D.  I want to know how to make the statement dynamic based on the state of router B or link A

Router A

router BGP 123

ip route X.X.X.X 255.255.255.255 B.B.B.B

Router B

Ip route 0.0.0.0 0.0.0.0 dialer 1

Router C

router bgp 123
network X.X.X.X mask 255.255.255.255
ip router X.X.X.X 255.255.255.255 D.D.D.D
     diagram
0
Comment
Question by:wslwingchun
[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
3 Comments
 
LVL 18

Accepted Solution

by:
jmeggers earned 500 total points
ID: 35142298
Try using a higher admin distance for the secondary route.  That way it will be less preferred until the primary route goes away.

network X.X.X.X mask 255.255.255.255 <distance>
0
 
LVL 70

Expert Comment

by:Qlemo
ID: 35455667
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that's …
Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
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
Course of the Month9 days, 12 hours left to enroll

623 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