Windows 8 and 8.1 Forums


Can not install Virtual Switch external in Hyper-V

  1. #1


    Posts : 21
    Windows 8

    Can not install Virtual Switch external in Hyper-V


    I am running Windows 8.1 Pro with Hyper-V enabled. When I had Windows 8 I could install a Virtual switch with out any problems, since upgrading I can not install a Virtual Switch with External or Internal settings.

    Not sure if this is relevant or not but when I look at the Ethernet properties never "Hyper-V Extensible Virtual Switch" or "Microsoft Network Adapter Multiplexor Protocol" are ticked. I have tried ticking them but get the error message "Could not add the requested feature. The error is: The data is invalid". I have checked that I am using the latest and correct driver for the card.

    Any help gratefully received.
    Attached Thumbnails Attached Thumbnails Capture.JPG  

      My System SpecsSystem Spec

  2. #2


    Posts : 21
    Windows 8


    I think it is a hardware problem - when I switch on the computer today there was no internet connection. Looking in the Device Manager there is a yellow exclamation mark next to the Broadcom Netlink and the message says "this device cannot start (code 10).

    I will get a network card and see what happens!
      My System SpecsSystem Spec

  3. #3


    UK
    Posts : 333
    Windows Server 2012 R2 / 8.1


    Hey,

    Have your tried updating your network drivers?

    It would be good to see how your network adapter setup looks an easy way or us to do this work is going to be in PowerShell.

    Open PowerShell:

    On the Start screen, type PowerShell, right-click the Windows PowerShell app tile, and then, in the app bar, click Run as administrator.

    Once PowerShell is loaded you can run a command to get your Network adapters. Enter the cmdlet:

    Get-NetAdapter

    This will show in a table a list of your network adapters and under the column InterfaceDescription

    From here you will be able to see if you have any VEthernet networks created in your network.

    I suggest you try and create a new virtual switch from PowerShell. The command will be shown below (Note you may want to delete previous Vethernet switches bound to the Network adapter before hand). The one thing you will need to change is the -NetAdapterName; input the name from the Name field from the Get-NetAdapter table.

    The command below will create an external network with OS management enabled.

    New-VMSwitch "VM Network" -NetAdapterName "Ethernet 2" -AllowManagementOS $True

    Click image for larger version


    Hope this helps.

    Cheers,
    Harry
      My System SpecsSystem Spec

  4. #4


    Posts : 21
    Windows 8

    Thank you - still have same problem


    Thank you for your reply and help.

    I followed your instructions and the Virtual Switch showed up in the PowerShell. I then removed it and then made a new one in the PowerShell - checked it with the Get-NameAdapter and all appeared to be ok.

    But still when I run my Virtual machine it says there is no connection. The annoying thing is it all work in Windows 8 and it is only since I have upgraded to 8.1 that the problem has occurred. I have checked that I have the latest drivers and I have even done a Windows restore in case something had gone a miss.
      My System SpecsSystem Spec

  5. #5


    UK
    Posts : 333
    Windows Server 2012 R2 / 8.1


    Hello Martin,

    Ok, I am going to need to know a bit more about your setup.

    Just get a few of the easy questions done

    has Your hyper-v host machine currently got network?
    Is the network from your machine using the Same network interface card as you have bound to the Vswitch?
    Have you made sure in the Hyper-v Switch manager you have got the Virtual machine attached to the correct Vswitch?
    Within the Virtual machine have you got the Network properties set to DHCP or static?
    If static are your settings correct ? (please double check)

    Are you able to ping google for example.
    ping 8.8.8.8

    are you able to ping the hyper-v host machine from the VM?
    Can the Virtual machine be pinged from the Hyper-V host?

    Also on the Virtual machine please try and run a troubleshoot problem - right click the connection icon in the bottom right and click "Troubleshoot Problem"

    It is very hard to troubleshoot network problems with out knowing you setup.

    for example from both machines seeing IPConfig /all and then seeing your network adapters might be useful and the rest of the topology


    Cheers,
    Harry
      My System SpecsSystem Spec

  6. #6


    Posts : 21
    Windows 8


    Hi Harry,
    Going through your questions:
    Yes - the host machine has network.
    Yes - the Vswitch is bound to the only network card I have.
    Yes - I only have one Vswitch
    I believe the virtual machine is to DHCP it is running Windows XP - if I do an IPconfig it gives the following:
    Connection-specific DNS Suffix . :
    Autoconfiguration IP Address . . : 169.254.47.203
    Subnet Mask . . . . . . . . . . : 255.255.0.0
    Default Gateway . . . . . . . . :

    The only thing I can ping from the virtual machine is 127.0.0.7 and the 169.254.47.203 anything else returns "destination host unreachable".

    No - I can't ping the host machine from the virtual machine.
    No - I can't ping the virtual machine from the host.

    If I run the network trouble shooter from within the virtual machine it ends with "Windows could not finish repairing the problem because the following action cannot be completed Renewing your IP address"

    I have attached screen shoots of the IPconfig /all of the Host and the virtual machine.

    Thanks again for your help.
    Martin
    Attached Thumbnails Attached Thumbnails Host.PNG   Virtual.PNG  
      My System SpecsSystem Spec

  7. #7


    UK
    Posts : 333
    Windows Server 2012 R2 / 8.1


    Martin,

    Currently your virtual machine is seeing what is called an APIPA address. If you want a little more information I will attach a link with a little synopsis:

    What is Automatic Private IP Addressing (APIPA)? - Definition from WhatIs.com

    Right we need your Virtual Machine not to be looking at this address so lets go in and set the Virtual Machines IP Address to static:

    For this you are go in to the Virtual machines networking Settings:

    Windows key
    Type "Network and Sharing Center"
    Click "Change Adapter settings"
    Right click the ethernet adapter
    click "properties"
    Click "Internet Protocol Version 4(TCP/IPv4)

    Now to set the static address (note you might want to log in to your router just to find an address that is not being to make sure you do not attempt to assign two machines the same IP address)

    for example:
    Ip Address: 192.168.0.20
    subnet mask: 255.255.255.0
    Default Gateway: 192.168.0.1

    Primary DNS Server: 192.168.0.1

    After setting your IP address correctly as static, restart your virtual machine and then come back to me with your findings and we will go from there.

    Cheers,
    Harry
      My System SpecsSystem Spec

  8. #8


    Posts : 21
    Windows 8


    Hi Harry,

    Thanks again for your input.
    I made the changes you suggested and there appeared to be some improvement.
    The virtual machine now "thinks" it is connected, however there is no received data and it is not going on line or showing up in my router as an attached item and the Hyper-V shows that it doesn't have an IP address.

    I have taken a few screen shots.

    Martin
    Attached Thumbnails Attached Thumbnails Hyper-V.PNG   Virtual Local Area .PNG   VirtualXP.PNG  
      My System SpecsSystem Spec

  9. #9


    UK
    Posts : 333
    Windows Server 2012 R2 / 8.1


    Right as you are on XP you will need to use a legacy adapter in hyper-v it will not recognize a normal hyper-v switch
      My System SpecsSystem Spec

  10. #10


    UK
    Posts : 333
    Windows Server 2012 R2 / 8.1


    To do this you will need to power down your virtual machine:

    Bring up the virtual machine settings (right click vm settings)

    Locate the Network Adapter > click "Remove", click "Ok"

    Then click "Add Hardware" select "legacy Network Adapter", Click Add

    Then bind the Vswitch to the new legacy adapter and boot that VM backup
      My System SpecsSystem Spec

