Tracking a default route

From: Bryan Stair <uptown.ccie_at_gmail.com>
Date: Thu, 12 Apr 2012 09:20:31 -0400

Guys,

I have a question surrounding tracking a default route. Scenario states to
configure MHSRP between two routers. Each group will have its active router
selected by highest priority. The both groups should track the availability
of a default route.

Now this sounds like the setup will use track command. However, when you
setup the track command for reachability of default route. It always states
that the route is down?

Is there another feature or command to do this. IP SLA doesn't allow for
default route?

SW3#sh ip r
*Mar 1 00:13:42.479: %SYS-5-CONFIG_I: Configured from console by
consoleoute
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static
route
       o - ODR, P - periodic downloaded static route
Gateway of last resort is 21.21.128.162 to network 0.0.0.0
     21.0.0.0/8 is variably subnetted, 15 subnets, 3 masks
O 21.21.128.128/27 [110/2] via 21.21.128.163, 00:05:27, Vlan32
O 21.21.10.10/32 [110/2] via 21.21.128.163, 00:05:27, Vlan32
O 21.21.8.8/32 [110/2] via 21.21.128.162, 00:05:27, Vlan32
O IA 21.21.7.7/32 [110/13] via 21.21.128.162, 00:03:27, Vlan32
O IA 21.21.3.3/32 [110/66] via 21.21.128.123, 00:03:27, Vlan26
O 21.21.2.2/32 [110/2] via 21.21.128.123, 00:05:27, Vlan26
O IA 21.21.1.1/32 [110/14] via 21.21.128.162, 00:03:28, Vlan32
O IA 21.21.0.0/27 [110/3] via 21.21.128.162, 00:03:28, Vlan32
C 21.21.9.0/24 is directly connected, Loopback0
C 21.21.128.160/27 is directly connected, Vlan32
O IA 21.21.0.32/27 [110/13] via 21.21.128.162, 00:03:28, Vlan32
O 21.21.0.64/27 [110/75] via 21.21.128.123, 00:05:27, Vlan26
O 21.21.0.96/27 [110/75] via 21.21.128.123, 00:05:29, Vlan26
O 21.21.0.128/27 [110/2] via 21.21.128.162, 00:05:29, Vlan32
C 21.21.128.96/27 is directly connected, Vlan26
*O*E2 0.0.0.0/0 [110/1] via 21.21.128.162, 00:04:23, Vlan32*

SW3#sh run | in track
*track 2 ip route 0.0.0.0 0.0.0.0 reachability
 *

SW3#sh track
*Track 2
  IP route 0.0.0.0 0.0.0.0 reachability
  Reachability is Down (no route)
    1 change, last change 00:13:27
  First-hop interface is unknown
  Tracked by:
    HSRP Vlan32 2
*

Blogs and organic groups at http://www.ccie.net
Received on Thu Apr 12 2012 - 09:20:31 ART

This archive was generated by hypermail 2.2.0 : Tue May 01 2012 - 08:20:45 ART