This question already has an answer here:

I want to limit the internet bandwidth to avoid causing a bad ping for other users in the same network.

I used to use wondershaper but it doesn't seem work on Ubuntu 17.04 (kernel 4.10, 64bit):

sudo wondershaper enp2s0 2000 200

RTNETLINK answers: Invalid argument
We have an error talking to the kernel

I tried trickle, but it didn't work (unchanged bandwidth and only single application). I read that maybe tc could help me, but I failed at finding a way to get it to work.

Any ideas / solutions for my problem?


How I can limit Download/Upload bandwidth? and How do I limit internet bandwidth? don't help, cause wondershaper sadly doesn't seem to work on 17.04, trickle didn't really work too and doesn't really fit my needs, and tc isn't explained in those answers.

marked as duplicate by Anwar, Eric Carvalho, user364819, David Foerster, Sumeet Deshmukh Jun 12 '17 at 2:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Try this : https://github.com/chozabu/LinNetLim, it's an alternative to netlimiter in windows os.

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