Extremely slow NAT within a VMWare ESXi host using Linux VMsfaking NAT with a VMware distributed switch across multiple hostsHow to route public static IP to a virtual machine on a vmware ESXi host?Create separate Network for testing purposeESXi network setup for isolated internal virtual machinesCreating a bridged network in ESXi VSphere using VSphere clientLinux Routing with two NICs (LAN vs Internet) with NAT and bridging for VMsESXi network setup for VMs which connect to the Internet through PfSenseHow to make a linux VM working as a routerVMware ESXi VM bridgecommon Network on 2 dedicated ESXi serversCan only access the gateway at the end of my ssh ethernet tunnel why?

Do scales need to be in alphabetical order?

Why was the shrinking from 8″ made only to 5.25″ and not smaller (4″ or less)?

Can we compute the area of a quadrilateral with one right angle when we only know the lengths of any three sides?

Why didn't Boeing produce its own regional jet?

Why is consensus so controversial in Britain?

What's the in-universe reasoning behind sorcerers needing material components?

One verb to replace 'be a member of' a club

Detention in 1997

How do I gain back my faith in my PhD degree?

If human space travel is limited by the G force vulnerability, is there a way to counter G forces?

Why doesn't using multiple commands with a || or && conditional work?

Why do bosons tend to occupy the same state?

Mathematica command that allows it to read my intentions

Which is the best way to check return result?

Should I tell management that I intend to leave due to bad software development practices?

How can I determine if the org that I'm currently connected to is a scratch org?

How dangerous is XSS?

Is there a hemisphere-neutral way of specifying a season?

How did the Super Star Destroyer Executor get destroyed exactly?

Personal Teleportation: From Rags to Riches

Solving a recurrence relation (poker chips)

Can my sorcerer use a spellbook only to collect spells and scribe scrolls, not cast?

Is it possible to create a QR code using text?

What does “the session was packed” mean in this context?



Extremely slow NAT within a VMWare ESXi host using Linux VMs


faking NAT with a VMware distributed switch across multiple hostsHow to route public static IP to a virtual machine on a vmware ESXi host?Create separate Network for testing purposeESXi network setup for isolated internal virtual machinesCreating a bridged network in ESXi VSphere using VSphere clientLinux Routing with two NICs (LAN vs Internet) with NAT and bridging for VMsESXi network setup for VMs which connect to the Internet through PfSenseHow to make a linux VM working as a routerVMware ESXi VM bridgecommon Network on 2 dedicated ESXi serversCan only access the gateway at the end of my ssh ethernet tunnel why?













2















I have a VMWare ESXi host attached to a fast network.
The host runs two virtual machines:



  1. Gateway

  2. Client

The gateway has two network interfaces, one that's bridged to the external network (vSwitch0), and one that's bridged to the server's internal network (vSwitch1). It has firehol installed and it's doing NAT and port forwards for the internal client machine.



The client machine has an internal IP and connects via the gateway to the internet. Everything works well, but transfer speeds from the client to the internet is very slow, less than 30kB/s. Tranfers both to and from the gateway to the internet is fast (100Mbit), and so is traffic from the internet to the client. I've tried doing a network dump to see where the problem could be, but didn't find anything. Everything just looks like the line is slow.



Also, the transfer speed between the two VMs is almost a full gigabit. So that's not the problem either. Both machines are running Debian Lenny with no special modifications. I'm using open-vm-tools for VMXNET paravirtualized networking.










