hyper v devices are not connecting or communicating with each other

Ramanjeet Singh 20 Reputation points
2024-08-07T08:46:48.6166667+00:00

I have created two VM on my Hyper V for lab set up named as A and B Both are having windows 10 OS, connected to private switch.

IP addressing for A is 172.16.0.1

for B 172.16.0.2

but I can't ping from A to B or B to A, there is no connectivity between them, any solutions

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,539 questions
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,742 questions
Windows Network
Windows Network
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Network: A group of devices that communicate either wirelessly or via a physical connection.
779 questions
Windows DHCP
Windows DHCP
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.DHCP: Dynamic Host Configuration Protocol (DHCP). A communications protocol that lets network administrators manage centrally and automate the assignment of Internet Protocol (IP) addresses in an organization's network.
1,040 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ian Xue 37,881 Reputation points Microsoft Vendor
    2024-08-08T01:55:55.8366667+00:00

    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.


0 additional answers

Sort by: Most helpful

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.