Help answer threads with 0 replies.
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 01-15-2002, 06:37 PM   #1
LQ Newbie
Registered: Jan 2002
Location: Melbourne, Australia
Distribution: Debian
Posts: 13

Rep: Reputation: 0
Download Limits by IP


I was just wondering how I would about setting a download limit for the machines on my network.

Eg: Each month they can download 100meg and once they have used that 100meg it says to them something like "Download Limit Reached, see the system admin"

I'd probably like to set it so different ip's had different limits.

I am pretty sure this would be possible, but I've no idea where to begin.

Thanks guys.

BAH: Topic should really read "Download limiting by IP"

Last edited by Bomber; 01-15-2002 at 06:55 PM.
Old 01-15-2002, 07:26 PM   #2
LQ Newbie
Registered: May 2001
Posts: 18

Rep: Reputation: 0

I don't know if you're using squid, i know that squid has a limit for each packet you download, so, if you set the bigest package to 2 or 3 megs you will reduce the downloads, usually music and all those entertaining stuff.

but maybe it has another option to block the trafic by quote.

Old 01-15-2002, 08:26 PM   #3
LQ Newbie
Registered: Jan 2002
Location: Melbourne, Australia
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: 0
Yeh Im using squid,

However on looking at it, it can only really throttle bandwidth and not set download limits so no more downloading can be done from that client is definately something to consider though, thanks for the suggestion.

Any other options for download limits?

Old 01-16-2002, 02:42 AM   #4
Registered: Apr 2001
Location: Bombay ( INDIA )
Distribution: RedHat 7.x
Posts: 218

Rep: Reputation: 30

hi ,

did u read the bandwidth limiting howto at :

Iam suggesting a few good links for you :

In issue 62 of there is a nice tute about traffic shaping. check it out. The URL is

There is some real time explanation at

See this whit papare :

Try reading the man pages for iproute2 .

or u can try searching for the terms such as CBQ or "bandwidth limiting" , "traffic shaping"

i hope this is what ur looking for.



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
no /etc/limits ? Mig21 Slackware 7 07-25-2005 11:18 PM
/etc/limits doesn't exist hampel Slackware 2 07-15-2003 11:26 AM
trafic limits gekkie_007 Linux - Networking 1 02-23-2003 05:06 AM
CD/RW capacity limits slackerboy Linux - General 14 01-20-2003 01:41 AM > Forums > Linux Forums > Linux - Networking

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

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
Open Source Consulting | Domain Registration