Creating an external virtual switch on Hyper-V causes host to experience very slow networking











up vote
1
down vote

favorite












I've set up my Hyper-V environment (Win 10 Pro 64-bit, update 1809) to have an external virtual switch bound to my wifi adapter and shared with the host OS. I've used this virtual switch with my Debian guest VM to access the internet and the local network.



This was fine up until a couple of days ago when my host's network suddenly dropped network throughput from something like 350Mbps to 8Mbps.



Removing the external switch causes the slowdown to go away completely.



I've tried disabling VMQ, even though my wireless card driver doesn't support it (it's the built-in Qualcomm wifi chip on an Asus Strix z270e motherboard), but that didn't change anything.



Is there a way to have an external switch that shares the connection with the host without these problems, or a resource I can study to figure out how to get around these problems? I need the VM to be exposed to the local network, since I connect to it via test devices connected to my LAN.



Update 1



The answer provided here does describe my situation correctly, and I've tried the solution by making applying the following steps:




  1. creating an Internal virtual switch,

  2. selecting the internal virtual switch and my wifi NIC in the network control panel and selecting "create bridge" from the context menu.


This resulted in the same slowdown as before with an external virtual switch.



External links



https://win10.guru/hyper-v-external-switches-killing-networking-in-insider-builds










share|improve this question















migrated from serverfault.com Oct 31 at 23:57


This question came from our site for system and network administrators.















  • Research TCP Offloading virtual machine performance issues.
    – Appleoddity
    Oct 31 at 23:21










  • I don't think that applies to my scenario, as the Qualcomm NIC driver doesn't support it. I've also disabled IPSec offloading in the network adapter on the host, and it doesn't make a lick of difference.
    – Klemen Slavič
    Oct 31 at 23:39















up vote
1
down vote

favorite












I've set up my Hyper-V environment (Win 10 Pro 64-bit, update 1809) to have an external virtual switch bound to my wifi adapter and shared with the host OS. I've used this virtual switch with my Debian guest VM to access the internet and the local network.



This was fine up until a couple of days ago when my host's network suddenly dropped network throughput from something like 350Mbps to 8Mbps.



Removing the external switch causes the slowdown to go away completely.



I've tried disabling VMQ, even though my wireless card driver doesn't support it (it's the built-in Qualcomm wifi chip on an Asus Strix z270e motherboard), but that didn't change anything.



Is there a way to have an external switch that shares the connection with the host without these problems, or a resource I can study to figure out how to get around these problems? I need the VM to be exposed to the local network, since I connect to it via test devices connected to my LAN.



Update 1



The answer provided here does describe my situation correctly, and I've tried the solution by making applying the following steps:




  1. creating an Internal virtual switch,

  2. selecting the internal virtual switch and my wifi NIC in the network control panel and selecting "create bridge" from the context menu.


This resulted in the same slowdown as before with an external virtual switch.



External links



https://win10.guru/hyper-v-external-switches-killing-networking-in-insider-builds










share|improve this question















migrated from serverfault.com Oct 31 at 23:57


This question came from our site for system and network administrators.















  • Research TCP Offloading virtual machine performance issues.
    – Appleoddity
    Oct 31 at 23:21










  • I don't think that applies to my scenario, as the Qualcomm NIC driver doesn't support it. I've also disabled IPSec offloading in the network adapter on the host, and it doesn't make a lick of difference.
    – Klemen Slavič
    Oct 31 at 23:39













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I've set up my Hyper-V environment (Win 10 Pro 64-bit, update 1809) to have an external virtual switch bound to my wifi adapter and shared with the host OS. I've used this virtual switch with my Debian guest VM to access the internet and the local network.



This was fine up until a couple of days ago when my host's network suddenly dropped network throughput from something like 350Mbps to 8Mbps.



Removing the external switch causes the slowdown to go away completely.



I've tried disabling VMQ, even though my wireless card driver doesn't support it (it's the built-in Qualcomm wifi chip on an Asus Strix z270e motherboard), but that didn't change anything.



Is there a way to have an external switch that shares the connection with the host without these problems, or a resource I can study to figure out how to get around these problems? I need the VM to be exposed to the local network, since I connect to it via test devices connected to my LAN.



Update 1



The answer provided here does describe my situation correctly, and I've tried the solution by making applying the following steps:




  1. creating an Internal virtual switch,

  2. selecting the internal virtual switch and my wifi NIC in the network control panel and selecting "create bridge" from the context menu.


This resulted in the same slowdown as before with an external virtual switch.



External links



https://win10.guru/hyper-v-external-switches-killing-networking-in-insider-builds










share|improve this question















I've set up my Hyper-V environment (Win 10 Pro 64-bit, update 1809) to have an external virtual switch bound to my wifi adapter and shared with the host OS. I've used this virtual switch with my Debian guest VM to access the internet and the local network.



This was fine up until a couple of days ago when my host's network suddenly dropped network throughput from something like 350Mbps to 8Mbps.



Removing the external switch causes the slowdown to go away completely.



I've tried disabling VMQ, even though my wireless card driver doesn't support it (it's the built-in Qualcomm wifi chip on an Asus Strix z270e motherboard), but that didn't change anything.



Is there a way to have an external switch that shares the connection with the host without these problems, or a resource I can study to figure out how to get around these problems? I need the VM to be exposed to the local network, since I connect to it via test devices connected to my LAN.



Update 1



The answer provided here does describe my situation correctly, and I've tried the solution by making applying the following steps:




  1. creating an Internal virtual switch,

  2. selecting the internal virtual switch and my wifi NIC in the network control panel and selecting "create bridge" from the context menu.


This resulted in the same slowdown as before with an external virtual switch.



External links



https://win10.guru/hyper-v-external-switches-killing-networking-in-insider-builds







networking virtualization hyper-v windows-10






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 1 at 0:24

























asked Oct 31 at 23:15









Klemen Slavič

13311




13311




migrated from serverfault.com Oct 31 at 23:57


This question came from our site for system and network administrators.






migrated from serverfault.com Oct 31 at 23:57


This question came from our site for system and network administrators.














  • Research TCP Offloading virtual machine performance issues.
    – Appleoddity
    Oct 31 at 23:21










  • I don't think that applies to my scenario, as the Qualcomm NIC driver doesn't support it. I've also disabled IPSec offloading in the network adapter on the host, and it doesn't make a lick of difference.
    – Klemen Slavič
    Oct 31 at 23:39


















  • Research TCP Offloading virtual machine performance issues.
    – Appleoddity
    Oct 31 at 23:21










  • I don't think that applies to my scenario, as the Qualcomm NIC driver doesn't support it. I've also disabled IPSec offloading in the network adapter on the host, and it doesn't make a lick of difference.
    – Klemen Slavič
    Oct 31 at 23:39
















Research TCP Offloading virtual machine performance issues.
– Appleoddity
Oct 31 at 23:21




Research TCP Offloading virtual machine performance issues.
– Appleoddity
Oct 31 at 23:21












I don't think that applies to my scenario, as the Qualcomm NIC driver doesn't support it. I've also disabled IPSec offloading in the network adapter on the host, and it doesn't make a lick of difference.
– Klemen Slavič
Oct 31 at 23:39




I don't think that applies to my scenario, as the Qualcomm NIC driver doesn't support it. I've also disabled IPSec offloading in the network adapter on the host, and it doesn't make a lick of difference.
– Klemen Slavič
Oct 31 at 23:39










3 Answers
3






active

oldest

votes

















up vote
1
down vote













I don't know if my suggestion can satisfy what you're really asking but what I've done is instead of using external switches I create an internal one and configure it as a NAT virtual switch..that way I don't have to deal with external vSwitches.. if what you want is to provide internet access to guest VMs it works just fine. Here's a link in case you want to implement it..it's relatively easy. Hope that helps!






share|improve this answer





















  • I would like to avoid having to do port forwarding from my host's IP if possible, a separate IP for the guest VM on the local network is kind of a must. At this point, it would be easier for me to just migrate to VirtualBox if there isn't an alternative.
    – Klemen Slavič
    Oct 31 at 23:31


















up vote
1
down vote













So, I've been fighting this issue myself for a few hours on my nice new laptop, and I believe I've found the combination of settings that seems to have restored most of my connectivity.



Since I have an Intel NIC I have no idea if this will help, but I'm curious and would love for you to try if you haven't gotten it sorted already.



Problem no.1: Slow download
Disable coalescing on the Wifi-card. This completely restored my download speed and resolved issues I was seeing with intermittent connectivity in the host OS and on VMs.



Problem no.2: Slow upload
Disable Large Send Offload on the Virtual adapter representing the external switch. In my case called vEthernet(WAN)






share|improve this answer




























    up vote
    1
    down vote













    Disabling Large Send Offload Version 2 in the properties of the external vEthernet adapter helped me with this problem.






    share|improve this answer








    New contributor




    Avi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.


















      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "3"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














       

      draft saved


      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1371759%2fcreating-an-external-virtual-switch-on-hyper-v-causes-host-to-experience-very-sl%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      1
      down vote













      I don't know if my suggestion can satisfy what you're really asking but what I've done is instead of using external switches I create an internal one and configure it as a NAT virtual switch..that way I don't have to deal with external vSwitches.. if what you want is to provide internet access to guest VMs it works just fine. Here's a link in case you want to implement it..it's relatively easy. Hope that helps!






      share|improve this answer





















      • I would like to avoid having to do port forwarding from my host's IP if possible, a separate IP for the guest VM on the local network is kind of a must. At this point, it would be easier for me to just migrate to VirtualBox if there isn't an alternative.
        – Klemen Slavič
        Oct 31 at 23:31















      up vote
      1
      down vote













      I don't know if my suggestion can satisfy what you're really asking but what I've done is instead of using external switches I create an internal one and configure it as a NAT virtual switch..that way I don't have to deal with external vSwitches.. if what you want is to provide internet access to guest VMs it works just fine. Here's a link in case you want to implement it..it's relatively easy. Hope that helps!






      share|improve this answer





















      • I would like to avoid having to do port forwarding from my host's IP if possible, a separate IP for the guest VM on the local network is kind of a must. At this point, it would be easier for me to just migrate to VirtualBox if there isn't an alternative.
        – Klemen Slavič
        Oct 31 at 23:31













      up vote
      1
      down vote










      up vote
      1
      down vote









      I don't know if my suggestion can satisfy what you're really asking but what I've done is instead of using external switches I create an internal one and configure it as a NAT virtual switch..that way I don't have to deal with external vSwitches.. if what you want is to provide internet access to guest VMs it works just fine. Here's a link in case you want to implement it..it's relatively easy. Hope that helps!






      share|improve this answer












      I don't know if my suggestion can satisfy what you're really asking but what I've done is instead of using external switches I create an internal one and configure it as a NAT virtual switch..that way I don't have to deal with external vSwitches.. if what you want is to provide internet access to guest VMs it works just fine. Here's a link in case you want to implement it..it's relatively easy. Hope that helps!







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Oct 31 at 23:25









      Humberto Castellon

      1113




      1113












      • I would like to avoid having to do port forwarding from my host's IP if possible, a separate IP for the guest VM on the local network is kind of a must. At this point, it would be easier for me to just migrate to VirtualBox if there isn't an alternative.
        – Klemen Slavič
        Oct 31 at 23:31


















      • I would like to avoid having to do port forwarding from my host's IP if possible, a separate IP for the guest VM on the local network is kind of a must. At this point, it would be easier for me to just migrate to VirtualBox if there isn't an alternative.
        – Klemen Slavič
        Oct 31 at 23:31
















      I would like to avoid having to do port forwarding from my host's IP if possible, a separate IP for the guest VM on the local network is kind of a must. At this point, it would be easier for me to just migrate to VirtualBox if there isn't an alternative.
      – Klemen Slavič
      Oct 31 at 23:31




      I would like to avoid having to do port forwarding from my host's IP if possible, a separate IP for the guest VM on the local network is kind of a must. At this point, it would be easier for me to just migrate to VirtualBox if there isn't an alternative.
      – Klemen Slavič
      Oct 31 at 23:31












      up vote
      1
      down vote













      So, I've been fighting this issue myself for a few hours on my nice new laptop, and I believe I've found the combination of settings that seems to have restored most of my connectivity.



      Since I have an Intel NIC I have no idea if this will help, but I'm curious and would love for you to try if you haven't gotten it sorted already.



      Problem no.1: Slow download
      Disable coalescing on the Wifi-card. This completely restored my download speed and resolved issues I was seeing with intermittent connectivity in the host OS and on VMs.



      Problem no.2: Slow upload
      Disable Large Send Offload on the Virtual adapter representing the external switch. In my case called vEthernet(WAN)






      share|improve this answer

























        up vote
        1
        down vote













        So, I've been fighting this issue myself for a few hours on my nice new laptop, and I believe I've found the combination of settings that seems to have restored most of my connectivity.



        Since I have an Intel NIC I have no idea if this will help, but I'm curious and would love for you to try if you haven't gotten it sorted already.



        Problem no.1: Slow download
        Disable coalescing on the Wifi-card. This completely restored my download speed and resolved issues I was seeing with intermittent connectivity in the host OS and on VMs.



        Problem no.2: Slow upload
        Disable Large Send Offload on the Virtual adapter representing the external switch. In my case called vEthernet(WAN)






        share|improve this answer























          up vote
          1
          down vote










          up vote
          1
          down vote









          So, I've been fighting this issue myself for a few hours on my nice new laptop, and I believe I've found the combination of settings that seems to have restored most of my connectivity.



          Since I have an Intel NIC I have no idea if this will help, but I'm curious and would love for you to try if you haven't gotten it sorted already.



          Problem no.1: Slow download
          Disable coalescing on the Wifi-card. This completely restored my download speed and resolved issues I was seeing with intermittent connectivity in the host OS and on VMs.



          Problem no.2: Slow upload
          Disable Large Send Offload on the Virtual adapter representing the external switch. In my case called vEthernet(WAN)






          share|improve this answer












          So, I've been fighting this issue myself for a few hours on my nice new laptop, and I believe I've found the combination of settings that seems to have restored most of my connectivity.



          Since I have an Intel NIC I have no idea if this will help, but I'm curious and would love for you to try if you haven't gotten it sorted already.



          Problem no.1: Slow download
          Disable coalescing on the Wifi-card. This completely restored my download speed and resolved issues I was seeing with intermittent connectivity in the host OS and on VMs.



          Problem no.2: Slow upload
          Disable Large Send Offload on the Virtual adapter representing the external switch. In my case called vEthernet(WAN)







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 15 at 12:51









          Mike

          111




          111






















              up vote
              1
              down vote













              Disabling Large Send Offload Version 2 in the properties of the external vEthernet adapter helped me with this problem.






              share|improve this answer








              New contributor




              Avi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.






















                up vote
                1
                down vote













                Disabling Large Send Offload Version 2 in the properties of the external vEthernet adapter helped me with this problem.






                share|improve this answer








                New contributor




                Avi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.




















                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  Disabling Large Send Offload Version 2 in the properties of the external vEthernet adapter helped me with this problem.






                  share|improve this answer








                  New contributor




                  Avi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  Disabling Large Send Offload Version 2 in the properties of the external vEthernet adapter helped me with this problem.







                  share|improve this answer








                  New contributor




                  Avi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  share|improve this answer



                  share|improve this answer






                  New contributor




                  Avi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  answered Nov 19 at 6:51









                  Avi

                  112




                  112




                  New contributor




                  Avi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.





                  New contributor





                  Avi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






                  Avi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






























                       

                      draft saved


                      draft discarded



















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1371759%2fcreating-an-external-virtual-switch-on-hyper-v-causes-host-to-experience-very-sl%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Probability when a professor distributes a quiz and homework assignment to a class of n students.

                      Aardman Animations

                      Are they similar matrix