Work along the path. Check the VLAN exists on every switch involved and that the access ports are assigned to it. Check it is allowed on every trunk between the access switch and the gateway, because pruned trunks are a common miss. Check the gateway interface for the VLAN exists, is up and has the right address. Then check the DHCP relay on that interface, the scope on the server, and any firewall or access list in between.
Why interviewers ask this
This is a very common real-world fault, and it tests whether you can follow a frame from an access port through the trunks to the gateway and on to a central DHCP server. The interviewer wants a methodical path check rather than restarting things. Knowing that a VLAN missing from a trunk's allowed list, or a missing relay address, is the usual cause shows that you have done the job before.
How to structure your answer
- Confirm the VLAN exists and the access ports are assigned.
- Check that every trunk carries the VLAN.
- Check the gateway interface is up and addressed.
- Check the DHCP relay, scope and filtering.
Example answer
I follow the path from the device to the gateway, then on to the DHCP server. First, on the access switch, does the VLAN exist and are the ports actually assigned to it? A typo in the VLAN number happens more often than anyone admits. Then every trunk between the access switch and the gateway. If trunks use an allowed VLAN list, which they should, the new VLAN must be added on each one, and missing a single uplink breaks everything beyond it. Next, the gateway. On a layer three switch, the virtual interface for the VLAN must exist, have the right address and mask, and be up. Many platforms keep it down until at least one port in that VLAN is active, which is a useful clue. If a device with a static address can reach the gateway but DHCP fails, I check the relay is configured on that interface and points at the right servers, that a scope exists for the new subnet, and that no firewall or access list is blocking DHCP. Finally, I check the new subnet is advertised in routing, so return traffic can find it.
Walking into this interview soon? GhostPilot listens to your live call, spots the question the moment it is asked, and puts a structured answer on your screen in real time. Try it on your next mock, or grab a $29 Session Pass, no subscription, for the real thing.
See how it worksFollow-up questions to expect
- Why might the VLAN interface on a layer three switch stay down?
- How would you confirm DHCP requests are reaching the server?
- What would you include in a checklist for adding VLANs in future?
Related network engineer questions
Your interviewer will ask their own version of this. Paste your actual job description into the free Question Predictor and get the 20 questions that role is most likely to ask, with what each one is really probing.
Predict my questions