LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How do I limit my bandwidth from the PC? (https://www.linuxquestions.org/questions/linux-networking-3/how-do-i-limit-my-bandwidth-from-the-pc-637357/)

koobi 04-23-2008 02:31 PM

How do I limit my bandwidth from the PC?
 
Hi,
I'm on Ubuntu 7.10 right now.

I have a Netgear ADSL Router/Modem DG632 which does not allow me to limit bandwidth.

Due to limitations by my ISP, the maximum download speed I can utilize is a 50kbps download speed.
Unfortunately, 3 people share this connection.

I would like to limit my machine to never utilize more than 20kbps download speed at any given time. How can I do this? Would I have to use iptables? Is there an easier solution?


Thanks for your time.

jei 04-23-2008 03:57 PM

You could use something like mastershaper.com I use to maintain a how-to for this project, but it is not obsolete (slackware 10.0).

Mastershaper requires a stand alone pc running a linux distro and can take some time to install and setup.

Other options would be to setup ipcop/smoothwall with qos installed, however this would limit everyones bandwidth at once to the same speed.

Check sf.net for packetshaping or qos I know several items exist for limiting bandwidth.

salasi 04-23-2008 05:54 PM

Quote:

You could use something like mastershaper.com
there was also (some time ago) something called wondershaper, which I'm guessing is similar.

You could use IPTABLES, its pretty versatile, but I think an alternative solution would be better. 50 kbps is pretty unpleasant, though. Maybe you want to think about data caching and dns caching on your end if bandwidth is in such short supply.

briealeida 06-07-2008 04:34 AM

Alternatively, you may want to try 'tc'. It may already even be installed.

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


All times are GMT -5. The time now is 03:53 PM.