Failover for Static routing

Unanswered Question
Nov 20th, 2009

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3 (1 ratings)
Loading.
Reza Sharifi Fri, 11/20/2009 - 10:40

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 Fri, 11/20/2009 - 11:00

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

Actions

This Discussion

Related Content