- Bronze, 100 points or more
Hi every body!
I just want to ask in order for router to determine if it is active hsrp router, it must compare its id with those of others in the group.. That means that every router in hsrp group must send hello to each other at start up.
But this was not the case .
I connected three routers D4,C3, and A20 to switch. a window xp running wireshark is also connectedto switch.
D4 e0 is 220.127.116.11
c3 e0 is 18.104.22.168
A20 e0 is 22.214.171.124
win xp has 126.96.36.199
i attached the file from wireshark .
The first hello was from D4 (188.8.131.52) claiming to be active. How come D4 knows it is active in hsrp though it did not receive any hello to compare its id with others in the group.
One can argue at start up, every router in hsrp group think it is active. But if this were the case, then we don't see any other hellos from C3(184.108.40.206) and A20( 220.127.116.11) claiming to be active at start up in the attachment
Thanks a lot!
I don't have access to my switches at present but i suspect what is happening is -
1) the first router to send out a hello is D4 which has a priority of 200.
2) Because D4 has not heard any hello's from any other router it assumes it is the active router. Note that this is a common step wit a lot of elections eg. DR/BDR, IGMP querier etc.
3) So C3 and A20 now receive a hello from D4 with a priority of 200. Both C3 & A20 have a priority of 100 so they now know they cannot be the active router.
4) Because D4 does not receive a hello back with a higher priority than it's own it carries on assuming it is the active router
What you could do is reconfigure the priority on either C3 or A20 and also configure preemption. Then capture packets and you should see D4 relinquish the role of active router.
Edit - by the way, looks like you now have your own equipment to test with so we all need to be even more on our toes !!