virtualization - Why does my Windows 8 Pro Hyper-V guest have no internet?

04
2013-08
  • Perplexed

    Trying to get this working on my Windows 8 Pro machine. I created an External Switch

    Assigned the newly available adapter to a Guest machine with Win 2008 os. My host has internet connection. Host can ping Guest, Guest cannot ping Host.

    Guest has no internet connection. Pasting the IP of both host and guest.

    HOST
    ==========================
    Ethernet adapter vEthernet (EXTSW01):
    Connection-specific DNS Suffix  . : 
    Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter #2
    Physical Address. . . . . . . . . : 9C-B7-0F-0F-D7-D0
    DHCP Enabled. . . . . . . . . . . : Yes
    Autoconfiguration Enabled . . . . : Yes
    Link-local IPv6 Address . . . . . : fe80::5434:a9fd:8611:d207%54(Preferred) 
    IPv4 Address. . . . . . . . . . . : 192.168.0.15(Preferred) 
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Lease Obtained. . . . . . . . . . : Saturday, September 8, 2012 12:34:44 PM
    Lease Expires . . . . . . . . . . : Saturday, September 15, 2012 12:34:44 PM
    Default Gateway . . . . . . . . . : 192.168.0.1
    DHCP Server . . . . . . . . . . . : 192.168.0.1
    DHCPv6 IAID . . . . . . . . . . . : 916240141
    DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-DC-C9-2C-9C-B7-0D-0D-D7-D0
    DNS Servers . . . . . . . . . . . : 64.71.255.999
    NetBIOS over Tcpip. . . . . . . . : Enabled
    

    GUEST
    ==========================
    Ethernet adapter Local Area Connection:
    
       Connection-specific DNS Suffix  . : 
       Description . . . . . . . . . . . : Microsoft Virtual Machine Bus Network Adapter
       Physical Address. . . . . . . . . : 00-15-5D-3F-0F-00
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
       Link-local IPv6 Address . . . . . : fe80::953f:ec5c:5d84:1b50%11(Preferred) 
       IPv4 Address. . . . . . . . . . . : 192.168.0.20(Preferred) 
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Default Gateway . . . . . . . . . : 0.0.0.0
       DHCPv6 IAID . . . . . . . . . . . : 234886493
       DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-DD-2F-29-0F-15-5E-00-0F-00
       DNS Servers . . . . . . . . . . . : ::1
       127.0.0.1
       NetBIOS over Tcpip. . . . . . . . : Enabled
    
  • Answers
  • James T

    I had issues similar to this. It seemed to be caused by having other virtualization software (Virtualbox) installed along with Hyper-V. You could check the properties -> sharing tab of the vEthernet adapter and try setting it to share internet. I still had intermittent internet issues with this setup though.

    I ended up uninstalling Virtualbox to get Hyper-V working solid.

    Edit: https://forums.virtualbox.org/viewtopic.php?f=6&t=48044

  • Willm

    Dont forget to activate the Virtual LAN ID which you can find in the Guest settings of the Hyper-V-Manager! http://i.stack.imgur.com/jrnm5.png


  • Related Question

    virtualization - Does Windows 7 Support Hyper-V?
  • Russ

    Now that Windows 7 Enterprise is available for VLK Users to download, I would like to check it out. The only thing holding me back is that I am an application developer (currently developing on a Windows Server 2008 installation) and the most useful thing I use is Hyper-V to create VMs of the systems I would like to test on.

    Is it possible to run Hyper-V under Windows 7 Enterprise? Or am I stuck with Windows Server 2008?


  • Related Answers
  • John T

    Unfortunately that seems to be the case:

    System requirements / Specifications

    • An x64-based processor running an x64 version of Windows Server 2008 Standard, Windows Server 2008 Enterprise or Windows Server 2008 Datacenter.

    Hyper-V System Requirements and Specifications


    Credits to Diago:

    The alternative to Hyper-V for Windows 7 is Virtual PC for Windows 7 available here. It is currently in RC but will be available soon. It also requires hardware assisted virtualization to work.

    If you want 64-Bit VM's however you will have to load Windows Server 2008 and load Hyper-V since Virtual PC does not support this.

    For 64-Bit VirtualBox or VMware are good options.

  • William Hilsum

    Windows 7 runs fine on Hyper-V, Hyper-V does not run on Windows 7.

    As other people have said, you can use Microsoft Virtual PC or Vmware Workstation along with a whole load of other VM software.

  • Nick Whaley

    You are stuck with Windows Server 2008 if you have to use Hyper-V. You can always switch to another virtualization software like VMware or VirtualPC or you can wait until Server 2008 R2 is released, which is the server version of Windows 7.