I have the following configuration on some stacked (3 of them) Cisco 3750s.
ip route 10.179.0.0 255.255.0.0 10.191.255.5
ip route 10.179.0.0 255.255.0.0 10.191.255.9 50
ip route 10.191.0.0 255.255.0.0 10.191.255.5
ip route 10.191.0.0 255.255.0.0 10.191.255.9 50
So here you can see we have multiple static routes to the same destinations, and floating statics to an alternate path.
Here is the relevant interface config;
interface GigabitEthernet3/0/25
no switchport
ip address 10.191.255.6 255.255.255.252
no ip redirects
no ip unreachables
no ip proxy-arp
no ip mroute-cache
load-interval 60
end
and
interface GigabitEthernet3/0/26
no switchport
ip address 10.191.255.10 255.255.255.252
no ip redirects
no ip unreachables
no ip proxy-arp
no ip mroute-cache
load-interval 60
end
So in the static routes we are using interface Gi3/0/25 as the primary one and Gi3/0/26 as the backup.
Here is the relevant part of the route table when everything is working ok.
S 10.191.0.0/16 [1/0] via 10.191.255.5
S 10.179.0.0/16 [1/0] via 10.191.255.5
Now, when I shut down Gi3/0/25 look what happens;
S 10.191.0.0/16 [50/0] via 10.191.255.9
S 10.179.0.0/16 [1/0] via 10.191.255.5
The 10.179.0.0/16 network keeps 10.191.255.5 as the next hop in the routing table, even though it is now down. The other route changes as expected and I can still ping devices in the 10.179.0.0 network, and a trace route shows it is using the path through 10.191.255.9.
Switch#ping 10.179.33.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.179.33.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/4/9 ms
Switch#trace 10.179.33.1
Type escape sequence to abort.
Tracing the route to 10.179.33.1
1 10.191.255.9 0 msec 0 msec 0 msec
2 * * *
3 * * *
(Don't worry about the 2nd and 3rd hop time-outs)
So why is the route table using the floating static route to the 10.191.0.0/16 network but not the 10.179.0.0/16 network. As shown i can still ping to devices in 10.179.0.0/16 and a trace shows it uses the right first hop. Seems a bit weird to me...
Thoughts?