Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My home network is as follows: Cable modem for internet, connected to a wireless router, multiple clients connected over the wireless network. My wireless router has a builtin DHCP server that assigns IP addresses to the wireless clients. I know that there is an option to disable this DHCP server on my router config page. After disabling it, is there some way I can run my own DHCP server on one of the machines connected to the router (through a static IP)? The problem I'm facing right now is that the router does not seem to forward packets addressed to, so none of the other clients on the network can see any DHCP Discover packets.

share|improve this question
Why would you want to do this? Why not assign static IP's for your network machines etc? – ianfuture Nov 10 '09 at 8:45
up vote 3 down vote accepted

If your router's stock DHCP server is lacking, consider using a 3rd-party firmware such as OpenWRT, DD-WRT or Tomato (if one is available for your router model; check carefully).

The DHCP server in these firmwares will typically be much more configurable than your router's stock server, particularly if you're comfortable with configuring via the terminal (SSH) interface.

Additionally, if you must run a DHCP server on a separate machine, configuring these firmwares to correctly pass the DHCP requests along may be easier than trying to force your router's stock firmware to do it.

share|improve this answer

Routers split up broadcast domains, which means they do not forward packets addressed to If you want those packets forwarded look into a switch or hub.

share|improve this answer
Note: many WiFi routers routers can be configured to instead act as switches. – CarlF Nov 10 '09 at 0:56
@CarlF: a 4-port WiFi router is actually a controlled 6-port switch with one of internal ports connected to CPU and other to WiFi module, so it always acts as a switch. – whitequark Nov 22 '10 at 18:13

Your best solution might be to just assign a fixed IP address to all your PCs and devices. Most home networks only have like 5, so it's not much of an effort.

share|improve this answer
But when someone comes over with their laptop, it is so much easier to let DHCP just work than it is to try to get them to configure their IP address. – Kevin Panko Dec 17 '09 at 17:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .