Cisco CCNA (200-301) free question 3 / 10 · Domain 1: Network Infrastructure and Connectivity
Clients in VLAN 20 get no address. Their DHCP server is in a different subnet, reached through the distribution switch. Where does the guide say to configure ip helper-address so that the client broadcasts reach the server?
- On the DHCP server itself, pointing back at the VLAN 20 network address
- On the Layer 3 interface closest to the DHCP server, which here is the uplink toward the server subnet
- On the Layer 3 interface closest to the client, which here is the VLAN 20 switch virtual interface
- On the access ports that connect the clients, set as switchport mode access in VLAN 20
Show the answer and explanation
Answer: C
Why this is correct
When the DHCP server and the clients are on different networks or subnets, the switch must be configured with the ip helper-address command on an interface. The general rule is to configure the command on the Layer 3 interface closest to the client. A DHCP relay agent is a Layer 3 device that forwards DHCP packets between clients and servers that are not on the same physical subnet.
Why the other options are wrong
"On the Layer 3 interface closest to the DHCP server, which here is the uplink toward the server subnet" … The guide gives the general rule as the Layer 3 interface closest to the client. The client broadcasts must be forwarded where they first reach a Layer 3 device.
"On the access ports that connect the clients, set as switchport mode access in VLAN 20" … Those are Layer 2 ports. The helper address is configured on a Layer 3 interface such as a switch virtual interface.
"On the DHCP server itself, pointing back at the VLAN 20 network address" … The command is configured on the device that has to forward the packets. A server on a different subnet does not receive the client broadcasts without a relay.
Key points
A relay agent receives DHCP messages and generates new messages on its output interfaces. It is not ordinary Layer 2 forwarding, so the first Layer 3 hop from the client carries the helper address.
Go to the Cisco CCNA (200-301) practice app (10 free questions; purchase unlocks all questions)