Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Dynamic routing to internet based on interface status across two routers

Posted on 2011-03-15
3
Medium Priority
?
488 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
2 Comments
 
LVL 18

Accepted Solution

by:
jmeggers earned 2000 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 71

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
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…

824 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