Unable to ping or access file shares from Azure VM

Pranav Mitra 6 Reputation points
2020-07-01T06:12:47.94+00:00

Hi All,

I have two Azure VM's in the same Resource Group. One with IP 10.x.x..4 and the other with 10.x.x.5.

10.x.x.4 is my Domain Controller along with the DNS / DHCP roles installed.

I have setup Nested Virtualization on the above mentioned VM as well as installed the Hyper V role to create Guest VM's and assign them IP's from the DHCP server (10.x.x.4)

The guest VM IP is 192.168.0.100 and it can connect to the Internet and ping works both ways with 10.x.x.4 from the Guest VM.

There is one more VM with the IP 10.x.x.4 in the same resource group as 10.x.x.4 in Azure. This VM can't ping or access file shares for the guest VM(192.168.0.100).

However ping and share access works from the VM(192.168.0.100) to 10.x.x.5.

I have disabled the Firewalls and checked the Inbound rules but to no avail. 

All the machines are in the same domain.

Ping request says - Request Timed out (Both name and IP)

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

Ping statistics for 192.168.0.100:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

C:\Users\Sccmadmin>ping XXXXX

Pinging XXXXX [192.168.0.100] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 192.168.0.100:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,014 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Moamen Hany 1,091 Reputation points MVP
    2020-08-07T22:18:12.29+00:00

    1) Make Sure that the subnets in the same VNET

    2) Do you use Windows VM? The default configuration of the Windows firewall prohibits ICMP. Could you try to test reach-ability with Test-NetConnection -Port 3389?

    3) Use port pings instead of ICMP to test Azure VM connectivity

    4) Check the and verify that VMs can communicate with each other.

    5) Check ICMP allowed on Windows Firewall on both VM's.

    (Please don't forget to Accept as answer if the reply is helpful)
    http://www.moamenhany.com

    4 people found this answer helpful.
    0 comments No comments

  2. Sumarigo-MSFT 47,466 Reputation points Microsoft Employee Moderator
    2020-07-21T14:45:03.1+00:00

    anonymous user Firstly, apologies for the delay in responding here and any inconvenience this issue may have caused.

    As I understand you are unable to access File share (i.e Network sharing) am I correct?

    Do you use Windows VM? The default configuration of the Windows firewall prohibits ICMP. Could you try to test reach-ability with Test-NetConnection -Port 3389?

    Use port pings instead of ICMP to test Azure VM connectivity

    Check the and verify that VMs can communicate with each other.

    Ping between Azure VMs using internal IP (DIP) - works, but guest OS firewall must be configured to allow it as by default ICMP is blocked by the guest.

    Refer to this MSDN thread for more info

    If the issue still persist, please share complete info and also share the screen shot.

    Hope this helps!

    Kindly let us know if the above helps or you need further assistance on this issue.

    --------------------------------------------------------------------------------------------------------------------------------

    Please do not forget to "Accept the answer" and Upvote on the post that helps you, this can be beneficial to other community members.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.