Hyper-V no Internet with External switch using Wi-Fi adapter

  1.    #1

    Hyper-V no Internet with External switch using Wi-Fi adapter


    I would like to use an external switch with my virtual machine in Hyper-V. I would like to use my Wi-Fi adapter, but if I set it, my internet is broken.

    Click image for larger version. 

Name:	adapters.PNG 
Views:	3 
Size:	59.6 KB 
ID:	237627

    I set my external switch to use my Wi-Fi adapter.

    Click image for larger version. 

Name:	myswitch2.PNG 
Views:	1 
Size:	98.0 KB 
ID:	237626

    What I am doing wrong?
    Attached Thumbnails Attached Thumbnails adapters.PNG  
      My ComputerSystem Spec

  2.    #2

    Welcome to TenForums!

    How is the Virtual Machine itself configured? Is it configured to use DHCP to automatically get an IP address from your network? That's probably the first thing that you want to check.

    Once that is confirmed, verify that your VM is getting a valid IP address on your internal network. Next, from the VM, are you getting any network connectivity at all? Can you ping other machines on your network, such as your physical machine itself or your router?

    Let's start with that. Also, if you need more detailed directions on the above items let me know and I'll go into more detail on checking those items.
      My ComputerSystem Spec

  3.    #3

    Hi hsehedstedt!

    Thanks for your answer.

    Where can I check the DHCP?

    It seems it does not get an IP address. By the way, I would like to set up docker-machines.

    Click image for larger version. 

Name:	docker machine ls.PNG 
Views:	23 
Size:	6.5 KB 
ID:	237645

    I can not ping across the VM-s. And I cannot connect through ssh as well.

    Although if I use one of the VMWare adapters for the external switch adapter it is much better.

    Click image for larger version. 

Name:	docker machine ls vmware.PNG 
Views:	0 
Size:	13.6 KB 
ID:	237646

    In this case I can ping them on the given addresses It seems to work from everywhere. (The above errors are okay, I know why they throw and the first one not setted up it is okay.)
    They gets the tcp:// and tcp://
    On the other hand, I do not think that I need that VMWare virtual switch to get work. Moreover, in this use case, I have no Internet on the guests. (In my root problem with the Wi-fi I lose net everywhere start from my host machine as well.)
      My ComputerSystem Spec

  4.    #4

    You should have a network bridge - see the pictures in this tutorial highlighted in yellow.

    Click image for larger version. 

Name:	Screenshot 2019-06-18 at 20.37.25.png 
Views:	0 
Size:	644.6 KB 
ID:	237647

    Normally when you create the external switch it creates the bridge so you could try deleting the switch and recreating if you don't as it isn't clear the difference between your top picture (with bridge) and bottom (without).
      My ComputerSystem Spec

  5.    #5

    The bottom one is when I do the external switch through the VMWare adapter.

    Yes if I do it with the Wi-fi one it creates a bridge.
      My ComputerSystem Spec

  6.    #6

    Open Start > Network & Internet > Ethernet > Under the section called IP settings it should say for "IP assignment: Automatic (DHCP)". If not, click the Edit button to change it to DHCP.

    Below that, you should then see valid IP addresses on your internal network.

    Click image for larger version. 

Name:	Image1.jpg 
Views:	22 
Size:	40.3 KB 
ID:	237669
      My ComputerSystem Spec

  7.    #7

    Oh, in my host machine, yes I have enabled.

    Click image for larger version. 

Name:	ipconfig.PNG 
Views:	0 
Size:	23.5 KB 
ID:	237672
      My ComputerSystem Spec

  8.    #8

    That looks good. Try a few things from your VM:

    1) ping

    That is the address of your default gateway (router). That will at least confirm that you can communicate with a device on your internal network.

    2) Ping

    That is a Google server. So at this point we're trying to see if you can reach an address outside of your network on the Internet.

    3) Run these commands

    That is doing a DNS lookup to resolve "www.google.com" to an IP address. It should be able to return an address if it is able to successfully perform a DNS lookup. Here's an example of what that looks like for me:

    Default Server: HG6Box

    > Google
    Server: HG6Box

    Non-authoritative answer:
    Name: Google
    Addresses: 2607:f8b0:4000:811::2004

    Let's start with those. I have more to follow up with after that depending upon what that shows us.
      My ComputerSystem Spec


Related Threads
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
I have succesfully used a Hyper-V virtual switch connected to the wireless adapter in my laptop. All my VM's could access my LAN independently, and could get an ip address from the DHCP server. This means, AFAIK, that my wireless adapter can and...
After adding Hyper-V to Windows 10 Pro, Windows now accesses the internet with the virtual switch I created for Hyper-V instead of my Ethernet connection. Why isn't Windows 10 using my Ethernet connection?
Hello, I was trying to use prior thread, but it was too old and suggested to create new thread, also I am total NOOB, COULDN'T figure out myself so asking for help here. So i finally managed to do P2V and create .VHDX image, successfully created...
Hyper-V Virtual Switch in Virtualization
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...
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 11:00.
Find Us