Hi,
Please first check the network adapter settings of each VM in Hyper-V Manager. Ensure that both VMs are connected to the same virtual switch. You can create a new virtual switch and connect both the VMs to it to see if the issue persists.
If Windows firewall is enabled on your VMs, check the firewall rules to see if there is any rule that blocks ICMP (ping) requests. You can temporarily disable the firewall on both VMs to see if this resolves the issue.
Also make sure that the IP addresses and subnet masks are correctly configured. Both VMs should be on the same subnet. You can check the IP configuration by running ipconfig
in the command prompt on both VMs.
Best Regards,
Ian Xue
If the Answer is helpful, please click "Accept Answer" and upvote it.