Improve company productivity with a Business Account.Sign Up

x
?
Solved

Dynamic routing to internet based on interface status across two routers

Posted on 2011-03-15
3
Medium Priority
?
490 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 72

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
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…

606 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