How to suppress static route distribution when next hop Lan int is down?
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:
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.
PS is there a feature that is not like in the enterprise/SP IOS as this a little OTT.
Re: How to suppress static route distribution when next hop Lan
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.
We are pleased to announce availability of Beta software for 16.6.3. 16.6.3 will be the second rebuild on the 16.6 release train targeted towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are looking for early feedback from custome...