Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: David McNab <david@rebirthing.co.nz>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] bandwidth limiting per ip/user
Date: Mon, 15 Mar 2004 10:34:56 +0000	[thread overview]
Message-ID: <405586D0.4080209@rebirthing.co.nz> (raw)
In-Reply-To: <bdc5b71c.2166c0a8.99e2500@mail-msgstore01.qut.edu.au>

try pyshaper - http://www.freenet.org.nz/python/pyshaper

Very easy yet very versatile


Josh Beagley wrote:
> Howdy,
> 
> 
> I have searched and read many other mailing list posts/usenet 
> posts etc, however seem unable to find a direct answer for my 
> problem....
> 
> I have a 2Mbit link network, and was wanting to limit 20 ip 
> addresses, in the range x.x.x.20 to x.x.x.40 to downloading 
> at 40Kb/sec.
> 
> I setup cbq with cbqinit on there, and tried having 2 class 
> files, one for external and internal interface, and limiting 
> the rate to 400Kbit and the weight to 40, and having a 
> RULE=IP for each ip address...., however the machines seem to 
> be sharing bandwidth, eg if to start downloading they get 
> roughly 25 between them.
> 
> I am unable to modify any iptables rules, why that is so is 
> not relevant, however I simply do not have the ability to 
> play with marking, and need an alternative such as 
> rshaper/cbq/wondershaper
> 
> I am currently trying to get rshaper working, and am 
> wondering if that will work out to be a better solution...eg 
> will it work as I am expecting if I use rshaperctl to add a 
> rule for each ip?
> 
> Otherwise, what other tools/suggestions could be advised?
> 
> Many thanks in advance,
> Josh
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> 

-- 

Kind regards
David

--

leave this line intact so your email gets through my junk mail filter
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      reply	other threads:[~2004-03-15 10:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-15 10:14 [LARTC] bandwidth limiting per ip/user Josh Beagley
2004-03-15 10:34 ` David McNab [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=405586D0.4080209@rebirthing.co.nz \
    --to=david@rebirthing.co.nz \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox