Not able to ping Azure VMs

Balaji 51 Reputation points
2020-03-13T11:25:48.71+00:00

Hi Team,

I have created two VMs in Azure and which are in same region and same vnet.
I am able to ping From Server 1 - to - Server 2
But unable to ping From Server 2 - to - Server 1.

I am getting the error as request timed out.

Can you please assist me on this issue?

(Both VMs are in same VNET and having same inbound and outbound Rules. No changes in network end)

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,817 questions
{count} votes

Accepted answer
  1. kongou_ae 171 Reputation points
    2020-03-13T15:29:50.293+00:00

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

    Best

    0 comments No comments

6 additional answers

Sort by: Most helpful
  1. Dragos Petrisor 1 Reputation point
    2020-07-26T15:47:57.947+00:00

    Hello,

    I am experiencing same issue. From server A ping works to server B. Viceversa is not. B is a DC so A cannot join the domain either.

    Server B:

    13811-b.png

    Server A:

    13803-a.png

    Ping from B to A:

    13640-ping-nok.png

    Ping from A to B:

    13821-ping-ok.png

    I have even disabled firewall completely on B. I re-enabled and defined In and OUT rules for ICMP. Sill does not work.

    @kongouae-0068 ,The connectivity test fails but why is it relevant? That port is RDP and ICMP doesn't go through a specific port.

    Please help me out.

    Best regards,

    Dragos

    0 comments No comments

  2. Sangram Rath 6 Reputation points
    2020-07-26T18:21:18.347+00:00

    @Balaji-0915 & @DragosPetrisor-3001 there could be many reasons, here's one idea if one of them is in Domain and other is not:

    • There are firewall profiles i.e. Public, Private & Domain, experiment with them by setting the "Enabled = Yes"
    • Check domain remote address, try setting it to "any"
    • Check Public / Private (particularly this) profile
    0 comments No comments

  3. Balaji 51 Reputation points
    2020-10-28T11:47:04.757+00:00

    Just need to do VNET peering between two networks and allow ICMPV4 protocol for ping in NSG rules

    0 comments No comments

  4. Siva K 1 Reputation point
    2022-09-07T19:34:31.327+00:00

    Select the affected Virtual Machine.

    Select Networking and then select the network Interface of the VM.

    Screenshot shows the Network interface location.
    238811-capture.jpg

    Select IP configurations.

    Select the IP.

    If the Private IP assignment is not Static, change it to Static.

    Change the IP address to another IP address that is available in the Subnet.

    The virtual machine will restart to initialize the new NIC to the system.

    Try to RDP to your machine. If successful, you can change the Private IP address back to the original if you would like. Otherwise, you can keep it.

    0 comments No comments

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.