You are connected to SW1, a multilayer switch. Configure DHCP snooping and an IP helper-address so that clients in VLAN 20 receive IP addresses from the DHCP server at 10.0.0.2. The DHCP server is already configured with a pool for 192.168.20.0/24, but clients are not getting addresses. Identify and correct the issues in the current configuration.
Hints
- •Check the helper-address on VLAN 20 — is it pointing to the correct server IP?
- •DHCP snooping must be enabled globally and for the specific VLAN.
- •The port towards the DHCP server must be configured as trusted.
! SW1 configure terminal ip dhcp snooping ip dhcp snooping vlan 20 interface gigabitethernet0/0 ip dhcp snooping trust interface vlan20 no ip helper-address 10.0.0.3 ip helper-address 10.0.0.2 end write memory
Why this answer
The DHCP relay helper-address was pointing to 10.0.0.3 instead of the actual server at 10.0.0.2. Also, DHCP snooping was not enabled. After enabling DHCP snooping globally and on VLAN 20, configure the uplink to the DHCP server as a trusted port (G0/0) and the access port (G0/1) as untrusted (default).
Finally, correct the helper-address to 10.0.0.2. These steps allow DHCP broadcasts from VLAN 20 to be relayed to the server and prevent rogue DHCP attacks.
Exam trap
A common trap is to trust all ports or to forget that the ip helper-address must match the actual DHCP server IP. Also, candidates may confuse which port should be trusted: only the port facing the legitimate DHCP server should be trusted, not client-facing ports.
Why the other options are wrong
The specific factual error is that the access port (G0/1) should be untrusted, not trusted. Only the uplink port to the legitimate DHCP server should be trusted.
The specific factual error is that the ip helper-address must be set to the actual DHCP server IP (10.0.0.2), not 10.0.0.3.
The specific factual error is that only the uplink port (G0/0) should be trusted; trusting the access port (G0/1) allows any device connected to that port to act as a DHCP server.
Why candidates pick the wrong answer
Candidates might think that because the access port connects to clients, it needs to be trusted to receive DHCP requests, but DHCP snooping trusts only ports that receive DHCP server messages, not client messages.
Candidates might misread the question or assume the existing helper-address is correct, especially if they overlook the server IP given in the stem.
Candidates might think that trusting all ports simplifies configuration or that both ports need to be trusted for DHCP to work, but this ignores the security purpose of DHCP snooping.