Forum Discussion

AzureBrian's avatar
AzureBrian
Brass Contributor
Oct 29, 2021
Solved

Best way to join VM from one VNet to Azure AD DS custom domain in a different VNet

Greetings.  I have a functioning Azure AD DS custom domain that is deployed to a subnet in let's say VNet1.  I have a VM that resides in a subnet of, call it VNet2, that I would like to join to the c...
  • Anthony_Norwood's avatar
    Oct 30, 2021

    Hi AzureBrian 

     

    You've hit the nail on the head with the two options; vNET Peering or a vNET-to-vNET Gateway connection. This blog post gives you a good run down on the differences between the two:

    https://azure.microsoft.com/en-gb/blog/vnet-peering-and-vpn-gateways/

    As peering occurs over the private network within Azure only (there is no public traffic over a peered connection) I would implement Peering due to its lower latency and general easier administration.

     

    However, if having the traffic between the vNETs encrypted is a key requirement then Gateways would be the only appropriate course of action.

     

    There's no way to use routing tables on their own to achieve what you're looking for as by design vNETs are isolated from each other.

     

    Hope this helps,

     

    Anthony

Resources