Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Route priority

Status
Not open for further replies.

DomenicoC

Technical User
Mar 1, 2004
40
US
Hello,

I am a newbie to this, so any help is appreciated.

We are setting up a backup connection from our branch office to head office. If the backup connection ever becomes active the the route to the branch office needs to be changed on the router at head office. Is there anyway to setup a route on the head office router that will know when to use the other route?

Thanks,

Dom
 
Normally, when a connection fails, both routers know at the same time. Like when a PC is unplugged from a switch, the links go down on both.

It depends upon your topology, but you can normally use route statements with different costs to indicate the preferred route.

ip route 1.1.1.0 255.255.255.0 <main branch link>
ip route 1.1.1.0 255.255.255.0 <backup branch link> 200

 
depending on your config and hardware you could make it work with a use of floating static routes.
Or you could point your static primary and backup routes to a broadcast interfaces with a next hop IP address specified.that is very similar to the floating static routes but it doesn't require the routing protocol.

something like
ip route 0.0.0.0 0.0.0.0 Ethernet0 x.x.x.x
ip route 0.0.0.0 0.0.0.0 Ethernet1 y.y.y.y 200
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top