share|improve this question


























    2















    I have a VMWare ESXi host attached to a fast network.
    The host runs two virtual machines:



    1. Gateway

    2. Client

    The gateway has two network interfaces, one that's bridged to the external network (vSwitch0), and one that's bridged to the server's internal network (vSwitch1). It has firehol installed and it's doing NAT and port forwards for the internal client machine.



    The client machine has an internal IP and connects via the gateway to the internet. Everything works well, but transfer speeds from the client to the internet is very slow, less than 30kB/s. Tranfers both to and from the gateway to the internet is fast (100Mbit), and so is traffic from the internet to the client. I've tried doing a network dump to see where the problem could be, but didn't find anything. Everything just looks like the line is slow.



    Also, the transfer speed between the two VMs is almost a full gigabit. So that's not the problem either. Both machines are running Debian Lenny with no special modifications. I'm using open-vm-tools for VMXNET paravirtualized networking.










    share|improve this question
























      2












      2








      2








      I have a VMWare ESXi host attached to a fast network.
      The host runs two virtual machines:



      1. Gateway

      2. Client

      The gateway has two network interfaces, one that's bridged to the external network (vSwitch0), and one that's bridged to the server's internal network (vSwitch1). It has firehol installed and it's doing NAT and port forwards for the internal client machine.



      The client machine has an internal IP and connects via the gateway to the internet. Everything works well, but transfer speeds from the client to the internet is very slow, less than 30kB/s. Tranfers both to and from the gateway to the internet is fast (100Mbit), and so is traffic from the internet to the client. I've tried doing a network dump to see where the problem could be, but didn't find anything. Everything just looks like the line is slow.



      Also, the transfer speed between the two VMs is almost a full gigabit. So that's not the problem either. Both machines are running Debian Lenny with no special modifications. I'm using open-vm-tools for VMXNET paravirtualized networking.










      share|improve this question














      I have a VMWare ESXi host attached to a fast network.
      The host runs two virtual machines:



      1. Gateway

      2. Client

      The gateway has two network interfaces, one that's bridged to the external network (vSwitch0), and one that's bridged to the server's internal network (vSwitch1). It has firehol installed and it's doing NAT and port forwards for the internal client machine.



      The client machine has an internal IP and connects via the gateway to the internet. Everything works well, but transfer speeds from the client to the internet is very slow, less than 30kB/s. Tranfers both to and from the gateway to the internet is fast (100Mbit), and so is traffic from the internet to the client. I've tried doing a network dump to see where the problem could be, but didn't find anything. Everything just looks like the line is slow.



      Also, the transfer speed between the two VMs is almost a full gigabit. So that's not the problem either. Both machines are running Debian Lenny with no special modifications. I'm using open-vm-tools for VMXNET paravirtualized networking.







      linux debian router nat vmware-esxi






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 2 '10 at 23:23









      tstmtstm

      2881413




      2881413




















          2 Answers
          2






          active

          oldest

          votes


















          4














          I found the solution to this problem.



          For a completely internal network (that's not attached to any physical network interface) you need to disable TCP Segmentation Offloading from inside the OS.



          It's a simple command:



          ethtool -K <interface> tso off


          After this command my transfer speeds went from 30kb/s to full 100Mbit.






          share|improve this answer























          • Wow, thanks. I spent most of the afternoon trying to isolate my slow network issues. Once I finally figured out a physically backed vSwitch did not have this problem, I quickly found your answer. Awesome!

            – darron
            Jan 6 '11 at 0:05


















          0














          Did you try using another type of virtual network card?
          The E1000 emulation seems to work pretty good for me, maybe it's driver based?






          share|improve this answer























          • Yes, I have tried both with e1000 and VMXNET

            – tstm
            Mar 2 '10 at 23:33











          • I tried installing Ubuntu Karmic as a testing client. I found out interesting things. When using "Flexible" as the network interface, the speeds are good in both directions. But with both e1000 and VMXNET3 it's extremely slow.

            – tstm
            Mar 3 '10 at 23:04











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "2"
          ;
          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',
          autoActivateHeartbeat: false,
          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%2fserverfault.com%2fquestions%2f118536%2fextremely-slow-nat-within-a-vmware-esxi-host-using-linux-vms%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          4














          I found the solution to this problem.



          For a completely internal network (that's not attached to any physical network interface) you need to disable TCP Segmentation Offloading from inside the OS.



          It's a simple command:



          ethtool -K <interface> tso off


          After this command my transfer speeds went from 30kb/s to full 100Mbit.






          share|improve this answer























          • Wow, thanks. I spent most of the afternoon trying to isolate my slow network issues. Once I finally figured out a physically backed vSwitch did not have this problem, I quickly found your answer. Awesome!

            – darron
            Jan 6 '11 at 0:05















          4














          I found the solution to this problem.



          For a completely internal network (that's not attached to any physical network interface) you need to disable TCP Segmentation Offloading from inside the OS.



          It's a simple command:



          ethtool -K <interface> tso off


          After this command my transfer speeds went from 30kb/s to full 100Mbit.






          share|improve this answer























          • Wow, thanks. I spent most of the afternoon trying to isolate my slow network issues. Once I finally figured out a physically backed vSwitch did not have this problem, I quickly found your answer. Awesome!

            – darron
            Jan 6 '11 at 0:05













          4












          4








          4







          I found the solution to this problem.



          For a completely internal network (that's not attached to any physical network interface) you need to disable TCP Segmentation Offloading from inside the OS.



          It's a simple command:



          ethtool -K <interface> tso off


          After this command my transfer speeds went from 30kb/s to full 100Mbit.






          share|improve this answer













          I found the solution to this problem.



          For a completely internal network (that's not attached to any physical network interface) you need to disable TCP Segmentation Offloading from inside the OS.



          It's a simple command:



          ethtool -K <interface> tso off


          After this command my transfer speeds went from 30kb/s to full 100Mbit.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 4 '10 at 0:20









          tstmtstm

          2881413




          2881413












          • Wow, thanks. I spent most of the afternoon trying to isolate my slow network issues. Once I finally figured out a physically backed vSwitch did not have this problem, I quickly found your answer. Awesome!

            – darron
            Jan 6 '11 at 0:05

















          • Wow, thanks. I spent most of the afternoon trying to isolate my slow network issues. Once I finally figured out a physically backed vSwitch did not have this problem, I quickly found your answer. Awesome!

            – darron
            Jan 6 '11 at 0:05
















          Wow, thanks. I spent most of the afternoon trying to isolate my slow network issues. Once I finally figured out a physically backed vSwitch did not have this problem, I quickly found your answer. Awesome!

          – darron
          Jan 6 '11 at 0:05





          Wow, thanks. I spent most of the afternoon trying to isolate my slow network issues. Once I finally figured out a physically backed vSwitch did not have this problem, I quickly found your answer. Awesome!

          – darron
          Jan 6 '11 at 0:05













          0














          Did you try using another type of virtual network card?
          The E1000 emulation seems to work pretty good for me, maybe it's driver based?






          share|improve this answer























          • Yes, I have tried both with e1000 and VMXNET

            – tstm
            Mar 2 '10 at 23:33











          • I tried installing Ubuntu Karmic as a testing client. I found out interesting things. When using "Flexible" as the network interface, the speeds are good in both directions. But with both e1000 and VMXNET3 it's extremely slow.

            – tstm
            Mar 3 '10 at 23:04















          0














          Did you try using another type of virtual network card?
          The E1000 emulation seems to work pretty good for me, maybe it's driver based?






          share|improve this answer























          • Yes, I have tried both with e1000 and VMXNET

            – tstm
            Mar 2 '10 at 23:33











          • I tried installing Ubuntu Karmic as a testing client. I found out interesting things. When using "Flexible" as the network interface, the speeds are good in both directions. But with both e1000 and VMXNET3 it's extremely slow.

            – tstm
            Mar 3 '10 at 23:04













          0












          0








          0







          Did you try using another type of virtual network card?
          The E1000 emulation seems to work pretty good for me, maybe it's driver based?






          share|improve this answer













          Did you try using another type of virtual network card?
          The E1000 emulation seems to work pretty good for me, maybe it's driver based?







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 2 '10 at 23:29









          Alexandre NizouxAlexandre Nizoux

          373313




          373313












          • Yes, I have tried both with e1000 and VMXNET

            – tstm
            Mar 2 '10 at 23:33











          • I tried installing Ubuntu Karmic as a testing client. I found out interesting things. When using "Flexible" as the network interface, the speeds are good in both directions. But with both e1000 and VMXNET3 it's extremely slow.

            – tstm
            Mar 3 '10 at 23:04

















          • Yes, I have tried both with e1000 and VMXNET

            – tstm
            Mar 2 '10 at 23:33











          • I tried installing Ubuntu Karmic as a testing client. I found out interesting things. When using "Flexible" as the network interface, the speeds are good in both directions. But with both e1000 and VMXNET3 it's extremely slow.

            – tstm
            Mar 3 '10 at 23:04
















          Yes, I have tried both with e1000 and VMXNET

          – tstm
          Mar 2 '10 at 23:33





          Yes, I have tried both with e1000 and VMXNET

          – tstm
          Mar 2 '10 at 23:33













          I tried installing Ubuntu Karmic as a testing client. I found out interesting things. When using "Flexible" as the network interface, the speeds are good in both directions. But with both e1000 and VMXNET3 it's extremely slow.

          – tstm
          Mar 3 '10 at 23:04





          I tried installing Ubuntu Karmic as a testing client. I found out interesting things. When using "Flexible" as the network interface, the speeds are good in both directions. But with both e1000 and VMXNET3 it's extremely slow.

          – tstm
          Mar 3 '10 at 23:04

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f118536%2fextremely-slow-nat-within-a-vmware-esxi-host-using-linux-vms%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

          Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

          Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

          What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company