question

RickyB-9107 avatar image
0 Votes"
RickyB-9107 asked DSPatrick answered

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

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?

windows-server-hyper-v
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered DSPatrick edited

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--








· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Just checking if there's any progress or updates?

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



0 Votes 0 ·

Do you mean ICMPv4, for let the ping communication ? I have try more than ping, i am trying to access file shared folder too and it not work between the 2 VM.

0 Votes 0 ·

Try again with the firewalls off.

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





0 Votes 0 ·

The firewall is disable on the VM and on the HV, it not work.

0 Votes 0 ·
Show more comments
RickyB-9107 avatar image
0 Votes"
RickyB-9107 answered RickyB-9107 commented

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 ?

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

If you are trying to connect virtual machines of two hypervisors then plug the vSwitch from each one into a common physical switch.

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



0 Votes 0 ·

Its already like that, the HV receive IP from the router, the VM receive IP from the router too.


It drive me crazy!

0 Votes 0 ·
RickyB-9107 avatar image
0 Votes"
RickyB-9107 answered RickyB-9107 commented

@DSPatrick 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://docs.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

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Looks like the OP abandoned that thread.


0 Votes 0 ·

I have to find the solution, its look like i am not the only one. I am trying now to add a second nic card to all VM with an INTERNAL configuration.

0 Votes 0 ·
DSPatrick avatar image
0 Votes"
DSPatrick answered DSPatrick commented

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--







· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Just checking if there's any progress or updates?

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



0 Votes 0 ·

Like you said internat vswitch have not fix the problem.

I have no idea, what is my next steps !

0 Votes 0 ·

As mentioned, the 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--



0 Votes 0 ·
RickyB-9107 avatar image
0 Votes"
RickyB-9107 answered DSPatrick edited

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

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Sounds good, might want to ask here about support for this configuration.
https://communities.vmware.com/t5/VMware-Workstation/ct-p/3019-home

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




0 Votes 0 ·
RickyB-9107 avatar image
0 Votes"
RickyB-9107 answered RickyB-9107 edited

Hi,

I have fix this by adding a new vmware NIC card to my 2 Hypervisor server. I have set these NIC cards to external and now all my VM and host can communicate on the same network.

Also i have need to force to change a mac adress on 1 VM. The 2 HyperV host have give the same MAC adresse on my 2 VM.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered

Yes an external switch makes better sense, glad to hear.

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







5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.