Using Hyper-V with a Wireless Network Adapter

Using Hyper-V with a Wireless Network Adapter

  • Comments 18

Out of the box Hyper-V does not support connecting virtual machines to wireless network adapters.  As a primarily server focused product this is a reasonable limitation - especially given evils that we need to do to get wireless network adapters to work with virtual machines.  But all is not lost - it is possible to setup an internal virtual network (as discussed yesterday) and utilize Internet Connection Sharing (as discussed here) to get you up and going.

The first thing to do is to create a new internal virtual network switch:

  1. Open the Hyper-V Manager and select your server.
  2. Select Virtual Network Manager... from the action pane (on the right).
  3. Select New virtual network and choose to Add an Internal network.
  4. Give the new virtual network the name you want hit OK.

Now to setup Internet Connection Sharing:

  1. Open the Control Panel and open Network and Sharing Center.
  2. Select Manage network connections from the list on the left.
  3. Locate the icon for your wireless network adapter, right click on it and select Properties.
  4. Change to the Sharing tab.
  5. Check Allow other network users to connect through this computer's Internet connection.
  6. If you have multiple network adapters you will need to select the specific entry for the internal virtual network switch.
  7. Click OK.

You can now connect virtual machines to the internal virtual network and allow them to access the Internet through your wireless network adapter.

Cheers,
Ben

Leave a Comment
  • Please add 8 and 3 and type the answer here:
  • Post
  • Thanks for the post. I actually had just figured this out myself. :)

  • Thanks for the post! It def. helped me out.

  • How about enabling access to the VM's from the internet? Maybe a static route?

  • Nathan -

    There is basic support in ICS for mapping specific services (like an FTP server) through.  But to do this properly you would want to use full-fledged routing software (like RRAS) instead of just using ICS.

    Cheers,

    Ben

  • This however does not work for domain joined servers since most network administrators will disable ICS through Group Policy. I have a demo laptop with Hyper-V running. Many times I am accessing the internet through the corporate wireless. It is not possible to set up ICS in such a scenario for the guest VM's since the ICS is disabled through GPO.

    Any other ideas?

  • Hi Ben,

    Thanks for the post; really helped me out!

  • thanks for the post.  It was really helpfull.

  • Cheers Ben, this trick still works with Hyper-V running on Windows 8.

    But I don't understand why Hyper-V still doesn't support a wireless adapter, that shouldn't be too hard to implement?

  • Thanks for the info. I was just fighting with this yesterday!

  • Same problem Win8 - cannot get this to see the 8 wireless adapter when in VM Drive with XP loaded.  Been struggling for 2 weeks to get internet and usb  drive to be seen on Win8 Hyper V drive with XP, no luck.

  • This didn't work for me until I set the internal network's IP v4 as static, and set the IP to 192.168.137.1, and the DNS as 8.8.8.8.  I think when the connection is shared it is supposed to do something like that using DHCP but it did not work after hours of trying. (windows 8.1, running xp in Hyper-V).

  • I'm running Windows 8.1 Enterprise.  When I go to the sharing tab of my wifi connection I can enable Sharing but I don't see the option to select a network connection to share with.

  • Good trick!

  • Using Windows 8 as the parent and setting up my VM with Windows Server 2013 R2, I managed to get the connection setup but it would not let me connect to the internet, keep showing as limited connection on the child. I had the same issue with the bridge method.

    Giving up I ended up trying to RDP to the VM, in which I had to enable Remote Desk from the Server Management tool on the VM and just like that the internet connection started to work!

  • Don't work with Windows 8.1?

    - No Internet access

Page 1 of 2 (18 items) 12