Page 1 of 1

[NotSupported] Limit bandwidth not working

PostPosted: 10. Dec 2018, 23:24
by Ricky93
Hello,
I'm trying to find a way to limit internet speed on my linux guest and I found this useful piece of information in the manual
Code: Select all   Expand viewCollapse view
VBoxManage bandwidthctl "VM name" add Limit --type network --limit 20m
VBoxManage modifyvm "VM name" --nicbandwidthgroup1 Limit


However I'm still able make downloads at host's full speed.

Did a bit of searching and another person was also having troubles with it however due to me being a new user I can't post a link to it(sorry)

I'm not very tech savy guy but I've ran the commands set in the manual and they're not working as I wanted.
Is there something wrong I'm doing?

Re: Limit bandwidth not working

PostPosted: 11. Dec 2018, 00:41
by socratis
Ricky93 wrote:I've ran the commands set in the manual and they're not working as I wanted.

In the manual where you found the commands, ch. 6.10 Limiting Bandwidth for Network Input/Output, there's a note above the commands:
Note: Oracle VM VirtualBox shapes VM traffic only in the transmit direction, delaying the packets being sent by virtual machines. It does not limit the traffic being received by virtual machines.

Re: Limit bandwidth not working

PostPosted: 11. Dec 2018, 18:18
by Ricky93
Oh I understand now. Thank you very much!

Re: Limit bandwidth not working

PostPosted: 11. Dec 2018, 19:27
by socratis
Glad I could help you understand the difference. Marking as [NotSupported].
BTW, I honestly wish that this was an option as well, I'm with you on this one...