I have a D-Link DGL-4500 and I've been using that for a long time as my DHCP server. I now have a Windows Server 2008 R2 machine plugged into it and I have set it up as a DHCP server.
I don't have 2 NICs on my server machine, so I still wanted to use my router as the main hub where all of my machines connect. The only thing I don't want the router to be anymore is the DHCP server, but I still enjoy it as a firewall.
Is there a way I can use plain old port forwarding or something similar in my router to forward DHCP requests from computers connected to it to my Windows server? My router doesn't have a "DHCP Relay" feature that I can see, I only have the ability to turn the DHCP server on my router on or off.
Help is greatly appreciated!
If the NAT router and the DHCP server are both on the same LAN, just turn off the DHCP functionality on the NAT router. The DHCP server will then take over for the LAN.
Why not just turn off DHCP on the router and set the appropriate options in the Windows DHCP server?
In the Windows DHCP scope, set the gateway as your router and also DNS if you want.
As far as I know it is impossible to route broadcast IP packets. And DHCP requests are broadcasts.
But if the server is in the same network then you can just disable the DHCP on the router and enable it on the server. This works because all machines in the network will receive the broadcast and answer accordingly (or not if they are no DHCP server).