Page 1 of 3 123 LastLast
Can not install Virtual Switch external in Hyper-V
Related Threads
Hyper-V Virtual Switch 101: How to create and use Virtual Switches to connect Virtual Machines to Network I will try to make this tutorial as simple and easy to understand as possible. Therefore some examples used might seem to you fellow geeks too simple. However, I ask you to understand that...
Hello all, I'm learning windows phone 8, and I want to run the windows phone 8 simulator on my PC ( OS windows 8.1 pro ), but the simulator can not run because it can not create the virtual switch in Hyper-V, and I also can not do it manually :mad:. This is the error when I create the new virtual...
Hi, I had Hyper-V and Ubuntu running on Windows 8 no problem. I've since done a fresh install to 8.1, and I can no longer create an External Virtual Switch. The button for "Create Virtual Switch" is grayed out when I select "External". I can create Internal and Private switches, but not...
After i updated to Windows 8.1 Enterprise from Windows 8 Enterprise, Hyper-V does not function correctly. When I add an iso image to a new virtual server or start one of my existing, I can see the iso file is loaded in the bottom thumbnail. But when I connect to the virtual server it just says:...
hyper-v - error in creating external virtual switch I got an error in creating external virtual switch at hyper-v on windows 8 pro x64. I have one xp vm and tried to make an network connection, but I coul not success. Please let me know how to make creating external virtual switch at...
I have a Win8-64 system hosting a Win8-32 VM. A physical Wifi adapter provides Internet sharing, and a virtual switch provides Internet access to the guest VM via "internal network". However, the Win8-64 host seems to be confused as to which adapter provides Internet access. If I delete the...
Hi All, Getting a strange error with Hyper-V on Windows 8 Pro x64. When I try and add a virtual switch I get: Error Applying Virtual Switch Properties Changes Failed while adding virtual Ethernet switch connections. Ethernet port '{a bunch of stuff}' bind failed: The data is invalid....
Eight Forums Android App Eight Forums IOS App Follow us on Facebook