An enterprise network uses a centralized DHCP server located at IP address in VLAN 10. Clients in VLAN 20 () are connected to a router via subinterface `GigabitEthernet0/0.20` (), while the DHCP server connects to subinterface `GigabitEthernet0/0.10` (). Hosts in VLAN 20 are currently unable to acquire IP addresses dynamically. Which configuration command must be applied under the `GigabitEthernet0/0.20` interface to forward DHCP broadcasts from VLAN 20 hosts to the central DHCP server?
- ip helper-address 172.16.10.100Answer
- Bip helper-address 172.16.10.100 under interface GigabitEthernet0/0.10
- Cip helper-address 255.255.255.255
- Dip helper-address 172.16.20.1
Answer
The command `ip helper-address 172.16.10.100` configured under interface `GigabitEthernet0/0.20` correctly enables the DHCP relay functionality.
To relay DHCP messages from hosts on a local subnet to a remote DHCP server, the `ip helper-address <DHCP-Server-IP>` command must be configured on the router interface (or subinterface) that acts as the default gateway for those clients. When configured on `GigabitEthernet0/0.20`, the router listens for incoming UDP port 67 broadcast messages from VLAN 20 clients, places its own interface IP () into the `giaddr` (Gateway IP Address) field of the packet, and unicasts the request directly to the DHCP server at .
Step-by-Step Solution
Key Concept
DHCP Relay Agent Interface Placement and Configuration
Estimated Time:1m 15s