Forum Discussion
Azure Stack HCI & local DHCP
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
- CC_IT2_0Oct 19, 2023Copper Contributor
Ah that's very cool.
Would you happen to have an article available on how to set that up?
If not, I'll dive into Microsoft Learn deeper.
Thanks!
- Oct 20, 2023
That's a difficult one to answer as you can setup DHCP in many ways.
One route you could take is installed the DHCP role on a Windows Server machine for example.
See: https://learn.microsoft.com/en-us/windows-server/networking/technologies/dhcp/quickstart-install-configure-dhcp-server?tabs=powershell
--
Darryl van der Peijl
Splitbrain- DeletedOct 20, 2023
I would recommend the following
2x Windows Server Datacenter Azure Edition VM (core) or Windows Server Datacenter Edition (core)install DHCP role via remote / PowerShell
establish DHCP balancing in DHCP
do not place DHCP on a Domain Controller. Often done, it is a security risk and need PowerShell to secure it a bit.
you can fully administer DHCP via Remote machine using RSAT.
mind that DHCP Failover is not a 100% mirror, it will only mirror new scopes and reservation on MMC Command / PowerShell