DHCP server in Azure

WinTechie 286 Reputation points
2021-08-11T18:28:48.937+00:00

Hi,

Is running DHCP service in Azure VM supported, This is meant to provide IPs to endpoints present on different physical/office sites.

Note: due to business requirement/constraints, have to serve DHCP service from Azure

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,010 questions
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,515 questions
Windows DHCP
Windows DHCP
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.DHCP: Dynamic Host Configuration Protocol (DHCP). A communications protocol that lets network administrators manage centrally and automate the assignment of Internet Protocol (IP) addresses in an organization's network.
1,040 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Andreas Baumgarten 111.4K Reputation points MVP
    2021-08-11T19:22:28.92+00:00

    Hi @WinTechie ,

    running a DHCP service on an Azure VM is not supported.
    Please refer: https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq#what-protocols-can-i-use-within-vnets

    The DHCP service is provided by Azure for each subnet automatically . There is no need to run a DHCP service on a VM.

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    3 people found this answer helpful.

  2. Karl Tremain 86 Reputation points Microsoft Employee
    2021-08-20T11:29:27.61+00:00

    Hi,

    I believe you are asking about running DHCP for use with an on-prem DHCP relay agent.

    As Andreas noted in the other answer above, it is not supported (and would not work to hand out IP's to other Azure VM's) - however, you might find that it will respond to relay agent requests, although due to the unsupported state, please do not rely on this as it may break in the future. It would be better to run DHCP somewhere nearer your endpoint, maybe on a router or switch infrastructure if possible

    1 person found this answer helpful.

  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

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.