Clients connected to VLAN 10 successfully receive dynamic IP addresses from a remote server located at 192.168.100.50, but clients on VLAN 20 fail to obtain IP addresses and assign themselves 169.254.x.x addresses.
An engineer inspects the running configuration of router R1:
text
interface GigabitEthernet0/0.10
encapsulation dot1Q 10
ip address 10.10.10.1 255.255.255.0
ip helper-address 192.168.100.50
!
interface GigabitEthernet0/0.20
encapsulation dot1Q 20
ip address 10.10.20.1 255.255.255.0
!
interface GigabitEthernet0/1
description Connection to DHCP Server Subnet
ip address 192.168.100.1 255.255.255.0
ip helper-address 192.168.100.50
Which configuration change on router R1 will restore DHCP functionality for clients on VLAN 20?
- Remove the helper address command from interface GigabitEthernet0/1 and add ip helper-address 192.168.100.50 under subinterface GigabitEthernet0/0.20.Answer
- BAdd ip helper-address 10.10.20.1 under interface GigabitEthernet0/1 to forward server response packets back to the subinterface.
- CConfigure ip helper-address 10.10.20.255 under interface GigabitEthernet0/0 to flood DHCP broadcasts across all subinterfaces.
- DAdd ip helper-address 192.168.100.255 under subinterface GigabitEthernet0/0.20 to broadcast requests across the destination subnet.
Answer
Remove the helper address configuration from interface GigabitEthernet0/1 and configure ip helper-address 192.168.100.50 under subinterface GigabitEthernet0/0.20.
To relay DHCP broadcast requests from clients to a server on a different subnet, the Cisco IOS `ip helper-address <server-ip>` command must be configured on the client-facing layer 3 interface (subinterface GigabitEthernet0/0.20). In the provided scenario, subinterface GigabitEthernet0/0.20 is missing the command, while interface GigabitEthernet0/1 mistakenly has it configured. Moving the command to GigabitEthernet0/0.20 allows R1 to intercept VLAN 20 broadcast DISCOVER messages, insert 10.10.20.1 as the gateway address (GIADDR), and unicast the request to 192.168.100.50.
Step-by-Step Solution
Key Concept
DHCP Relay Agent Configuration and Placement
Estimated Time:1m 30s