Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Two DHCP servers in same subnet

Posted on 2004-08-14
Medium Priority
Last Modified: 2008-03-10
What will happen if I put 2 DHCP server in the same subnet? If I connect new computer to the network witch DHCP will reply first ?
Question by:AlexC77
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 27

Expert Comment

ID: 11803142
Which one will reply first is a tossup.

If you want to have 2 dhcp servers, make sure their scopes don't overlap.

Accepted Solution

kpmas earned 750 total points
ID: 11803939
You are playing with fire... :)

When a client fires up their computer with a dhcp client, they will send a dhcp request to (broadcast) asking for any available DHCP servers to reply.  The client will get two answers (one from each dhcp server because it can see both) and take the *last* answer it receives.  Causes mass confusion inside a network as you'll have *no* way to control who gets which IP address.

The only method around this is to use MAC authentication where your client mac addresses are filtering against each DHCP server.  If a MAC address exists in the local database, then it will answer and provide an IP.  If it doesn't exist it'll ignore the request.

Why do you want two different dhcp servers in the same subnet anyways if you don't mind me asking?



Expert Comment

ID: 11804014
Define scopes that don't overlap

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Expert Comment

ID: 11804170
That will not work... those scopes are not valid subnet ranges anyways....

The clients will still make a request and besides some of my comments above, you have no way to control which scope each client will go into...

Presuming the question was on how to control who goes into each scope?  Perhaps I misunderstood the actual question..... but then why wouldn't you just make a scope larger than adding a second DHCP server??


Expert Comment

ID: 11804237
It depends. First of all try that their scope to not overlap. If you have a Win 2000 or 2003 domain you simply can't have 2 DHCP servers because only one have the authority to lease address.

Author Comment

ID: 11804584
2 kpmas: The reason why I want 2 DHCP servers is because I have office computers and production computers. I want one DHCP server assign IP addresses to office computers, another DHCP server to production computers. Two different subnets doesnt work in my case, I need all the of computers to be in one subnet. And you are right, mu actual question was how to contol who will take IP from first server and who from second.

2 Robert_Ozone: Of course I will have 2 different scopes, each DHCP server will assign IP different IP's. But from the same subnet. For example 1 DHCP:, 2 DHCP: Subnet mask will be on both of them, so all computers will belong to the same subnet.

Expert Comment

ID: 11804666
Your only option is to VLAN the two DHCP servers from one another on your switch (if your switch is capable of that)...  but it would be much easier to just setup two subnets since if you were to VLAN, you need to setup rules as to what packets are allowed from one VLAN to the other VLAN.

Expert Comment

ID: 11804684
Hi AlexC77...

Is there a particular reason you want to have your office and production computers on the same subnet?  Sorry if I'm harping on this, but if it's a traditional Windows network why not subnet two different sections off which will solve your DHCP requirements?  As long as you have a WINS server somewhere in the network, you could run netbios functions over IP if needed.... a lot of different ways to accomplish this *if* it's possible to split them..

Failing that, the only other solution I can think of is to use Mac authentication on the DHCP servers.  I haven't done this on a Windows DHCP server in quite some time but in Linux DHCP you can permit only certain Mac's to obtain an IP address.  So, add a list of each one and then only those servers can service those clients etc...

Hope this helps..:)


Author Comment

ID: 11804705
Thanks for all your time.

Expert Comment

ID: 12056022
Pl let me know whether You have what domain you have?....Because in Windows 2000 DHCP servermust be authorised by the AD.

Featured Post

Understanding Web Applications

Without even knowing it, most of us are using web applications on a daily basis. Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We often confuse these web applications tools for websites.  So, what is the difference?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
Make the most of your online learning experience.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question