03-24-2009 10:35 AM - edited 03-06-2019 04:47 AM
Hi
I have a client configs that currently working with HSRP on 2 LAN gateway switches.
Differently interface VLans have been configured on these switches.
Now, what strikes me is that all the interface Vlans on these gateway switches have been configured for the same HSRP groups thpough the ip addresses pairs are in different subnets
What could be the possible drawback on this???
Solved! Go to Solution.
03-24-2009 11:35 AM
Hi:
The formulation of an HSRP virtual MAC-address, which corresponds to the virtual IP address of an HSRP group, is a function of the group number.
The template is 0000.0c07.acXX, where "XX" represents the two hexadecimal digits that represent the group number.
So, if under vlan 10's SVI you have "standby 100" configured, the virtual MAC-address will be "0000.0c07.ac64." The hexadecimal equivalent of decimal 100 is 64.
This is what is meant when the Cisco website says that "they share the same HSRP virtual MAC address" when referring to multiple vlan interfaces with the same standby group assigned to it.
Given that, it is true that if you configure vlan 11, 12, 13, 14 and so on with the same group number, the same virtual MAC-address will be used.
This does not cause a problem, even though the same MAC-address is going to be returned in an ARP response for every group that uses the same group number, because the ARP query and response are bound by the L2 broadcast domain of the vlan. So, too, are all L2 communications within the vlan.
Therefore, when a host on a given vlan inserts MAC-address 0000.0c07.ac64 as the destination host address, it will only be forwarded to the standby address of that vlan because MAC-addresses only have significance within the vlan.
HTH
Victor
03-24-2009 10:42 AM
When you define the same HSRP group ID on multiple interfaces, they share the same HSRP virtual MAC address. In most modern LAN switches, there are no issues because they maintain a per-VLAN MAC address table. However, if your network contains any third-party switches, which maintain a system wide MAC address table regardless of VLAN, you can experience problems. If VLANs are not specified to a HSRP group, the VLANs default to Group
source:
http://www.cisco.com/en/US/products/hw/switches/ps700/products_qanda_item09186a008011c6bb.shtml#q5
03-24-2009 11:35 AM
Hi:
The formulation of an HSRP virtual MAC-address, which corresponds to the virtual IP address of an HSRP group, is a function of the group number.
The template is 0000.0c07.acXX, where "XX" represents the two hexadecimal digits that represent the group number.
So, if under vlan 10's SVI you have "standby 100" configured, the virtual MAC-address will be "0000.0c07.ac64." The hexadecimal equivalent of decimal 100 is 64.
This is what is meant when the Cisco website says that "they share the same HSRP virtual MAC address" when referring to multiple vlan interfaces with the same standby group assigned to it.
Given that, it is true that if you configure vlan 11, 12, 13, 14 and so on with the same group number, the same virtual MAC-address will be used.
This does not cause a problem, even though the same MAC-address is going to be returned in an ARP response for every group that uses the same group number, because the ARP query and response are bound by the L2 broadcast domain of the vlan. So, too, are all L2 communications within the vlan.
Therefore, when a host on a given vlan inserts MAC-address 0000.0c07.ac64 as the destination host address, it will only be forwarded to the standby address of that vlan because MAC-addresses only have significance within the vlan.
HTH
Victor
03-24-2009 12:09 PM
Victor
Being serious for once this is an excellent answer and deserves a rating.
Now the only question is should i rate it 1 or 5 ? - hmmmm
Jon
03-24-2009 01:09 PM
You;re a regular riot, there, buddy! ...lol
Thanks
03-24-2009 01:17 PM
Seriously though it was meant as a compliment.
03-24-2009 03:23 PM
I know....its all good. :-)
03-24-2009 03:44 PM
Just a footnote, you can have more than one subnet per shared media (or VLAN), altough not as common today because of VLANs.
Having duplicate MACs, whether reusing HSRP groups or using hosts with LAA, is something you should avoid.
05-16-2024 07:07 AM
I know that it's an old topic. But I would like to go a little bit further.
Two SVI with the same HSRP groups will have the same HSRP MAC. Ok.
If the active HSRP address from one vlan were to go down and transfer to the other peer.
Would the other vlan with the same group would also transfer?
Or the HSRP process is isolate to the Vlan?
Thank you
05-16-2024 07:11 AM
make new post it better
MHM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide