3

I want to know if there is an option to have two DHCP servers with one pool. The reason for this unorthodox is, I have two router in remote locations on the same LAN (10.0.0.0) And sometimes, the main router is down, and I cannot reboot it for sometime. But I want to be able to still use the network with the router that is up but not running DHCP and therefore new devices cannot join in. I can't create two lans because one of my routers does not support WAN. Thank you :-)

3

Yes, you can do this if you do it properly and your devices allow it.

For the DHCP, what I would normally do to avoid problems is use a larger then necessary subnet, such as a /23 when you only need a /24. Then you assign half of the network to one device's scope, and the other half to the second device. This way there is no overlap between the IP addresses managed by the two DHCP servers.

However the trick you haven't mentioned is what happens when the main router goes down but is configured as the default gateway for most devices. Without something like VRRP or HSRP to share an IP address between your two routers, this becomes a challenge.

1
  • so, on to a static ip from now on. thank for the explanation
    – dj_boy
    Aug 29 '14 at 21:52
3

Not unless you want address overlaps. While everything is connected, ping's from each server should verify the validity of the address it's handing out, but as soon as the networks are isolated, each server is very likely to be handing out the same address. And the clients using the "remote" DHCP server will likely lose their address (as they'll have to bind to the other server.)

TL;DR; You're asking for a mess.

1
  • so, The only solution would be to use two LANs with a WAN?
    – dj_boy
    Aug 29 '14 at 21:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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