A network administrator is migrating a VLAN gateway infrastructure from VRRP to HSRP version 2 on Cisco IOS routers. Under the previous VRRP setup, Router R1 had its physical interface IP address configured as and served as the VRRP IP address owner by using as the virtual IP address.
During the migration, the administrator enters the following commands on Router R1's GigabitEthernet0/0 interface:
text
RouterR1(config)# interface gigabitethernet 0/0
RouterR1(config-if)# ip address 192.168.10.1 255.255.255.0
RouterR1(config-if)# standby version 2
RouterR1(config-if)# standby 10 ip 192.168.10.1
What is the outcome of executing the `standby 10 ip 192.168.10.1` command on Router R1?
- Cisco IOS rejects using the interface physical IP address as the HSRP virtual IP address, resulting in a configuration error.Answer
- BRouter R1 accepts the command and automatically becomes the Active router with an unalterable priority of .
- CThe router accepts the command and automatically enables HSRP preemption to ensure primary forwarding status.
- DThe command is accepted only if HSRP version 1 is configured instead of HSRP version 2.
Answer
Cisco IOS rejects using the interface physical IP address as the HSRP virtual IP address, resulting in a configuration error.
Unlike VRRP, which allows a router interface to be the IP address owner by assigning its physical IP address as the virtual IP address (which sets its priority automatically to ), Cisco HSRP (both v1 and v2) requires the virtual IP address to be an unused IP address on the IP subnet. Attempting to assign the local interface's physical IP address as the HSRP virtual IP address will be rejected by Cisco IOS.
Step-by-Step Solution
Key Concept
HSRP Virtual IP Address Uniqueness Constraint vs. VRRP IP Address Ownership
Estimated Time:1m 15s