Windows 10: Hyper-V virtual switch has disconnected my computer from accessing the internet

Discus and support Hyper-V virtual switch has disconnected my computer from accessing the internet in Windows 10 Software and Apps to solve the problem; Hi,So I've been setting up a Hyper-V Linux VM for Ubuntu and I enabled an external virtual switch connection in the hope of accessing internet through... Discussion in 'Windows 10 Software and Apps' started by quinndacre, Jul 25, 2022.

  1. Hyper-V virtual switch has disconnected my computer from accessing the internet


    Hi,So I've been setting up a Hyper-V Linux VM for Ubuntu and I enabled an external virtual switch connection in the hope of accessing internet through my VM, however upon applying the changes in the virtual switch manager in external network settings, my internet access was disconnected and I have not been able to reconnect since, I understand applying these settings may have wiped my previous internet configuration. Furthermore in the virtual machine itself there is not internet connection. Can someone assist?Much appreciatedThanks

    :)
     
    quinndacre, Jul 25, 2022
    #1
  2. Kari Win User

    Win10 Accesses the Internet With Hyper-V's Virtual Switch

    Just to add to Mystere's excellent post, using a Hyper-V external switch virtual machines get a bridged connection. If you prefer NAT (Network Address Translation) instead, you don't have to create an external virtual switch. About bridged vs. NAT: NAT vs. bridged network: A simple diagram - TechGenix

    To use NAT in Hyper-V, first create an Internal switch in Virtual Switch Manager then share your host Ethernet or WLAN connection with your internal switch:


    Hyper-V virtual switch has disconnected my computer from accessing the internet [​IMG]

    In VM settings set virtual machines to use the internal switch. They will now get private IP addresses 192.168.137.XXX, internal switch on host acting as DHCP server with IP 192.168.137.1.

    Using NAT only with virtual machines makes external virtual switch unnecessary but as it makes networking between host and virtual machines quite a challenge if not impossible, the bridged mode with an external switch is the recommended way.

    Quote from an old tutorial at our sister site EightForums.com:

    (From EightForums.com tutorial Hyper-V Virtual Switch Manager)
     
  3. Bulldog Win User
    Win10 Accesses the Internet With Hyper-V's Virtual Switch

    Thanks very much for your help. Please bear with me as I become better acquainted with Hyper-V:

    I expected to see the virtual switch being used for internet access by the virtual machine when I am actually running the virtual machine. I was not expecting to see the virtual switch being used for internet access by my computer when I am not running a virtual machine. In that case I was expecting to see my computer using my 'regular' Ethernet connection, just as it did before I added Hyper-V.

    It seems there's something basic about Hyper-V that I don't understand (yet.) Would you please explain?
     
    Bulldog, Jul 25, 2022
    #3
  4. Mystere Win User

    Hyper-V virtual switch has disconnected my computer from accessing the internet

    Win10 Accesses the Internet With Hyper-V's Virtual Switch

    It's really pretty simple. Imagine if you had 3 physical computers, and one cable modem (with a single port on it). Now, in order for these three computers to talk to each other, and all talk to the internet, you would need a switch that sits between the modem and the computers. Correct?

    That's basically what is happening here. Only one computer (either virtual or physical) can use the built-in Ethernet connection, so when you install Hyper-V it creates a "virtual switch" that sits between the host computer, as well as all the virtual computers so they can all talk to each other, as well as the internet. Just like in the previous scenario.

    If the host was talking directly to the Ethernet, then the guests would not be able to use it.
     
    Mystere, Jul 25, 2022
    #4
Thema:

Hyper-V virtual switch has disconnected my computer from accessing the internet

Loading...
  1. Hyper-V virtual switch has disconnected my computer from accessing the internet - Similar Threads - Hyper virtual switch

  2. Hyper-V virtual switch not working

    in Windows 10 Gaming
    Hyper-V virtual switch not working: The following issue is about Hyper-V when creating a home lab.Am trying to troubleshoot why my client VMs are unable to ping each other while using the "internal switch" option despite having been assigned static IPs within the same subnet. The internal switch virtual network...
  3. Hyper-V virtual switch not working

    in Windows 10 Software and Apps
    Hyper-V virtual switch not working: The following issue is about Hyper-V when creating a home lab.Am trying to troubleshoot why my client VMs are unable to ping each other while using the "internal switch" option despite having been assigned static IPs within the same subnet. The internal switch virtual network...
  4. Hyper-V virtual switch has disconnected my computer from accessing the internet

    in Windows 10 Gaming
    Hyper-V virtual switch has disconnected my computer from accessing the internet: Hi,So I've been setting up a Hyper-V Linux VM for Ubuntu and I enabled an external virtual switch connection in the hope of accessing internet through my VM, however upon applying the changes in the virtual switch manager in external network settings, my internet access was...
  5. Hyper-V virtual switches difference?

    in Windows 10 Virtualization
    Hyper-V virtual switches difference?: I made a new external switch in Hyper-V, and the screenshot below is what I have now: [img] First 3 adapters from screenshot are as follows: 1. Physical realtek adapter 2. Default (non removable) virtual switch 3. vEthernet is the external switch I made BUT, what is...
  6. Hyper-V Virtual Switch Issues

    in Windows 10 Virtualization
    Hyper-V Virtual Switch Issues: I have multiple VMs that work very well but I am trying to limit some of them to accessing my internal network only but I have been unable to find a way to do that. The Default Switch simply doesn't allow access to my internal network and when I set the Virtual Switch that I...
  7. Unable to Access Shared Folder on Hyper-V Virtual Switch

    in Windows 10 Network and Sharing
    Unable to Access Shared Folder on Hyper-V Virtual Switch: I have a Hyper-V virtual machine that uses a default switch, which is connected to a virtual adapter called vEthernet on the Windows 10 host. Using the IP address of the vEthernet adapter, I have no problem pinging the host machine from both the guest and the host machines....
  8. Hyper-v virtual switch breaks my network

    in Windows 10 Virtualization
    Hyper-v virtual switch breaks my network: I’m not entirely sure if this should be in networking section. Sorry if this is wrong section. First little background. I have Raspberry Pi running Kodi. I also have Windows 10 computer with TV tuner card. I can watch TV on Kodi over the network as the Windows 10 machine...
  9. Hyper-V Virtual Switch

    in Windows 10 Virtualization
    Hyper-V Virtual Switch: I cannot create a Virtual switch when using Hyper-V get this error message: [img] 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 running Windows 10 pro. Thanks...
  10. Win10 Accesses the Internet With Hyper-V's Virtual Switch

    in Windows 10 Network and Sharing
    Win10 Accesses the Internet With Hyper-V's Virtual Switch: 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? 83247