LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-23-2008, 02:31 PM   #1
koobi
Member
 
Registered: Jun 2006
Location: Colombo, Sri Lanka
Distribution: Ubuntu
Posts: 103

Rep: Reputation: 15
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.
 
Old 04-23-2008, 03:57 PM   #2
jei
LQ Newbie
 
Registered: Jul 2006
Posts: 29

Rep: Reputation: 16
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.
 
Old 04-23-2008, 05:54 PM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
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.
 
Old 06-07-2008, 04:34 AM   #4
briealeida
Member
 
Registered: Jun 2007
Location: PA
Distribution: FreeBSD, Ubuntu, Knoppix,
Posts: 41

Rep: Reputation: 16
Alternatively, you may want to try 'tc'. It may already even be installed.

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Limit Bandwidth zmileta Linux - Hardware 3 11-15-2006 11:57 PM
Bandwidth limit marius_vl Linux - Networking 1 06-20-2006 08:04 AM
bandwidth limit matrix_x Linux - Networking 1 12-05-2005 04:54 PM
Vsftpd - how to limit download bandwidth but unlimited upload bandwidth? mpls mikeg Linux - Software 3 08-13-2005 01:52 PM
Limit Bandwidth andy7t Linux - Networking 6 11-30-2004 02:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration