1 9 10 11 12 13 Previous Next 189 Replies Latest reply on Aug 19, 2020 2:54 AM by KennyVo Go to original post
      • 165. Re: Vmware ESXI within Hyper-v (server 2012) networking issue
        EvgenijSmirnovBerlin Novice

        OK, got it. Thanks, will give it a try. Any idea what the modification is going to break beside fixing connectivity? ;-)

        • 168. Re: Vmware ESXI within Hyper-v (server 2012) networking issue
          EvgenijSmirnovBerlin Novice

          Any suggestion which Linux distro / version I should be using? Ubuntu 14.04 seems to be far ahead of the game in terms of GCC version...

          • 169. Re: Vmware ESXI within Hyper-v (server 2012) networking issue

            Ubuntu 8.04 LTS (Hardy Heron) should be in the ballpark.

            • 170. Re: Vmware ESXI within Hyper-v (server 2012) networking issue
              obi7ster Lurker


              I think i have found the solution to the "networking problem".

              I have Hyper-V installed as role in win 2012 r2 standard. I have created VM and installed ESXi 5.5. Of course I need to add ignoreHeadless=True on boot and create customized esxi boot cd (ESXi Customizer). Also need to add vmx.allowNested=True on VM nested in esxi.


              So, I created some kind of "pyramid": Hyper-V(hypervisor) -> VM(ESXi) -> VM (Win7).


              At that point I came across the "networking problem"- simply put: no network connected, I cannot get IP from DHCP or set static address.


              To solve this problem you need enable: "MAC spoofing" on hyper-V VM. Legacy network adapter-> advanced settings (or similar option) -> check MAC SPOOFING checkbox. Of Course you need to add "Legacy network adapter" or ESXi won't detect the adapter. I have also add "allow promiscuous mode" line in hyper V (VM configuration file). I don't know, is that necessary,  but I added this "just in case"


              Bellow, I present the print screens. Unfortunately, I have polish version of windows and  all the settings are translated to polish. But I translated the important options to English.


              After i check the "Mac spoofing" check box the network on top the VM pyramid started to work and the machine got address from DHCP.

              If VM file will require to create new file, try to power off machine and disable the service in Hyper V manager. Save the file and start the service again.


              I hope it helps someone.

              Good Luck,




              PS: Sorry for my English, I hope you understand what I mean and you will solve the issue.

              • 171. Re: Vmware ESXI within Hyper-v (server 2012) networking issue
                dureimar Lurker

                Hi everyone!


                Has anyone resoled the networking issue?


                What i've got ESX 5.1 with tulip driver installed with a Legacy Network Adapter on Hyper-V Windows 8.1

                I tried <allow_promiscuous_mode type="string">TRUE</allow_promiscuous_mode> and MAC Spoofing.

                I have only one NIC on ESXi.

                I have two virtual switches on Hyper-V: Internal with IP range and External with IP address 172.x.x.x


                What I have found out. I can obtain DHCP address in both cases, whether I'm connected to Internal or External virtual switches.

                In case if I'm connected to Internal switch, network test fails to pass.

                In case if I'm connected to the External switch, network test passes OK! I can ping default gateway and DNS servers and even the hosts on the Internet, but I cannot ping the hosts on my local network.

                Looks like it is related with MAC address resolving or something related.


                Has anyone the idea?

                • 172. Re: Vmware ESXI within Hyper-v (server 2012) networking issue
                  bakkerb Lurker

                  Hi Dureimar,


                  Seems I am not the only one experiencing this issue, or at least very similar. see my post at https://communities.vmware.com/thread/496572

                  If you manage to find the solution, with or without help from this forum, then please also let me know in private message. I am really eager to get this issue resolve. I will do the same for you when I find the solution sooner then you do.


                  Kind regards,

                  Bastiaan Bakker

                  • 173. Re: Vmware ESXI within Hyper-v (server 2012) networking issue
                    franklinb Novice

                    So I am experiencing the same networking connectivity issue between my Windows 8.1 hyper-V host and my ESXi 5.5 guest


                    Here's my steps so far:

                    - Built customised ESXi 5.5 ISO using the tulip.vib and VMware-ESXi-5.5-RollupISO.iso

                    - Created Virtual Switch

                         - name: vmlan1

                         - type: Internal

                    - Configured local nic with and disabled all other services except IPv4

                    - Created new Hyper-V VM

                         - generation 1

                         - Legacy Network Adapter (has to be Legacy)

                              - Virtual Switch: vmlan1

                         - 4096MB RAM (min required for ESXi 5.5)

                         - 2 vCPU (min required for ESXi 5.5)

                         - Mount ISO

                         - Create new 10GB VDHX hard drive

                    - Boot VM

                         - Interrupt boot with Shift-O and add " ignoreheadless=TRUE" to the existing text i.e. "runweasel ignoreheadless=TRUE"

                         - Install ESXi

                         - Boot into ESXi (again requiring the Shift-O and ignoreheadless=true text added to the end with a space in between)

                         - Troubleshooting -> Enable Shell

                         - Alt+F1 and login

                         - enter "esxcfg-advcfg –-set-kernel “TRUE” ignoreHeadless" (this will enable headless ignore for all future boots so no need to enter again)

                         - type exit to logout, Alt+F2, disable Shell

                         - Configure vm nic with and restart management network


                    After doing this I cannot ping in either direction between ESXi and the host


                    So further steps after reading this:


                    - Stop Hyper-V Machine Virtual Management service (otherwise I can't modify the VM's xml config file)

                    - Edit VM's XML file

                         - Add line in <global> section:

                              <allow_promiscuous_mode type="string">TRUE</allow_promiscuous_mode>

                    - Save and restart service

                    - Boot VM


                    Same deal

                    • 174. Re: Vmware ESXI within Hyper-v (server 2012) networking issue
                      mikedeatworld Lurker

                      Hello!  First post here.


                      Did anyone get this documented or blogged? This would be great for labs!


                      I was hoping to see if anyone has seen this issue.


                      So, I have Hyper-V 2012 R2 in my lab and I'd like to, virtualize ESXi 5.1 as a guest VM.


                      I'm able to:

                      • Set a Legacy NIC
                      • Boot into the ESXI 5.1 installer
                      • Set the runweasel ignoreHeadless=TRUE
                      • Install ESXi 5.1 successfully (kind of, see below):

                        However, after the install completes, the VM is rebooted. After the reboot, the VM goes right back into the ESXI installer loops and attempts / prompts to upgrade/install ESXI.  After reboot, the installer will be presented again....not option to move past that.

                        Has anyone seen this? Does anyone have any tips on getting past this issue?


                      Thank you,



                      • 175. Re: Vmware ESXI within Hyper-v (server 2012) networking issue
                        mikedeatworld Lurker

                        Okay, so its working. I just had to bounce the box, and then tell the installer to NOT install ESXI.


                        Then things were fine. After one more reboot...

                        • 176. Re: Vmware ESXI within Hyper-v (server 2012) networking issue

                          It sounds like you didn't eject the virtual DVD after installation.

                          • 177. Re: Vmware ESXI within Hyper-v (server 2012) networking issue
                            ZuberFowler Lurker

                            Help for others:

                            I am able to now connect to ESXi with vSphere client from  the Hyper-v level machine.

                            I thought I would draw attention to the evolution of the statement in this discussion:

                            <allow_promiscuous_mode type="string">TRUE</allow_promiscuous_mode> from

                            <allow_promiscuous_mode type="boolean">TRUE</allow_promiscuous_mode>

                            Contrary to intuition the correct type appears to be "string". Not that that is all that is


                            From my testing, the network only works at all if the Hyper-v switch is "External" associated

                            with a real NIC (no "Internal" or "Private").

                            Not even a non--Hyper-v loopback connected to a Hyper-v "External" switch works.

                            It also appears that I have to ping the ESXi address from a command prompt to start it up.


                            I haven't created a VM under ESXi as of yet, so I can't yet speak to that part of the network.



                            This is my first experience with ESXi. With all of the fiddling with this, I'm not sure if I deleted

                            the Hyper-v SCSI adapter on the last install or if ESXi just doesn't recognize it in any case

                            (no driver for it)? I know that in this virtuality IDE vs SCSI makes little difference, it just seems

                            ESXi on a real machine would most likely use SCSI, and I don't want to have to reinstall to

                            find out.

                            • 178. Re: Vmware ESXI within Hyper-v (server 2012) networking issue
                              NoSpamPleaze Lurker



                              Would it be possible to create a VIB for Hyper-V sinthetic NIC, avoiding the need to use legacy adapter?

                              I managed to use tulib.vib to run ESXi 6.0 inside Hyper-V VM, but would like to do it with sinthetic NIC, rather than legacy NIC.

                              I found Download Linux Integration Services Version 4.0 for Hyper-V from Official Microsoft Download Center and kernel/git/torvalds/linux.git - Linux kernel source tree but have no clue how to continue, not a Linux expert at all



                              • 179. Re: Vmware ESXI within Hyper-v (server 2012) networking issue

                                Sure, it's possible.  It's hard to justify the effort, though.