A network technician is configuring Hot Standby Router Protocol (HSRP) on Router R1 to provide default gateway redundancy for hosts in VLAN 20. Interface GigabitEthernet0/0/1 on R1 has been assigned the IPv4 address . The technician enters the following commands in interface configuration mode:
text
R1(config-if)# ip address 172.16.20.1 255.255.255.0
R1(config-if)# standby 20 ip 172.16.20.1
Which statement accurately describes the outcome of executing these configuration commands?
- Cisco IOS rejects the virtual IP configuration because HSRP does not allow the virtual IP address to match a physical interface IP address on any participating router.Answer
- BThe router accepts the command and automatically enables HSRP preemption to ensure Router R1 becomes the permanent Active router for group 20.
- CCisco IOS accepts the configuration and assigns Router R1 a default HSRP priority of 255 because it acts as the IP address owner for the standby group.
- DThe router accepts the virtual IP address, but HSRP stays permanently in the Listen state until a secondary standby IP address is defined.
Answer
Cisco IOS rejects the virtual IP configuration because HSRP does not allow the virtual IP address to match a physical interface IP address on any participating router.
In Cisco IOS Hot Standby Router Protocol (HSRP), the virtual IP address must be a unique, unassigned IPv4 address within the same IP subnet as the participating router interfaces. Cisco IOS will generate an error and reject any attempt to configure the virtual IP address to be identical to a physical interface IP address. Therefore, the statement noting that Cisco IOS rejects the configuration because HSRP does not allow matching physical IP addresses is correct.
Step-by-Step Solution
Key Concept
HSRP Virtual IP Address Assignment Restrictions
Estimated Time:1m 15s