Windows 10: No internet when Hyper-V running, need help configuring external switc
What a mess you have created! I think I've never seen such an amount of unusable network connections on single Windows PC.
Anyway, please post following two screenshots:
1.) On host, open an elevated (= Run as administrator) PowerShell or PowerShell ISE, type command Get-VMSwitch, press Enter. Take a screenshot of output and post here, example below:
Your first screenshot in original post might already answer this question but to be sure I want to see this from PowerShell
2.) Open Device Manager on host, expand Network adapters. Take a screenshot, post here, example below:Kari
OK, after cleanup it looks quite good except that you have no external switches created.
Extract from a tutorial at our sister site Eight Forums:
(From Hyper-V Virtual Switch Manager)
A Virtual Switch
can be external, internal or private.
- External Virtual Switch: will connect a vm to host NIC. If host NIC is connected to Internet through router, the vm is also connected to Internet. If host NIC (LAN) is not connected to router or if the router has no Internet access, the internal network will still work allowing computers (physical and vm) belonging to the same subnet and workgroup or domain to communicate with each other (file and media sharing etc.). When connecting external switch to host WLAN NIC, the vm loses all connectivity when WLAN is disabled or not connected on host.
- Internal Virtual Switch: When a virtual NIC is connected to Internal VS it can communicate with other computers and vms on the same subnet but has no Internet access.
- Private Virtual Switch: When a virtual NIC is connected to Private VS it can communicate with other vms on same Hyper-V server but cannot communicate with host PC nor has it Internet access. A Private vs is often needed when installing a legacy Linux or pre-XP Windows vm. After installation you need then to disable Private Switch and use Internal or External to connect to the network.
You have managed to create an internal switch, now it's time to create an external one.
See Part Three: Create a virtual switch in this tutorial Hyper-V virtualization - Setup and Use in Windows 10 - Windows 10 Forums. Notice that as you mentioned you only have WLAN connection on your PC, you need to select the WLAN NIC in Step 3.4 in the tutorial.
Do not change any default settings in network adapter properties manually! Windows and Hyper-V do all that automatically. In your case as you will create an external switch using a WLAN NIC a so called Bridge will also be created. That, too should be left alone, do not change its properties manually!
The bridge is required because a Hyper-V vm sees all network connections as wired connections; a host WLAN NIC takes care of all communications, the Bridge presents it as a wired NIC to vm:
An important detail to notice is that after you create an external switch to allow network and Internet on your virtual machines, your host PC will also switch to it, starts using it as network adapter. In other words when you will see in host Network and Sharing Centre that host is using the Hyper-V external switch, leave it there, do not try manually to switch back to your WLAN NIC.
Create an external virtual switch using your WLAN NIC, come back to tell how it went.
YOU ARE AWESOME BUDDY, ok so first thing I got everything to work. For some weird reason when I tried to create external switch it threw bunch of errors, I just fired up turn on/off features and removed Hyper V, restart, re enable Hyper V and restart and created external Switch according to step 3.4. That alone didn't resolve the issue, Host PC maintained internet but guest OS wouldn't. It was step 5.4_& 5.5 that made everything work flawlessly. What an excellent GUIDE you have created. So easy to follow and works 100% in first attempt. I wish I had ran into this guide first, for whatever reason in my google search it didn't come up on top.
I just wrote up what made my setup work for other noobs who might run into same issues as me, as I have seen many other forums in which people mentioned same issue but found no resolution.
Anyways THANK YOU SO MUCH AGAIN. You rock.
You are welcome
I got this rather odd error message when trying to mount an iso from an external drive using Hyper-V.
The external drive is formatted as NTFS, so the second part does not apply.
The iso does mount if I copy it to an "internal" drive in...
It seems some CPU's will handle HYPER-V in a VM running on a Host where a HYPERVISOR (KVM in this case) is already running.
One needs to make a few mods otherwise booting up the VM running UNDER the HYPER-V (the 2nd level VM) will...
I have them both set up, but I don't seem to have any options to enable any sound in the hardware section of Hyper-V. Is it not possible to use these operating systems with sound? I used to use Windows Virtual PC 2007 and sound worked perfectly on...
I am using Windows 10 Insider Preview 11082 (upgraded from Windows 1151 fully updated.
I had installed the Hyper-V feature in the latest Windows 1151 but had not used it before I received and installer the Insider Preview edition.
As the title indicated, anybody tried running both successfully on Win 10?
I've seen people doing that on Win 8 forum( Solved Hyper V and VMWare on the same machine - Page 2 ), so I'm wondering if this method would work on Win 10...