Forum Discussion

Hamza_Rasheed's avatar
Hamza_Rasheed
Copper Contributor
May 06, 2021

DHCP server should not assign IP if user has not joined the Domain.

Hello Experts,

I have a windows server 2016 and I've configured  Active Directory and DNS and Hyper-v on it.

In that physical server, I have created a VM which is another windows server and I made it my DHCP.

There is a switch between the physical server and the client.

The client is connected to the switch and our traffic is going to AD, DHCP, and DNS via a switch.

Need Solution

 Now, I want my DHCP to not assign IP if a user has not joined the domain.

Requirement

I want my DHCP to assign IP to the client only if the user that is requesting IP from DHCP, that has joined the domain.

1 Reply

  • Reza_Ameri's avatar
    Reza_Ameri
    Silver Contributor
    Why do you want this functionality?
    Is it like to make sure only domain-joined devices would have access to the network?
    Take a look at the following scenario and see if that answer your question?
    https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh831538(v=ws.11)

Resources