cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
335
Views
0
Helpful
1
Replies

How to suppress static route distribution when next hop Lan int is down?

joe.afamasaga
Level 1
Level 1

Hi, we have a network device (lets call it 'NodeX') we wish to IP manage preferable via it's out of band LAN interface. It is possible also to access the device thorugh an in-band route. This is not desirable due to bandwidth constraints.

Looks like this:

Lan1--R1--wan---R2--Lan--(OOB_IP-NodeX-InBand_IP)--Inband path back to Lan1

Note: NodeX has a interface source route thing happening as well.

NodeX has 2 IP addresses, first is the OOB address on the LAN interface:

OOB_IP address is 10.1.1.1/24

Secound is the InBand_IP internal address:

InBand_IP 192.168.1.1/24

R2 has a static host route:

ip route 192.168.1.1 255.255.255.255 10.1.1.1

This is re-distributed to R1 via ospf.

Packets from Lan1 destined to NodeX can only have a DA of 192.168.1.1. R1 has a host route to this from R2 ospf and all is good out of band.

Question is, is there a feature (like keepalive) where if NodeX's Lan interface dies we can stop R2 from advertizing the static host route it has? This is desirable as R1 has a 24 bit static route that will then enable the inband route for trafic from Lan1 to NodeX to work.

Regards

Joe

PS is there a feature that is not like in the enterprise/SP IOS as this a little OTT.

1 Reply 1

Richard Burts
Hall of Fame
Hall of Fame

Joe

I believe that there is a feature in IOS that does pretty much what you need. It is called reliable static routes with Object Tracking. It checks access to some remote object (like pinging some remote address) and if connectivity to the object is lost then the static route is withdrawn.

This link should get you started with this:

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

HTH

Rick

HTH

Rick
Review Cisco Networking for a $25 gift card