hyper v devices are not connecting or communicating with each other

Ramanjeet Singh 20 Reputation points
2024-08-07T08:43:08.0933333+00:00

I have created two VMs 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,499 questions
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,735 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,363 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Zunhui Han 2,395 Reputation points Microsoft Vendor
    2024-08-07T12:20:04.2033333+00:00

    Hello,

    Thank you for posting in Q&A forum.

    You can first check the following two aspects to troubleshoot network connectivity issues between virtual machines.

    1. Make sure both virtual machines are connected to the same private switch in Hyper-V Manager.

    And double-check that the subnet masks corresponding to the IP addresses of the two virtual machines are the same, for example (IP: 172.16.0.x, subnet mask: 255.255.255.0).

    1. Temporarily disable Windows Firewall on both virtual machines to see if it is causing the problem. Open Control Panel > System and Security > Windows Defender Firewall. Click "Turn Windows Defender Firewall on or off" on the left sidebar. Select "Turn off Windows Defender Firewall" for both private and public networks.

    I hope the information above is helpful.

    Best regards

    Zunhui

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote 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.