3

I just installed the Hyper-V role on my Windows Server 2012. It comes with something called a "Hyper-V extensible virtual switch". I assigned it to the only network card in my server. By doing so, the network card became useless/disabled/inactive/.. because the virtual switch disabled all features (IPv4, IPv6, Client for Microsoft Networks, ...) on the network adapter.

Can the extensible virtual switch be used in a single NIC configuration? If so, how do I configure the host network after enabling the virtual switch?

2 Answers 2

3

In Windows Server 2008 R2 Hyper-V when using a single NIC and creating a Virtual Switch on that NIC, Hyper-V will create a virtual NIC that all of the networking components bind to and the physical NIC gets bound with the Microsoft Virtual Network Switch Protocol (which is the virtual switch driver). That shouldn't stop you from having normal network connectivity through the physical NIC.

In your case, the Hyper-V host and the Hyper-V guests will share the physical NIC. Make sure to check the check box on the Microsoft Virtual Switch that reads "Allow management operating system to share this network adapter".

That being said, at the very least you should have 2 network cards in the server: 1 dedicated for the host server and a second dedicated for the VM's.

I'm assuming all of the above is applicable in W2K12 and Hyper-V 2K12, or that it's very nearly applicable.

http://technet.microsoft.com/en-us/library/cc816585(v=ws.10).aspx

2
  • I did what you described but it didn't work. The problem was that I had VirtualBox installed. After uninstalling it, the virtual switch now works (see my answer). Is it possible that Hyper-V was confused by the virtual NIC that comes with VirtualBox? Nov 1, 2012 at 6:56
  • It sounds like that could be the case.
    – joeqwerty
    Nov 1, 2012 at 12:44
3

The problem was that I had VirtualBox installed (but not running). After uninstalling VirtualBox, it now works as it should.

Note: All features (IPv4, ...) are still disabled on my physical NIC. Instead, the virtual switch takes over the features and settings (like static IP address) from the physical NIC and is now used for network traffic. The physical adapter is no longer used (directly).

3
  • 2
    The physical adapter is used, otherwise you wouldn't have phsical connectivity. All of the "intelligence" is move to the virtual NIC and the only thing bound to the physical NIC is the Microsoft Virtual Network Switch Protocol. Glad you got the problem sorted out.
    – joeqwerty
    Nov 1, 2012 at 12:46
  • @joeqwerty Yes, that's what I meant. Nov 2, 2012 at 5:45
  • The marked solution helped me a lot. I also had to open the virtual switch manager from the hyper-v console, because the virtual switch was attached to a logical network, not the physical device. Dec 11, 2012 at 8:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .