Hyper-V extensible virtual switch disables network

9,898

Solution 1

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).

Solution 2

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

Share:
9,898

Related videos on Youtube

Sebastian Krysmanski
Author by

Sebastian Krysmanski

Updated on September 18, 2022

Comments

  • Sebastian Krysmanski
    Sebastian Krysmanski almost 2 years

    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?

  • Sebastian Krysmanski
    Sebastian Krysmanski over 11 years
    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?
  • joeqwerty
    joeqwerty over 11 years
    It sounds like that could be the case.
  • joeqwerty
    joeqwerty over 11 years
    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.
  • Sebastian Krysmanski
    Sebastian Krysmanski over 11 years
    @joeqwerty Yes, that's what I meant.
  • Gabor Farkas
    Gabor Farkas over 11 years
    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.