06-30-2025 06:47 PM
Hey I'm new here and I had a quick question, I have this practice lab I've been working on and i can't seem to get end devices in my VLANs to get IPs from the DHCP server. I tried everything, checking to make sure routing is enabled (it is), checked that the static IPs are right (I think they are) and I'm stumped.
06-30-2025 06:47 PM
06-30-2025 08:53 PM
Hello,
Can you provide a diagram of how things are connected?
In addition to routing, if our VLANs are on different subnet than the DHCP server you will need to add the helper-address command.
Also make sure the DHCP server can reach all VLAN subnets with a ping/connectivity test.
-David
07-01-2025 06:05 AM
07-01-2025 03:16 AM
As already mentioned by @David Ruess, if the DHCP server is sitting on a different VLAN or a remote site then you need to configure DHCP helper. DHCP helper will act as a relayer. For instance, say if an endpoint in VLAN 10 is trying to get an IP address and the DHCP server happens to be located in VLAN 20, in that case the broadcast traffic sent by the endpoint in VLAN 10 will be converted to unicast traffic by VLAN 10 gateway (could be an SVI on the switch) and sent to the DHCP server. However, this will only work if VLAN 10 gateway has the DHCP server configured as a DHCP helper.
07-01-2025 06:07 AM
07-01-2025 08:17 AM
Where your DHCP server is located on that topology? : D
07-01-2025 12:13 PM
07-01-2025 08:46 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide