A network engineer is configuring first-hop redundancy for VLAN 20 on two Cisco IOS routers, R1 and R2. Interface GigabitEthernet0/0 on R1 is assigned IPv4 address 10.20.0.2/24, and GigabitEthernet0/0 on R2 is assigned 10.20.0.3/24. The engineer attempts to configure HSRP group 20 on R1 using the command `standby 20 ip 10.20.0.2`. The Cisco IOS CLI rejects the command with an error message. However, when configuring VRRP using `vrrp 20 ip 10.20.0.2`, the command is accepted successfully. What fundamental operational difference between HSRP and VRRP causes this behavior?
- VRRP permits the virtual IP address to match the physical IP address of a router interface, appointing that router as the IP address owner with a default priority of 255, whereas HSRP strictly prohibits assigning any router's physical IP address as the virtual IP.Cevap
- BHSRP requires the virtual IP address to be identical to the active router's physical interface IP address, whereas VRRP requires a separate IP address outside the interface subnet range.
- CHSRP requires preemption to be explicitly enabled before a virtual IP address can be specified under the interface configuration, whereas VRRP automatically enables preemption by default.
- DVRRP uses a dedicated multicast group address to resolve physical-to-virtual IP mapping conflicts, whereas HSRP relies on broadcast traffic that prevents physical IP reuse.
Cevap
VRRP permits the virtual IP address to match the physical IP address of a router interface, appointing that router as the IP address owner with a default priority of 255, whereas HSRP strictly prohibits assigning any router's physical IP address as the virtual IP.
In Cisco IOS, HSRP mandates that the virtual IP address must be a unique IP address on the subnet and cannot be identical to any physical IP address configured on a router's interface. In contrast, VRRP allows the virtual IP address to match the interface physical IP address; the router whose physical IP matches the VRRP group virtual IP assumes the role of Master with an unalterable priority of 255 (IP address owner).
Adım Adım Çözüm
Anahtar Kavram
HSRP vs VRRP Virtual IP Address Assignment and IP Address Ownership