Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I want to setup a Linux DHCP server instead of a router based DHCP. I'm guessing that I will need to turn off the router DHCP, but keep the router as the gateway. I think that the BCAST DHCP requests will reach my server on the local network computers. Does this make sense in theory will it work ?

I'm wondering how does this work with larger networks and VLANS ?

share|improve this question

closed as off-topic by joeqwerty, Falcon Momot, Ward, TomTom, Jenny D Oct 21 '13 at 10:17

This question appears to be off-topic. The users who voted to close gave these specific reasons:

  • "Questions must demonstrate a minimal understanding of the problem being solved. Try including attempted solutions, why they didn't work, and the expected results. See How can I ask better questions on Server Fault? for further guidance." – joeqwerty, Jenny D
  • "Questions must be relevant to professional system administration. Server Fault is a site dedicated to professionals; novice questions are off-topic. Please see the Help Center for more information on topicality. The best advice we can give you is to hire a professional to help you out." – Falcon Momot, Ward, TomTom
If this question can be reworded to fit the rules in the help center, please edit the question.

First learn how DHCP works, then concern yourself with VLANS :) – PnP Oct 19 '13 at 21:44
up vote 1 down vote accepted

The router has to be the gateway. Otherwise you won't be able to get out of your LAN. Create a new DHCP scope, but don't activate it. When it comes time to put it in place, activate it and turn off DHCP from the router. Just make sure your DHCP scope on the server points at the correct DNS servers and that it points to the router for the gateway.

share|improve this answer

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