Guidance on usage: DHCP Server on Windows Server 2016 Datacenter

Configuration and connection to the DHCP Server on Windows Server 2016 Datacenter

For the connection to the server, you should know the IP address of the VM. You can find it in the personal account of Azure. (You need to select the virtual machine from the list. By clicking the item “Overview”, your IP is displayed in the line “Public IP Address”).

For the VM to work, you need to open UDP ports (67, 68) in the network properties in Azure Firewall.

  1. To connect to the virtual machine, run the “Remote Desktop Connection” shortcut “Win + R”

In the window that appears, enter “mstsc” and click “OK”.

  1. In the window that appears, enter the IP of the virtual machine and click “Connect”.
  1. In the window that appears, enter your username and password and click “OK”.
  2. Check the box and click “Yes”.
  1. Run the DHCP shortcut on the Windows desktop. 
  1. As you can see in DHCP, the only server is “dhcp-win2022-dc.”:
  1. Expand the server by clicking on LMB and on IPv4 click RMB and select “New Scope” from the context menu.
  1. Enter “Name” and “Description” and click Next. Now you should configure the range of IP addresses. An example is further:
  1. In the next step, you can specify the range of IP addresses that will be excluded from the issuance.
  1. Then it is necessary to specify the lease term for the domain addresses issued by this server and click “Next”.
  1. Then click “Next”.
  1. At the next stage, you need to specify the gateway address that will be issued. After adding it, click “Next”:
  1. Then you can specify the parent domain and click “Next”.

You can skip the WINS configuration step

  1. Then click “Next” 

and confirm the completion of the configuration.

DHCP Information: Dynamic Host Configuration Protocol (DHCP) | Microsoft Docs

Detailed instructions for configuring and working with DHCP: Deploy DHCP Using Windows PowerShell | Microsoft Docs