[Solved] Can't ping windows VM

Adithya

New Member
Feb 18, 2020
14
0
1
27
Hi,
I have the following scenario:
I have a node where I have setup a windows VM:

My windows VM is able to ping the node and my local PC on the same network.
My node is able to ping my local PC but unable to ping the windows VM
My local PC is able to ping my node but unable to ping the windows VM

I have disabled firewall at all levels.
I need some help to understand why this is happening
 
Yes, I have disabled it at all levels (data centre, node and the VM)
In the VM, I disabled it in the firewall section and the network section
 
because this really sound like the default windows firewall blocking icmp by default.

you can try to tcpdump on the tap interface directly from proxmox host

#tcpdump -i tap<vmid>i0 icmp

to see if it's blocked by windows or not.
 
Hi, I ran tcpdump and I got this output on the node, when I tried to ping my VM:

Code:
19:03:22.235459 IP inrd-adik.XX.XXXX.XXXXXXX.com > desktop-6qieueb.XX.XXXX.XXXXXXX.com: ICMP echo request, id 1, seq 168, length 40
But the request times out on my local PC.
I have also allowed remote access on my VM
 
is desktop-6qieueb.XX.XXXX.XXXXXXX.com your vm ?

if yes, that mean than icmp request is going to windows, and windows dont reply. (So it's a problem in windows, maybe filtering icmp request for in, or icmp reply for out)
 
Yes, that is my VM.
I had earlier disabled firewall on VM through proxmox. I thought this would be enough, but it didn't work.

It worked only after I added inbound rules to allow ICMPv4 and ICMPv6 messages on my VM.
Thanks for the help :)
 
NOTE to myself incase it happens again
open in windows firewall
File and Printer Sharing (Echo Request - ICMPv4-In)
and/or
Core Networking Diagnostics - ICMP Echo Request (ICMPv4-In)
the latter changed in the windows update 17 Sept 2020 - Yeah Microsoft !!!!
thanks
Damon
 
  • Like
Reactions: drauku

Actualizando 2025​

Aqui le dejo una solucion para Proxmox Virtual Environment 8.4.0​

️ Solución paso a paso en Windows​

  1. Verifica el perfil de red
    • Ve a: Configuración → Red e Internet → Propiedades de la red.
    • Asegúrate de que esté marcada como Red privada, no pública.
  2. Habilita reglas de ICMP en el firewall
    • Abre wf.msc (Firewall de Windows con seguridad avanzada).
    • Ve a Reglas de entrada.
    • Habilita estas dos reglas:
      • File and Printer Sharing (Echo Request - ICMPv4-In)
      • Core Networking Diagnostics - ICMP Echo Request (ICMPv4-In)
    • Asegúrate de que estén activas para el perfil Privado.
  3. Verifica que no haya restricciones por IP
    • En las propiedades de esas reglas, ve a la pestaña Ámbito (Scope).
    • Asegúrate de que diga: Cualquier dirección IP remota, no solo “subred local”.

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


    • Updating 2025
      Here's a solution for Proxmox Virtual Environment 8.4.0

      ️ Step-by-step solution on Windows
      Check the network profile

      Go to: Settings → Network & Internet → Network Properties.

      Make sure it's marked as Private Network, not Public.

      Enable ICMP rules in the firewall.

      Open wf.msc (Windows Firewall with Advanced Security).

      Go to Inbound Rules.

      Enable these two rules:

      File and Printer Sharing (Echo Request - ICMPv4-In)

      Core Networking Diagnostics - ICMP Echo Request (ICMPv4-In)

      Make sure they're enabled for the Private profile.

      Verify there are no IP restrictions.

      In the properties of those rules, go to the Scope tab.

      Make sure it says: Any remote IP address, not just “local subnet.”