Assign IP based on domain name

create share 676 Reputation points
2021-10-12T10:46:19.88+00:00

Hi,

Is it possible to configure Windows DHCP Server to assign IP addresses only to domain-connected pcs?

Thanks.

Windows for business Windows Client for IT Pros Directory services Active Directory
Windows for business Windows Client for IT Pros Networking Network connectivity and file sharing
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2021-10-12T12:52:57.63+00:00

    Maybe define some policies.
    https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/dn425039(v=ws.11)

    --please don't forget to upvote and Accept as answer if the reply is helpful--


4 additional answers

Sort by: Most helpful
  1. Limitless Technology 39,916 Reputation points
    2021-10-13T08:32:20.91+00:00

    Hi there,

    Yes, it is possible by creating policies.
    ]The Dynamic Host Configuration Protocol (DHCP) server role in Windows Server 2012 introduced a new policy-based IP address assignment feature. Policy-based assignment (PBA) allows an administrator to group DHCP clients by specific attributes based on fields contained in the DHCP client request packet.

    Step-by-Step: Configure DHCP Using Policy-based Assignment
    https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/hh831538(v=ws.11)

    ------------------------------------------------------------------------------------------------------------------------------------

    If the reply is helpful, please Upvote and Accept it as an answer

    0 comments No comments

  2. create share 676 Reputation points
    2021-10-15T00:33:57.407+00:00

    Ok, thanks. I will try to configure and revert.


  3. create share 676 Reputation points
    2021-10-17T11:17:52.037+00:00

    Getting

    404 - Page not found

    after opening the below link.

    https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/dn425039(v=ws.11


  4. create share 676 Reputation points
    2021-10-19T00:18:16.623+00:00

    Hi,

    Thanks for your help.

    I believe it is not possible to let the DHCP Server check if the client requesting the address is already connected to the domain or not because the client needs to get the IP address first to send the network information? So, the best option is to use a Mac Address-based policy.

    Right?

    Thanks.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.