up vote 1 down vote favorite
share [g+] share [fb]

I've setup a network which will have 3 users, two of them use a Windows based operating system and the other uses a Linux based one. It is a 12 MB ADSL2 connection and the idea is to distribute the bandwidth among the users (there is no server, just a Wi-Fi router).

For the Windows users there are several programs like NetLimiter to set a maximum amount, but what about Linux? How could that be done?

link|improve this question
Oh god! If only I could remember! There is an article out there on how to limit the bandwidth and the amount of packets dropped and all sorts of other settings, but I cannot seem to find it. I know it was used for web development or something... – joshhunt Oct 25 '09 at 14:41
This would leave each user having 4MB connection (probably higher, but not the full 12MB) even if the other two aren't using the connection all the time. You should have a look at QoS. This helps you giving all the users the full bandwidth while still ensuring fast connections. BTW, this is something the router should regulate, not the individual computers. – Georg Schölly Nov 15 '09 at 11:13
feedback

4 Answers

Take a look at trickle.

link|improve this answer
feedback

tc is a command line tool to shape/limit/schedule traffic

http://linux.die.net/man/8/tc

link|improve this answer
feedback

Depending on your router it may support QoS. Which would make it so you did not have to install software on the client side.

link|improve this answer
feedback

I suggest seeing if your router supports dd-wrt. It is a Linux replacement for the stock firmware. It has facilities to do exactly what you need.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown