cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
274
Views
5
Helpful
2
Replies

Lose static route because host at same lan not present

m.kohn
Level 1
Level 1

Hello

how can i lose the static route entry, if the Host in the Lan not reachable.

!

interface Ethernet 0

ip address 172.26.26.5 255.255.255.224

!

ip route 10.0.0.0 255.0.0.0 172.26.26.15

ip route 10.0.0.0 255.0.0.0 172.26.26.10 200

I want to use the route via 172.26.26.10 if the 15 isn't present.

I hoped that the command : no ip proxy-arp

on the LAN Interface, bring my static-route down, when the Host isn't in the arp-cache. But ... :?

2 Replies 2

vladrac-ccna
Level 5
Level 5

I believe you are looking for a reliable static routing correct?

This can only be done in a couple of ways in a couple of IOS in a couple of platforms.

The problem with multiaccess interfaces is that it will not go down if a single "host" goes down, so interface will be always up, and your router will not use 172.26.26.10.

You need to create a tracking way for the .15 (using ping for instance).

Check this link:

Reliable Static Routing Backup Using Object Tracking

http://www.cisco.com/en/US/products/sw/iosswrel/ps5413/products_feature_guide09186a00801d862d.html

Hope this help a bit,

if it does please rate this post.

vlad

Thank you, very much.

That's, what i've searched / needed.

I didn't know that Object Tracking even exists.

Greetings from Hamburg