Guidance on usage: DHCP Server on Windows Server 2022 Datacenter

Configuration and connection to DHCP Server on Windows Server 2022 Datacenter

To work with DHCP Server, you need to open ports TCP 3389 and ports UDP 67, and 68 in the network properties in Azure Firewall.

  1. After purchasing and starting the VM you should know its IP address. You can find it in the personal account of Azure. (You should select the virtual machine from the list. By clicking the item “Overview”, your IP would be displayed in the line “Public IP Address”).
  1. To connect to the virtual machine, run the “Remote Desktop Connection” shortcut “Win + R”
  2. 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