Welcome to deBUG.to Community where you can ask questions and receive answers from Microsoft MVPs and other experts in our community.
0 like 0 dislike
3.6k views
in Azure by 1 1 1

I am new in Azure, I have created three Windows Azure Virtual Machines all of those VMs in the same region and use the same VNET but when try to run a PING from one virtual machine to another I got Request Time out error

Pinging VM4 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Does anyone know why I am Not able to ping between Azure VMs?


1 Answer

0 like 0 dislike
by 163 204 403

Allow Ping in Azure VMs

As you have mentioned, the two VMs in the same region and the same VNet, so it's mainly due to firewall settings! so try to first do the following:

  1. Turn off Firewall, Or
  2. Allow Inbound ICMPv4 that blocked by default to enable PING between Azure VMs

     New-NetFirewallRule –DisplayName "Allow ICMPv4-In" –Protocol ICMPv4
    

Note: As Azure Network Team reported, the Internet Control Message Protocol (ICMP) presents risks for underlying network infrastructure, so the outbound ICMP is not permitted to ping external address from Azure VMs and vice versa.
In this case, It's recommended to test connectivity by performing a port ping like Telnet or Test-NetConnection or PSPing or TCPing.


See Also

If you don’t ask, the answer is always NO!
...