How to limit network bandwidth

This is for discussing general topics about how to use VirtualBox.
Post Reply
mconnor
Posts: 2
Joined: 19. Jan 2011, 18:38
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: WinXp & hopefulle Win3.11

How to limit network bandwidth

Post by mconnor »

I am trying to utilize the Command line APi to limit certain resources and am trying to find the correct parameter to limit network utilization. I have tried using the NICSPEED but this does not seem ot have any effect.
I am using the command "vboxmanage modifyvm FIAPA-XP --nicspeed1 x" where x changes and looking at the network bandwidth within the virtual device and it never changes.
This might change the speed between 10 mbs, 100 mbs & 1000 mbs (and the numbers I have used go between 10 & 10000000) but I cannot tell what is really going on.

What is the correct command line parameter to limit the bandwidth - like --cpuexecutioncap.
Technologov
Volunteer
Posts: 3342
Joined: 10. May 2007, 16:59
Location: Israel

Re: How to limit network bandwidth

Post by Technologov »

Currently network bandwidth limiting is not supported by VirtualBox 4.0.4.
The API is introduced, but not implemented.

Third party software, such as "VDE wirefilter" can do the same, and can connect to VirtualBox. VDE, unfortunately, works only on Linux hosts.

-Technologov
goldengel
Posts: 4
Joined: 9. Nov 2010, 09:14
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: MS Windows 7

Re: How to limit network bandwidth

Post by goldengel »

Ohh the question is already perfect. But I am working on Windows OS.
Is there already anything for Windows?

Regards
lukval
Posts: 4
Joined: 14. Jan 2010, 14:23
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: MS Windows server 2008 R2, MS Windows server 2008, MS Windows 7 x64, MS Windows server 2003 R2

Re: How to limit network bandwidth

Post by lukval »

Hi, any news in this topic?
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: How to limit network bandwidth

Post by noteirak »

Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Fekri
Posts: 1
Joined: 6. Aug 2016, 14:02

Re: How to limit network bandwidth

Post by Fekri »

hello we are now in 2016 with version 5.1.2 any updates for how to limit network speed for virtual box (in- and outbound).
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: How to limit network bandwidth

Post by noteirak »

It's all here. If you also need inbound, you'll need to either make another VM which act as a relay/router/proxy and is limited outboud, or use a solution directly sitting in the guest OS
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: How to limit network bandwidth

Post by socratis »

You're kidding me, right?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply