Saturday, April 3, 2021

make connection between two VM within same Virtual network

 You can establish a connection between two VM's within a Virtual network. With this two VM can communicate with each other with the help of private IP. here we don't need public IP for communication because they are in same network. In this communication, data are not encrypted but secure. 

Follow below steps to communicate between two VM. 

We have already created a Virtual network in previous article. click here

First create two VMs (vm1, vm2). while creation of these two VM's select the existing Virtual network.

Now, Take the RDP of vm1. try to ping the private Ip of vm2. 


You will get Request timeout error
Here we need to turn off windows firewall of vm2. Then only we can access vm2 from vm1.

after turn off firewall, now try to ping again.


In this way we can establish connection between two VMs.

0 comments:

Post a Comment