NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
SCGSGAog
Apr 07, 2016Aspirant
DHCP Relay with VMWare DHCP Server
We have a Virtual DHCP server and I'm trying to configure the DHCP Relay on our L3 switch so all VLANs can get an IP Address but cant seem to get it to work. Any advise would be great.
SCGSGAog
Apr 07, 2016Aspirant
Wanted to expand on my configuration but dont seem to be able to edit my original post, hence the reply. Anyway:
DHCP Server (VM)
1 Virtual NIC (10.0.0.1)
3 Scopes for each VLAN:
VLAN1 = 10.0.0.0/255.255.240.0
VLAN2 = 192.168.1.0/255.255.255.0
VLAN3 = 192.168.2.0/255.255.255.0
L3 Switch
Ports 1,2 connects to the Host that has the DHCP VM
Port 48 connects to L2 Switch
L2 Switch
Port 1 connects to Wireless AP
Port 24 connects to L3 Switch
Wireles AP
Connects to L2 Switch
2 WLAN created with 1 on VLAN2 and the other on VLAN3
Assuming the above what needs to be done to enable a computer on the WLAN to get an IP from the DHCP server in the appropriate scope?
- DaneAApr 07, 2016NETGEAR Employee Retired
Hi SCGSGAog,
Welcome to the community! :)
I have not yet encountered to set a DHCP Relay using a VMware DHCP server with the L3 switch. However, let me share this article below and this might help as reference guide:
How do I configure a DHCP L3 relay using the web interface on my managed switch?
Also, here below are the forum links I have found online and these might help as well:
DHCP Relay Netgear managed switches (The GUI method)
Netgear GSM7224v2: Help with DHCP Relay!
Also, what specific model of NETGEAR L3/L2 switch/es are you using? Kindly indicate the current firmware version of the switch/es.
Regards,
DaneA
NETGEAR Community Team
- SCGSGAogApr 08, 2016Aspirant
Hi,
Thank you.
I've seen those sites before and have based my configuration on them however in regards to the Netgear Howto, the physical configuration is of a physical (from what I can see) dhcp server that is directly connected to the switch (on port 4 with an IP of 10.100.1.1). Our dhcp server is not directly connected as its a virtual server, that being the case there are other virtual servers that will be connecting to the sames port on the L3 switch. Additionally as the APs are connected indirectly via other switches I'm not exactly sure how I would assign IPs to ports.
I have enabled DHCP Relay, DHCP L2 Relay, UDP Relay and I've even configured VLAN Routing (i.e. assigned an IP to VLAN2). After configuring VLAN Routing, I noticed that under DHCP Relay>DHCP Status>Requests Relayed showed that there were requests relayed (previously none) but laptop still not getting IP.
At the moment I think that potentially requests are being relayed from VLAN2 to VLAN1 (to the DHCP server) but I'm not sure if the reverse is working i.e. VLAN1 to VLAN2 (reply from DHCP server).
Currently the VLAN setup on the switches are as follows:
L3 Switch
Port 1 & 2 = VLAN1 Untagged, VLAN2 Tagged, VLAN3 Tagged
Port 48 = VLAN1 Untagged, VLAN2 Tagged, VLAN3 Tagged
L2 Switch
Port 1 = VLAN1 Untagged, VLAN2 Tagged, VLAN3 Tagged
Port 24 = VLAN1 Untagged, VLAN2 Tagged, VLAN3 Tagged
The switches we have are: GSM7352S and GS724TP.
Please note that if i statically assign the laptop with a 192 IP, I can ping a VM that is on VLAN2 and vice versa.
- SCGSGAogApr 08, 2016Aspirant
I managed to get the DHCP Relay to work by setting the default gateway of the dhcp server to the switch.
This seems to be working as long as VLAN Routing is configured. Is there anyway to control access to this i.e. once the client is issued an ip, if the gateway is the switch then the client seems to have unrestricted access to the dhcp server. Is there anyway for the client to be issued with an ip address but have no access to the other subnet/DHCP server?
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!