Feed Icon  


  • Bryant Likes
  • Send mail to the author(s) E-mail
  • twitter
  • View Bryant Likes's profile on LinkedIn
  • del.icio.us
Get Microsoft Silverlight
by clicking "Install Microsoft Silverlight" you accept the
Silverlight license agreement

Hosting By

Hot Topics


Open Source Projects



Setting Up Hyper-V Virtual Networking

Posted in at Wednesday, January 9, 2008 2:57 AM Pacific Standard Time

In my last post about setting up Windows Server 2008 I mentioned that one issue I had was that you couldn't bind Hyper-V machines to the 802.11 wireless network connection. Today I spent a little time working on this and figured out a nice solution that seems to work well for me.

The solution is to setup an internal virtual network (much like you might do with Virtual Server). Setting this up is actually pretty easy.

  1. In the Hyper-V Manager, under Actions (right panel), click the Virtual Network Manager.
  2. In the Virtual Network Manager in the Create virtual network panel, select Internal and click the Add button.
  3. In the Virtual Network Properties change the Name to something useful (I've named mine Local Network as shown below).


At this point you should now have a new network adapter on your host machine. Note: I recommend you rename this new network adapter to something more meaningful than Local Network Adapter X. I've renamed mine to Virtual Local Network.

Now you can add this network to each of your virtual machines, but at this point, unless you assign an IP address in each connection, you won't be able to do much. This is where ICS comes in. To enable ICS follow these steps:

  1. Click on the network icon in the tray of your host machine and select Network and Sharing Center.
  2. From there click Manage network connections.
  3. Select the network adapter that you use to access the Internet. In my case this is my wireless network adapter. Right click it and select Properties.
  4. In the properties dialog select the Sharing tab.
  5. On this tab check the box that says "Allow other network users..." and then set the Home networking connection to be the network adapter that was created above (now you see why I said to rename it to something useful).


Windows will prompt you that it will set the IP address to which should be fine. Now your virtual machines that have this network connection will automatically get an IP address and will be able to connect to the Internet (provided your wireless connection is working).

Because each adapter also gets an automatic you can now share files and folders between your host and your virtual machines which is important since you can't just drag-and-drop files like you can with Virtual PC.

So there you have it. You now have your virtual network setup and can access the Internet via your wireless connection with Hyper-V virtualization.

 Update: Ben (the Virtual PC Guy) just posted a great explanation of Networking in Hyper-V which gives you more of what is actually going on.

Update[2]: Ok so Ben just posted again but explains how to use your wireless connection with Hyper-V. He probably does a better job of explaining it so if my post leaves you confused go read his. :)

Technorati Tags: ,
Tuesday, July 22, 2008 7:17:34 AM (Pacific Daylight Time, UTC-07:00)
Thanks for the instructions Bryant. It was fairly easy to set up the VMs to use ICS. However, I had to install integration services before the VM would recognize the adapter. Do you think this is required or did I just need to reboot the magic number of times?

Kevin K
Sunday, November 9, 2008 7:45:18 AM (Pacific Standard Time, UTC-08:00)
Thanks Bryant, this is just exactly the info I was looking for!
Paul C
Monday, December 22, 2008 12:39:03 PM (Pacific Standard Time, UTC-08:00)
In addition to ICS, RRAS offers the ultimate in configurability and a network bridge offers the ultimate in simplicity. See my blog post: http://sqlblog.com/blogs/john_paul_cook/archive/2008/03/23/using-wireless-with-hyper-v.aspx
Thursday, August 27, 2009 10:30:09 AM (Pacific Daylight Time, UTC-07:00)
Dude! You Da Man!
Unbounded Hyper-V!
Thank You!
Henry Schulman
Comments are closed.