An enterprise network administrator is configuring a Cisco IOS router to forward DHCP requests from host clients in VLAN 30 () to a centralized DHCP server located in VLAN 10 at IP address . Host workstations in VLAN 30 connect to the router via subinterface `GigabitEthernet0/0.30`, and the DHCP server resides behind egress interface `GigabitEthernet0/1`. Which command must be configured under subinterface `GigabitEthernet0/0.30` on the router to enable DHCP relay services for the VLAN 30 workstations?
- ip helper-address 10.10.10.50Answer
- Bip helper-address 192.168.30.1
- Cip dhcp relay 10.10.10.50
- Dip helper-address 255.255.255.255
Answer
The command `ip helper-address 10.10.10.50` must be configured under the client-facing subinterface `GigabitEthernet0/0.30`.
Configuring `ip helper-address 10.10.10.50` under the client-facing subinterface (`GigabitEthernet0/0.30`) allows the router to intercept Layer 2 broadcast DHCP DISCOVER packets from host devices in VLAN 30. The router populates the `giaddr` (gateway IP address) field with `192.168.30.1` and converts the broadcast packet into a unicast IPv4 packet targeted directly to the central DHCP server at `10.10.10.50`.
Step-by-Step Solution
Key Concept
DHCP Relay Agent Configuration (`ip helper-address`)