question

SebastianZuur-6653 avatar image
0 Votes"
SebastianZuur-6653 asked shaikhsiddique-1475 commented

Migrating on prem DHCP server to Azure

Good afternoon,

My customer moved most of their servers to Azure, however there is a small Hyper-v host on premise still running a Server 2012R2 DHCP server serving the clients, accesspoints, camera's, doors and printers in their locations.
Searching the internet on how to migrate this server to Azure i run into articles stating it is not supported and i see some articles stating it is supported.
None of those articles giving me a clear answer. They have an Expressroute to Azure and their locations are all connected to that route.
Is it indeed possible to host the DHCP server on Azure, or is it impossible or better to leave it on site?
All of their other servers are on Azure and won't use this DHCP

windows-dhcp-dnsazure-migrate
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@SebastianZuur-6653 For your scenario I would say technically feasible to make it to work as demonstrated in GitHub post - https://github.com/dmauser/DHCPServer-On-Azure however, I don’t see any logic behind migrating DHCP servers to Azure when it’s not supported officially, Since you mentioned that existing DHCP server is serving client machines and few more devices It’s always recommended to keep DHCP On-Prem itself for admin related activities in On-Prem environment.


If the response helped, do "Accept Answer" and up-vote it

1 Vote 1 ·

1 Answer

AndriyBilous avatar image
0 Votes"
AndriyBilous answered shaikhsiddique-1475 commented

Hello @SebastianZuur-6653
It is possible to have DHCP server on Azure, that will server both Azure and on-premise servers, clients, etc...
https://github.com/dmauser/DHCPServer-On-Azure
However there are few disadvantages:
- If connection between Azure and on-premise is going down, on-premise hardware will not get IP addresses
- Expressroute is expensive solution
- VPN between on-premise and Azure is required
- separate VM in Azure is required for DHCP

If You are looking for redundant DHCP solution - "Hub and Spoke Model" "Symmetric Relationship" fits you. Microsoft recommends to use primary server on premise and secondary in Cloud
https://docs.microsoft.com/en-us/archive/blogs/teamdhcp/multi-site-deployment-topologies-for-dhcp-failover

The easiest implementation for DHCP in you case will be:
- Setup DHCP on-premise, you can use Hyper-V server or router.
- Use Azure VNetwork with built-in DHCP for Azure resources.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

This solution is currently not supported by Microsoft. It should be used only as proof of concept.

0 Votes 0 ·