Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-04-2003, 05:14 AM   #1
LQ Newbie
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
bandwidth limit


I am using my machine as router for other friends.
How can I limit the bandwidth traffic on my slackware box?

Old 08-04-2003, 09:34 AM   #2
Registered: Apr 2003
Location: Cambridge, UK
Distribution: Debian/Solaris
Posts: 147

Rep: Reputation: 15
i would love to know this too!

also, if it's not too much of a tangent (i don't want to steal your topic n_sergiu) how can i limit the amount of bandwith the interface can use in general??
Old 08-04-2003, 09:46 AM   #3
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
Try this:
Old 08-04-2003, 10:16 AM   #4
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
//moderator.note: moved to Linux - Networking. Also have a look at
Look for the stuff that contains terms like "advanced routing" or acronyms like Cbq, LARTC or LEAF.
Old 08-04-2003, 03:49 PM   #5
Registered: Mar 2003
Distribution: Debian
Posts: 275

Rep: Reputation: 30

Go to Linux Advanced Routing and Traffic Control. Slackware probably has the proper commands ('ip' and 'tc'). If not, look for an iproute2 package. This is explained in the LARTC HOWTO. Specifically, look at this page for rate limiting. You probably should read most of the HOWTO so you can understand what's going on. You may also want to look at the "traffic conditioner" wondershaper, which tries to keep interactive traffic fast, even when your upload is maxed out. Look at this page for an explaination of what it tries to do.

It's a bit more low level than a squid solution and probably takes a bit more knowledge, but when you get it set up it can improve perfomance (especially for online games). It also limits all traffic (read Kazaa, gnutella, freenet and other bandwidth wasters), not just HTTP.

Have fun,
Old 08-05-2003, 06:02 AM   #6
LQ Newbie
Registered: Aug 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks alot guys. I think I will use the tc.



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
Vsftpd - how to limit download bandwidth but unlimited upload bandwidth? mpls mikeg Linux - Software 3 08-13-2005 02:52 PM
How limit bandwidth cuencano Linux - Networking 10 07-18-2005 05:57 AM
Limit Bandwidth andy7t Linux - Networking 6 11-30-2004 03:44 AM
NistNet bandwidth limit help... sohocoffee2 Linux - Networking 1 07-30-2004 03:29 AM
apache Bandwidth Limit genexis Linux - General 0 02-18-2004 05:54 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:40 AM.

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