Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

routes with cost

Hi all, when adding 2 routes to a destination but using different next hops, you use a cost for failover right, how does the router know that the other end device is down ? or will this only work when pointing through 2 different local interfaces on the router ?


Re: routes with cost


The router tracks the status of the interface which is connecting to the next hop.

When the protocol goes down, the router flushes that route from the table and uses the other one.

The next hop ip must be reachable from the interface conencting to the local router.

HTH, rate if it does


Re: routes with cost

Hi Carl,

First of all when using different routes with failover we use AD (Administrative Distance) not cost, and the route with higher AD (the backup) is called a floating static route.

In old IOS to have this working you must have set the route to the outgoing interface rather than the next-hop, but in recent IOSs, pointing the route to the next-hop the router does its recursive tests and make sure that the interface going to the next-hop must be up/up for the route to be in the routing table.

HTH, please do rate all helpful replies,

Mohammed Mahmoud.

New Member

Re: routes with cost

I gather it uses some kind of ping response for this etc ?