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.

Is there a way that DHCP role in Windows Server will be giving a different settings (in this example different primary DNS server) to computers that are a part of Windows domain, and computers that are just standalone workstations?

I think that there should be two different scopes for that, but how to make DHCP server determine what computer goes to what scope?

share|improve this question
add comment

1 Answer

You want two things on different levels.

At the lowest level there is the NIC which has a MAC. You can compare the MAC with a serial number. It does not yield any information on the computer it is in. Not if it is part of a domain; not even which OS it runs or how many other network cards are present in that computer.

This means your basic DHCP server will only know that it:

  1. Got a request for network information.
  2. And from who that request came (based on the MAC).

Without more information it can not do what you want.


What you can do to solve your problem is the following:

  1. Create two different networks. Connect the computer on the domain to one network and the stand-alone computers to the other network. (Either full physical separation, or something more handy using a two different networks/VLAN, a router, ... )
  2. You can reserve a specific IP for a specific MAC. If you make a reservation for each MAC in the domain then you sort-of archieve what you want.


Neither of these are answers I would want to accept as 'the solution' and I hope someone has a better one.

share|improve this answer
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.