RE: HSRP Object tracking

From: ccie2be (ccie2be@nyc.rr.com)
Date: Fri Jun 24 2005 - 17:22:04 GMT-3


George,

I'd take it one step farther.

Unless you've verified it, assume something is wrong.

Tim

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
George Cassels (gcassels)
Sent: Friday, June 24, 2005 3:42 PM
To: ccielab@groupstudy.com
Subject: HSRP Object tracking

I was working on a lab today that had me do HSRP between Router 5 and
Router 6. The task wanted it where if the loopback 0 address from
Router 1 disappeared from the route table on R6, R5 should take over as
the active router. I did up my config and almost had victory disease,
but decided I better test it. I shut the loopback on R1 and the HSRP
did not fail over. I did a show stand on Router 6 and saw where the
object tracking had worked and decremented my priority by 15 like I
wanted but R6 still showed active. Then it hit me you have to put the
preempt command on both R5 and R6 (originally only had it on R6). R6
needs it so if the route shows back up in the routing table it can take
over as the active router, but also on R5 so if the route disappears
from R6s routing table and the priority decrements R5 can take over.

Note to self always test your configs!!!!

Here are my configs

Router 5

interface FastEthernet0/0
 ip address 172.31.200.5 255.255.255.128
 ip ospf authentication
 ip ospf authentication-key 1 ccie
 duplex auto
 speed auto
 standby 1 ip 172.31.200.1
 standby 1 preempt

Router 6

track 1 ip route 210.1.1.1 255.255.255.255 reachability
!
interface FastEthernet0/0
 ip address 172.31.200.6 255.255.255.128
 ip ospf authentication
 ip ospf authentication-key 1 ccie
 duplex half
 standby 1 ip 172.31.200.1
 standby 1 priority 110
 standby 1 preempt
 standby 1 track 1 decrement 15

George



This archive was generated by hypermail 2.1.4 : Wed Jul 06 2005 - 14:43:43 GMT-3