7

I'm looking to simulate a 56KB modem connection in a VMware Workstation virtual machine. I remember reading this was possible, but forgot how?

| improve this question | | | | |
8

I figured this out -- add to the vmx file:

ethernetX.rxbw.limit = 56
ethernetX.txbw.limit = 34

where ethernetX is the adaptor to limit, i.e. ethernet0 or ethernet1

Thanks to http://www.sanbarrow.com/vmx/vmx-network-advanced.html

| improve this answer | | | | |
  • This way doesn't work for me. – Ganbin Nov 23 '18 at 8:30
2

I am using ESX 3.5i - not sure what you are using. I don't know of a way to do it per machine, but you can edit either the VM Port Group or the virtual switch properties and use traffic shaping to limit it for all machines in the port group or on the whole virtual switch. Click on the Host>Configuration tab>Networking>Properties for the Virtual Switch>Edit button for the switch or port group...>Traffic Shaping tab. You can create a new port group on the same vswitch or make a new vswitch and just put the one test machine on it so your other VMs aren't affected. I personally have never done it, but it looks like that would be the way to do it...

| improve this answer | | | | |
  • 2
    This will allow you to throttle the bandwidth to get it in the right range but it wont allow you to replicate the latency and other characteristics that have a significant impact on 56k modem "performance". To give a realistic emulation of the 56k modem experience you'll need to add in about 60ms of round trip latency. It's also worth noting that a 56k modem can deliver at most about 63kbps aggregate uplink and downlink and they never deliver better than 33.6kbps uplink. – Helvick Jul 10 '09 at 20:46
  • @August: Good point, I didn't mention I was using VMware Workstation. – Josh Jul 12 '09 at 12:54
  • @Helvick: I have options to limit the bandwidth of a LAN segment to modem speeds including generating packet loss. I wonder if this is also adding latency as you mentioned? Problem is, it only affects LAN segments, not the main ethernet connection. – Josh Jul 12 '09 at 12:57
2

In current versions of VMware Workstation, this can also be edited directly via the GUI:

  1. Click VM in the main menu of WMware Workstation with virtual machine running.
  2. Click the Preferences menu item. The "Virtual Machine Settings" dialog appears.
  3. Click the Network Adapter device in the list.
  4. Click the Advanced button. The "Network Adapter Advanced Settings" dialog appears.
  5. Configure your desired settings in this dialog.
  6. Close the dialog by clicking OK.
  7. Close the parent dialog by clicking OK, too.

You now have a throttled network connection for your virtual machine. No need to reboot or anything else.

To ensure that the settings are applied, try a web-based speed test of your choice from within the virtual machine.


This is how the dialog looks like:

enter image description here

| improve this answer | | | | |
0

Check out Shunra VE Desktop. Its a WAN emulator, works really well.

| improve this answer | | | | |
  • 1
    While that's a neat tool, it doesn't help me limit bandwidth under VMware on linux. – Josh Jul 12 '09 at 12:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.