Forum Discussion

WouterCoppens's avatar
WouterCoppens
Copper Contributor
Apr 28, 2023

Azure Stack HCI & local DHCP

We're replacing our local vSphere infrastructure with Azure Stack HCI. 

On the vSphere environment we have a DHCP server running that serves ip addresses to our desktops and laptops. 
Is it possible to run a DHCP server in a VM on Azure Stack HCI? What are the best practices? 

6 Replies

  • Hi WouterCoppens,

     

    It's possible to run a virtual machine on Azure Stack HCI that has the DHCP role. Just like with VMware or any other hypervisor platform, it abstracts the hardware to virtual machines and they can run any role you (normally) want.

    There are no specific best practices for DHCP running on top of Azure Stack HCI, the regular best practices apply for DHCP servers such as scoping and security. If you migrate the current DHCP server to Azure Stack HCI, the functionality would stay the same and it probably works out-of-the-box. Assuming it stays in the same logical networks etc.

    Hope this helps.

    Groet,

    --
    Darryl van der Peijl
    Splitbrain


    • CC_IT2_0's avatar
      CC_IT2_0
      Copper Contributor
      Good afternoon all,
      How do you reconcile this with the fact that setting up a DHCP server within Azure is not supported:
      https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq#what-protocols-can-i-use-within-vnets
      Azure Stack HCI does not follow these same rules?
      Have you already set up a DHCP server this way?
      Thanks in advance for your insights.

      Kind regards,
      Chris.
      • CC_IT2_0 

        Hi Chris,

        That is correct, Azure Stack HCI does not follow the same rules and it's positioned in your own network.
        Within the Microsoft Azure virtual networks, the platform needs to control the assignment of IP addresses, hence not supported to run any DHCP service there.

        --
        Darryl van der Peijl
        Splitbrain

Resources