An engineer is troubleshooting a first-hop redundancy deployment on a Cisco router interface configured with IPv4 address 192.168.100.1/24. When entering the command `standby 1 ip 192.168.100.1`, the CLI outputs `% HSRP: Bad IP address 192.168.100.1`. However, on a neighboring router running VRRP, assigning the physical interface IP address as the virtual IP address is accepted and functions correctly. What fundamental operational difference between HSRP and VRRP causes this behavioral discrepancy?
- HSRP mandates that the virtual IP address must be unique and cannot match any physical interface IP in the standby group, whereas VRRP supports IP address ownership where the master router physical IP serves as the virtual IP.Cevap
- BHSRP requires the preemption feature to be explicitly enabled before assigning a physical IP address as the virtual IP, whereas VRRP enables preemption by default when IP address ownership is configured.
- CHSRP version 1 only supports virtual IP addresses from private RFC 1918 ranges, whereas VRRP allows both public and private IP addresses to be assigned as virtual router addresses.
- DHSRP reserves the interface physical IP address exclusively for sending HSRP hello multicast traffic to 224.0.0.2, whereas VRRP uses unicast communication between backup routers.
Cevap
HSRP mandates that the virtual IP address must be unique and cannot match any physical interface IP in the standby group, whereas VRRP supports IP address ownership where the master router physical IP serves as the virtual IP.
In HSRP protocol operations, the virtual IP address MUST be distinct from any physical IPv4 address assigned to the interfaces participating in the HSRP group. Attempting to assign the physical interface IP as the HSRP virtual IP results in a CLI validation error (`% HSRP: Bad IP address`). Conversely, VRRP (RFC 3768 / RFC 5798) explicitly permits IP address ownership, allowing the physical interface IP of the master router to function as the virtual gateway IP address (setting the router priority to 255).
Adım Adım Çözüm
Anahtar Kavram
HSRP vs. VRRP Virtual IP Address Ownership and Assignment Rules
Tahmini Süre:1m 30s