LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-04-2003, 04:14 AM   #1
n_sergiu
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
bandwidth limit


Hi,

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

Sergiu.
 
Old 08-04-2003, 08:34 AM   #2
fishsponge
Member
 
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, 08:46 AM   #3
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
Try this:

http://www.linuxquestions.org/questi...threadid=76789
 
Old 08-04-2003, 09:16 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
//moderator.note: moved to Linux - Networking. Also have a look at http://www.linuxquestions.org/questi...der=descending
Look for the stuff that contains terms like "advanced routing" or acronyms like Cbq, LARTC or LEAF.
 
Old 08-04-2003, 02:49 PM   #5
bastard23
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 275

Rep: Reputation: 30
n_sergiu,

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,
chris
 
Old 08-05-2003, 05:02 AM   #6
n_sergiu
LQ Newbie
 
Registered: Aug 2003
Posts: 2

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

Sergiu.
 
  


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

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

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

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