2 Hyper-V host with 2 VM and no communication between VM

Ricky B 1 Reputation point
2021-10-06T21:00:35.11+00:00

Hi!

I have have VMWARE WORKSTATION and i have setup 2 Hyper-V host and i have create 1 VM on each HV

I have setup my NIC card on each HV and i have also create a VM with windows 10 to manage the 2 host.

I got network communication and all machine go on internet. But believe it or not, each VM on HyperVisor can't ping or reach the other VM. But each VM can ping the router and the windows 10 machine.

HV1 ping VM1 on HV1 but can't ping VM2 or HV2
HV2 ping VM2 on HV2 but can't ping VM1 or HV1

The NIC card on the Hyper-V is set on External, they are all on the 192.168.0.x/24

HV1 192.168.0.6 VM1 192.168.0.2
HV2 192.168.0.7 VM1 192.168.0.3
WINDOWS10 VM 192.168.0.10
VIRTUAL ROUTER 192.168.0.1

Its look like the HYPERVISOR can't route traffic between the 2 VM

I have run IP-Scan and from the windows 10 machine i see everything on the network, but from HYPER-V VM i see the half of the device.

Someone have an idea?

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,535 questions
0 comments No comments
{count} votes

7 answers

Sort by: Most helpful
  1. Dave Patrick 426.1K Reputation points MVP
    2021-10-06T21:58:58.833+00:00

    HYPERVISOR can't route traffic between the 2 VM

    The hypervisor plays no role here, they communicate via the vSwitch they're connected to.
    https://blogs.technet.microsoft.com/jhoward/2008/06/17/hyper-v-what-are-the-uses-for-different-types-of-virtual-networks/

    ICMPv4 may need to be enabled through the windows firewall.

    --please don't forget to upvote and Accept as answer if the reply is helpful--


  2. Ricky B 1 Reputation point
    2021-10-08T14:06:41.343+00:00

    I have disable firewall on the 2 HV = samething

    I have setup another vm on the HV1 and i have try to ping the VM on HV2 = samething

    Do i need to bind the vSwitch from HV1 and HV2 ?


  3. Ricky B 1 Reputation point
    2021-10-08T19:01:46.033+00:00

    @Dave Patrick Its look like you have already answer to another thread, its look like to my problem too. I have to read this Thread... i don't know if this guy have found a solution !

    https://learn.microsoft.com/en-us/answers/questions/204807/hostsguests-cannot-access-each-other-ping-destinat.html

    Another thread about it!

    https://community.spiceworks.com/topic/491908-vms-cannot-communicate-across-different-hyper-v-hosts


  4. Dave Patrick 426.1K Reputation points MVP
    2021-10-08T19:56:35.193+00:00

    I am trying now to add a second nic card to all VM with an INTERNAL configuration.

    What for? An internal vSwitch has no hope of reaching another hypervisor. Nesting hyper-v within vmware workstation is beyond complicated and wrought with problems. Better option is to dumb it down to hyper-v on the bare metal hosts and try again.

    --please don't forget to upvote and Accept as answer if the reply is helpful--


  5. Ricky B 1 Reputation point
    2021-10-10T15:05:44.767+00:00

    I understand what you said, but i cant believe no body have already done it in the past.

    I will tey to add another virtual vmware nic card to the HV and dedicate the card to the hyperv vm and set it with an external configuration.

    It will be weird to have 2 nic card on the same network