Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 255.255.255.255, so none of the other clients on the network can see any DHCP Discover packets.

share|improve this question
1  
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
add comment

3 Answers 3

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
add comment

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

share|improve this answer
1  
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
add comment

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.