11-20-2009 10:21 AM - edited 03-06-2019 08:39 AM
I'have VLAN 10 configured with 10.15.0.254/24, VLAN 11 with 10.15.1.254/24 , and use static route for ip address w.x.y.z with GW 10.15.0.11.
Now if 10.15.0.11 is down , I should have route to 10.15.1.11 as GW.
But even if interface 10.15.0.11 is down - i still see route for the same as /24 since VLAN 10 is up. How do i remove route pointing to 10.15.0.11 and install one having GW - 10.15.1.11 ?
Rgds,
CS
11-20-2009 10:40 AM
CS,
You need to configure floating static route for your back up connection.
So give your back up connection a higher AD
example:
ip route 172.31.10.0 255.255.255.0 10.15.0.11
ip route 172.31.10.0 255.255.255.0 10.15.1.11 254
HTH
Reza
11-20-2009 11:00 AM
Hello Chintan,
you should use reliable static routing so that the device can detect next-hop failure of primary static route
see
http://www.cisco.com/en/US/docs/ios/12_3/12_3x/12_3xe/feature/guide/dbackupx.html
http://www.cisco.com/en/US/docs/ios/12_3/12_3x/12_3xe/feature/guide/dbackupx.html#wp1071672
you need to configure a probe to check IP reachability of IP next hop of primary route.
How to do this is IOS version dependent follow the document.
if this is a multilayer switch the L3 interface Vlan 10 is up until at least one interface is in STP forwarding state for vlan 10.
This is called autostate.
Hope to help
Giuseppe
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide