Forum Discussion
How to connect two VM's on Azure?
- Jul 24, 2017
Do you mean that Ping does not work ?
i notice that both VM's have a 10.x.x.x/24 would they happen to be in the same VNET 10.0.0.0/8 or /16 ?
Unless you configured DNS for the public facing MGMT ip's then no, they would never use that address, but if they are on each thier own VNET, then you have to enable peering or VPN between the 2 sites, but here you may have overlapping VNET's.
perhaps you could provide some screen dumps, VNET and NIC's
On a side note, if you must use public facing ip's (VPN would be better) then remeber to use strict NSG's to prevent unwanted attacks.
Hi,
Can we know the address space of the VNET so we can assist with a better anzwer. If both are in the same VNET then ping should work unless you modified the NSG default rules. As Kent mentioned the VMs stayed at two diferent VNETs then we have to create VNET peering withe each other.
You can use Network watcher service to verify the network conectivity troubleshoting
https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-monitoring-overview
Thanks