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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Satic route

Status
Not open for further replies.

9826024006

Technical User
Feb 24, 2003
31
AE
what happens when there are two static routes configured for one destination?? is there any way to configure the two static routes for one detination with different interfaces in Cisco Device. if one static routes fails it should forward the traffic thru another defined static route???

if it possible then how? and if primary static route comes up again so it should take this as preferred route.

Thanks

Earliest reply is awaited.
 
You can add a cost to the route to give priority to one over the other. If the cost is the same (or no cost), then it should attempt to load balance the routes.

BierHunter
CNE, MCSE, CCNP
 
This will cause the router to always take 1.1 unless the 1.1 interface is down, it will then "promote" 2.1 into the route table.
ip route 172.27.20.0 255.255.255.0 172.18.1.1
ip route 172.27.20.0 255.255.255.0 172.18.2.1 150

This will cause the router to place both entries into the route table and do per-flow load balancing.
ip route 172.27.20.0 255.255.255.0 172.18.1.1
ip route 172.27.20.0 255.255.255.0 172.18.2.1

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top