cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9234
Views
3
Helpful
2
Replies

Failover for Static routing

chintan-shah
Level 3
Level 3

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

2 Replies 2

Reza Sharifi
Hall of Fame
Hall of Fame

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

Giuseppe Larosa
Hall of Fame
Hall of Fame

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

Review Cisco Networking products for a $25 gift card