DHCP Relay with ip helper-address for VLAN 10
Refer to the exhibit. The DHCP server is configured with a DHCP pool for each of the subnets represented. Which command must be configured on switch SW1 to allow DHCP clients on VLAN 10 to receive dynamic IP addresses from the DHCP server?
Community Insight
The question tests DHCP relay: ip helper-address must reference the DHCP server itself, and the common trap is confusing the server's address (192.168.20.2) with the subnet's default gateway (192.168.20.1) or with the local VLAN 10 SVI (192.168.10.x).
DHCP clients on VLAN 10 sit in a different broadcast domain from the DHCP server, so SW1 must act as a relay agent and forward BOOTP/DHCP requests with the ip helper-address command configured on the VLAN 10 SVI. The correct helper address is the DHCP server's own interface address, 192.168.20.2, not the VLAN 20 gateway address.
Option D (ip helper-address 192.168.10.2) is the most frequent wrong pick, especially from learners reasoning that "VLAN 10 clients need a VLAN 10 address." 192.168.10.2 is inside the clients' own subnet, so there is nothing to relay — a local server on the same subnet is reached by broadcast without a helper address at all.
Community Discussion (15 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Clients in VLAN 10 send DHCP Discover as a limited broadcast, which routers do not forward, so SW1 must relay the request to a DHCP server on another network. The ip helper-address parameter is the unicast address of the DHCP server itself — and on this topology the server reachable in the 192.168.20.0/24 network is 192.168.20.2. The command is applied on the interface (the VLAN 10 SVI, SW1's gateway for that VLAN) facing the clients, and the relayed Discover lets the server issue a lease from its Net10 pool while the offer returns with a 192.168.10.x address to the client. This matches option C.
Why the Other Options Are Wrong
192.168.20.1 (B) is the gateway/first usable address of the server subnet, not the DHCP server's address, so relayed requests would be sent to a device that cannot answer DHCP. 192.168.10.1 (A) is a local VLAN 10 address — a helper address that points back into the clients' own broadcast domain is pointless and provides no relay function. 192.168.10.2 (D) is in the clients' own subnet; as oatmealturkey noted, "if we only needed 192.168.10.2 for DHCP for VLAN 10, then we would not need an IP helper address," because a same-subnet server is discovered by broadcast directly.
Community Comment Notes
Most commenters converged on C, with Rynurr and Da_Costa both pointing to "192.168.20.2" as the server interface used as the helper address. oatmealturkey captured the core concept by warning learners that they are "thinking of the default gateway" instead of the DHCP server, and matass_md revised an initial wrong reading of the exhibit, concluding "our SW is the DG to our PC, we put there the IP helper then it sends it to another network." The dissenting votes for D (from Muziaws and sdmejia01) rest on the intuition that VLAN 10 clients need a VLAN 10 address, which confuses the leased address with the relay target.
Official Reference
Exam Strategy
On any DHCP relay question, first separate the three addresses in play: the clients' gateway (VLAN 10 SVI), the server's own address, and the server subnet's gateway. ip helper-address always takes the server's address, configured on the client-facing interface; if a server existed in the same subnet as the clients, no helper address would be required at all.
Frequently Asked Questions
Why can't the ip helper-address be 192.168.10.2 for VLAN 10 clients?
192.168.10.2 is in the clients' own subnet, so no relay is needed or possible — a same-subnet DHCP server is reached by broadcast. The helper address must be the remote DHCP server, 192.168.20.2.
Why is 192.168.20.1 wrong instead of 192.168.20.2?
192.168.20.1 is the gateway address of the server subnet, not the DHCP server itself. ip helper-address must point to the unicast address of the device that actually answers DHCP requests.
Related Analysis
Practice All 200-301 Questions
Access 220 questions with complete answers and detailed explanations.
View Full 200-301 Practice Test →