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
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
Hi @WinTechie-3187 ,
running a DHCP service on an Azure VM is not supported.
Please refer: https://docs.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
Thanks Andreas. You confirmed what I suspected after I posted my question. I got concerned when I saw an unrecognized IP address for the DHCP server, when I ran an"ipconfig /all" on an Azure VM. Then my concerns were hightened when I geolocated the "unrecognized" IP to Hong Kong (my Azure Vnet is in the USE region). Fear, if unchecked, can lead you astray. Thanks for your help.
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
Thanks ktremain, I appreciate your response. As noted in my comment to Andreas, I misunderstood the unrecognized IP address of the DHCP server, not realizing until after I posted my question that it was pointing to a MS datacenter in Hong Kong. Thanks again for your response.
21 people are following this question.