cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
282
Views
0
Helpful
3
Replies

routes with cost

carl_townshend
Spotlight
Spotlight

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 ?

3 Replies 3

royalblues
Level 10
Level 10

Carl,

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

Narayan

mohammedmahmoud
Level 11
Level 11

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.

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card