cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
879
Views
0
Helpful
4
Replies

HSRP both become active once tracked interface goes down

Hi team,

I was doing a  fail-over testing for several sites for a customer.(dual CE router  setup)

I have two routers 08R & 09R with following HSRP  config.

with this configuration 08R is active & 09R is  secondary.. all good

but when I shutdown the Serial link  on active router(08R). both become active and standby unknown

they  can ping each other, checked ARP table, all good.

also removed  track statement on backup router (09R) but no joy...

put the debug  on

Please  advise.

08R#sh run int f0/0

ip address 10.58.0.29  255.255.255.0

standby 1 ip 10.58.0.30  <---hsrp ip
standby 1  priority 105<------------------- when s0/0/0 down, becomes 95
standby 1 preempt
standby 1 track Serial0/0/0.100

09R#sh run  int f0/0

ip address 10.58.0.31 255.255.255.0

standby 1 ip  10.58.0.30
standby 1 priority 101  <-------
standby 1 preempt

standby 1 track Serial0/1/0:0.100<-----------also tracking its own  serial interface (removed this as its not required but still not  working)

Debug  on 08R

-----------

Jun 25 08:51:33.554 GMT: HSRP: Fa0/0 Grp  1 Hello  out 10.58.0.29 Active  pri 95 vIP 10.58.0.30  <---sending  hellos with lower priority 95, no in pkts
Jun 25 08:51:36.554 GMT:  HSRP: Fa0/0 Grp 1 Hello  out 10.58.0.29 Active  pri 95 vIP 10.58.0.30
Jun  25 08:51:37.978 GMT: HSRP: Fa0/0 Grp 1 Hello  out 10.58.0.29 Active   pri 95 vIP 10.58.0.30

Debug on 09R

--------------------

Jun  25 08:52:00.542 GMT: HSRP: Fa0/0 Grp 1 Hello  out 10.58.0.31 Active   pri 101 vIP 10.58.0.30
Jun 25 08:52:00.542 GMT: HSRP: Fa0/0 Grp 1  Hello  in  10.58.0.29 Active  pri 95 vIP 10.58.0.30
Jun 25  08:52:00.542 GMT: HSRP: Fa0/0 Grp 1 Coup   out 10.58.0.31 Active  pri  101 vIP 10.58.0.30
Jun 25 08:52:00.542 GMT: HSRP: Fa0/0 Grp 1 Hello   out 10.58.0.31 Active  pri 101 vIP 10.58.0.30
Jun 25 08:52:03.542  GMT: HSRP: Fa0/0 Grp 1 Hello  out 10.58.0.31 Active  pri 101 vIP  10.58.0.30
Jun 25 08:52:03.542 GMT: HSRP: Fa0/0 Grp 1 Hello  in   10.58.0.29 Active  pri 95 vIP 10.58.0.30
Jun 25 08:52:03.542 GMT:  HSRP: Fa0/0 Grp 1 Coup   out 10.58.0.31 Active  pri 101 vIP 10.58.0.30
Jun  25 08:52:03.542 GMT: HSRP: Fa0/0 Grp 1 Hello  out 10.58.0.31 Active   pri 101 vIP 10.58.0.30

4 Replies 4

nqtran1979
Level 1
Level 1

Doesn't look like device '08R' is recieving any hello's from '09R'

that's why they are both showing as active.

i would check the physical connection between the two routers ... plus any ACL's

Remember the hello's are multicast packets so check if multicast is being filtered.

hope that helps,

N

1.They both work fine when the tracked interface Serial0/0/0 is up on 08R. (means 08R is active and 09R is standby)

--------------------------

8R#sh stand brief
                   P indicates configured to preempt.
                   |
Interface Grp  Pri P State   Active          Standby         Virtual IP
Fa0/0     1    105 P Active  local           10.58.0.31      10.58.0.30 <------when 08R s0/0/0 is up up (s0/0/0 tracked)

2. when you shutdown the S0/0/0 , 08R becomes standby for a minute then both become active and standby is unknown.

---------------

08R# sh stand brief 
                   P indicates configured to preempt.
                   |
Interface Grp  Pri P State   Active          Standby         Virtual IP
Fa0/0     1    95  P Active  local           unknown         10.58.0.30      <--------when 08R s0/0/0 admin down

If its due to ACLs they wont speak in first place so we can ignore this option?

Please advise

I assume that this routers connected on two different switches.Can you verify that they have L2 working connection between the switches.

Thanks

Layer 2 working fine(thats why they recognise each other's HSRP role(primary/secondary). all goes wrong after 1 minute from I shutdown tracked interface.

"standy use-bia" fixed the issue. but still dont understand what was the problem.

what causing HSRP to behave this way?(Layer 2 and layer connectivity there: arp table is ok, ping is fine between them via LAN. connected to same switch, does it matter if they connected to different switches?)

any thoughts?

Review Cisco Networking products for a $25 gift card