#Communication Between Virtual machines in two different subnets within a Virtual Network

1 messages · Page 1 of 1 (latest)

high nebula
#

I have two windows server VM's each of them are on different subnet within the same Virtual Network. I am trying to ping the VM2 from VM1 by using VM2 private IP address. it says time out, I have enable NSG rule in VM2 to allow traffic from the Private IP address on VM1 on ICMP protocol to Private IP address of VM2. Could you please help

blissful arrow
#

By default, all VMs within the same vnet can talk to one another without any help, so your NSG shouldn't be needed at all. Try checking the host firewall to see if it's blocking.

high nebula
#

This is my VM 1:

#

This is VM2:

#

showing the NSG rules on both the VM's that are in the same virtual network

blissful arrow
#

Log into each VM and check if Windows Firewall is on

high nebula
#

Could you please suggest if there is an alternate way to keep the firewall on and still ping the from one VM to another

blissful arrow
#

Disable the specific rule that's blocking ICMP