Setup a Server 2022 Domain Controller with DHCP to provide IP to Windows 11. Like to provide my DHCP

Munoz, Mark R 0 Reputation points
2025-02-06T15:26:06.0033333+00:00

Setup a Server 2022 Domain Controller with DHCP to provide IP to Windows 11.

Like to provide my DHCP from Domain Controller to Windows 11 machine in private subnet. How do I tell azure not to use their DHCP?

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,628 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Marcin Policht 35,360 Reputation points MVP
    2025-02-06T18:20:37.6166667+00:00

    Azure does not support custom DHCP services. You'll have to use the one provided by the platform.

    You can deploy an Windows Server Azure VM hosting the DHCP server role, but that's intended for providing IP address leases to your on-premises devices via DHCP relay agent (more at https://learn.microsoft.com/en-us/azure/virtual-network/how-to-dhcp-azure ) - not to Azure VMs.

    More at https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq#can-i-deploy-a-dhcp-server-in-a-virtual-network


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    0 comments No comments

  2. Sai Prasanna Sinde 3,765 Reputation points Microsoft Vendor
    2025-02-06T20:07:51.94+00:00

    Hi @Munoz, Mark R,

    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

    Adding to the points provided by @Marcin Policht,

    • Answering to your question-how do I tell azure not to use their DHCP?

    You can assign a static private IP address to your virtual machine to meet your requirement.

    Reference: Create a VM with a static private IP address using the Azure portal, Azure PowerShell, or Azure CLI | Microsoft Learn


    Kindly let us know if the above helps or you need further assistance on this issue.


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.