Question:
DHCP Server Service over VLAN?
dkx13
2012-02-25 08:08:35 UTC
I have a project for our network subject and I can't seem get the host to get DHCP Service from the server.

VLAN10 = DHCP Server
VLAN20 = Office
VLAN30 = Lab
VLAN40 = Admin
VLAN50 = Faculty

What I want is for hosts VLAN20 to VLAN50 would get DHCP Service from server and not just from the router. Any idea how?

This is Cisco Environment by the way...and I use packet tracer.
Three answers:
Andrew S
2012-02-25 10:29:02 UTC
I've never seen a DHCP server that would back off it it detected another another. Indeed, more than one DHCP server on a subnet is essential if you want redundancy.



However, that isn't your problem. DHCP is fundamentally non-routable because it is dependant on broadcasts that the router will not propagate across subnets. Therefore you'll need to use DHCP relay on the router interconnecting the VLANs, essentially using the router as a proxy to forward the requests to the server. In interface configuration mode for each router interface or subinterface you'll need to do a:



ip helper-address x.x.x.x



where x.x.x.x is the IP address of the DHCP server.
GTB
2012-02-25 08:31:59 UTC
If a server detects another DHCP server on the LAN, it will stop performing DHCP in most all cases.



You need different subnets for each VLAN, which you probably did not assign



You will need a routing table to direct traffic to other subnets if that is desired.



You will need a routing table to directo traffic to internet if that is desired.
?
2016-10-01 14:12:29 UTC
i'm not probably a Cisco guy yet why not configure the DHCP helper on the VLAN's routed port to indicate to the DHCP server. the important element is to confirm the DHCP server is configured to concern the ideal IP address for that VLAN


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...