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.
Dear Members;
Thank you so much for replying, i have managed to connected them, just needed a route with Virtual Machine as Next hop....
- r_gaurangJan 28, 2020Copper Contributor
Hi ,
I am in a situation where I have created 2 Virtual Machines associated with 2 different sub nets in a Virtual Network. When I try to ping the VMs form each other its getting times out.
Please guide me how to solve this