Page 2 of 2 FirstFirst 12
  1.    1 Week Ago #11
    Join Date : Dec 2015
    Posts : 11
    Windows 10
    Thread Starter

    That did not work.
      My ComputerSystem Spec
  2.    1 Week Ago #12
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 13,130
    Windows 10 Pro

    OK.

    Have you tested if an external switch works?
      My ComputerSystem Spec
  3.    1 Week Ago #13
    Join Date : Dec 2015
    Posts : 11
    Windows 10
    Thread Starter

    External switch still does work, but I don't want to use it as it causes problems elsewhere.
      My ComputerSystem Spec
  4.    1 Week Ago #14
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 13,130
    Windows 10 Pro

    The thing with default switch is that it can't be deleted and recreated. Only way to do it is completely remove Hyper-V feature, restart and enable Hyper-V again.

    You could try setting static IP and DNS for network adapter on guest using default switch. Set IPv4 default gateway to 172.21.183.161 and IPv4 address to 172.21.183.XXX where XXX is a value between 162 and 255. Subnet mask needs to be 255.255.255.240.

    Sample NIC settings from a VM using default switch:

    Click image for larger version. 

Name:	image.png 
Views:	19 
Size:	153.4 KB 
ID:	166924

    Same from a Finnish Hyper-V guest:

    Click image for larger version. 

Name:	image.png 
Views:	19 
Size:	160.5 KB 
ID:	166925

    Please post back telling if it works or not.
      My ComputerSystem Spec
  5.    1 Week Ago #15
    Join Date : Dec 2015
    Posts : 11
    Windows 10
    Thread Starter

    Static DNS didn't work. Then I disabled Hyper-V, restarted and enabled it again. That made the default switch work and now my VM has internet access.
    Thanks for your help.
      My ComputerSystem Spec
  6.    1 Week Ago #16
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 13,130
    Windows 10 Pro

    Quote Originally Posted by JKAVS View Post
    Static DNS didn't work. Then I disabled Hyper-V, restarted and enabled it again. That made the default switch work and now my VM has internet access.
    Thanks for your help.
    Good to know you got it working
      My ComputerSystem Spec
  7.    1 Week Ago #17

    Kari: I'm going to add this tip: disable Hyper-V - restart PC - re-enable Hyper-V as a suggested (potential) fix for default switch issues to my recent blog post on that topic. Thanks for working this through with the OP.
    --Ed--
      My ComputersSystem Spec
  8.    1 Week Ago #18
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 13,130
    Windows 10 Pro

    Quote Originally Posted by EdTittel View Post
    Kari: I'm going to add this tip: disable Hyper-V - restart PC - re-enable Hyper-V as a suggested (potential) fix for default switch issues to my recent blog post on that topic. Thanks for working this through with the OP.
    --Ed--
    The default switch is somewhat problematic, I simply cannot understand why MS has decided that it can't be deleted and re-created, to resolve connection issues or simply because user does not need it.

    Sometimes it simply does not work and as no apparent reason can be found, the only option user has left with is to disable Hyper-V feature, restart and enable Hyper-V again. This can in some cases lead to lost virtual machines.

    That being said, I find it positive that there now exists an option to set up a VM using NAT networking. Default switch is an important feature, I just wish it could be managed as any other switch.

    BTW, a workaround for those users who'd prefer not to create an external switch but also would prefer allowing full and easy networking between host and guest thus not wanting to use default switch is simply to set up an internal switch in Hyper-V Virtual Switch Manager, make VM to use it, and share host's Internet connection with this internal switch.

    Click image for larger version. 

Name:	image.png 
Views:	9 
Size:	108.3 KB 
ID:	167186

    Kari
      My ComputerSystem Spec

 
Page 2 of 2 FirstFirst 12


Similar Threads
Thread Forum
Solved Hyper-V error when creating virtual switch.
Hi this is my first post but I am really confused as to an issue with hyper-V Whenever I go to open the virtual switch manager, it says; The operation on computer 'DESKTOP-V1A0142' failed: Generic error. Is there anyway to fix this. I have not...
Virtualization
Hyper-V Virtual Switch
I cannot create a Virtual switch when using Hyper-V get this error message: 102137 I am using a Qualcomm Atheros AR9002WB-1NG Wireless Network Adapter and running Hyper-V with Admin Privleges. Laptop is a Toshiba Qosmio i7 with 8GB Ram...
Virtualization
Hyper-V - Unable to Create External Virtual Switch
I get the error "bind failed: General access denied error" when I try to create an external virtual switch. 67920 I tried running Hyper-V with as admin without success. Kevin
Virtualization
Solved Can't enable Hyper-V Extensible Virtual Switch in Networking
I can find the dialog to enable the Hyper-V Extensible Switch for my network card but when I say OK then it says: "Your current selection will also disable the following features: Hyper-V Extensible Virtual Switch" Yes or No Either way...
Virtualization
Cannot use Hyper-V Extensible Virtual Switch
Hey, new here. I wasn't sure if this should go in Network and Sharing or Programs and Apps, so I apologize if this is in the wrong category. Anyways, while trying to set up a virtual switch I discover I need to install the 'Hyper-v Extensible...
Network and Sharing
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 13:51.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums