All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Klauer <Andreas.Klauer@metamorpher.de>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] How to define class type hierarchy of speeds?
Date: Thu, 30 Mar 2006 01:17:31 +0000	[thread overview]
Message-ID: <20060330011731.GA15887@EIS> (raw)
In-Reply-To: <12550.1143674220@www020.gmx.net>

On Thu, Mar 30, 2006 at 01:17:00AM +0200, Beat Meier wrote:
> What I want now is that for example in "class" 128Kbps the ip
> 10.0.0.5, 10.0.0.8 etc. goes BUT every ip adress will have 128Kbps.
> The same for 256Kbps.
> 128Kbps
>   |_ 10.0.0.5
>   |_ 10.0.0.8 
> 
> 256Kbpss
>   |_ 10.0.0.6
>   |_ 10.0.0.7

I don't know if such a scheduler exists. With HTB, you could do 
it, but you would have to create a separate class per user. 
Which is not that much different from what this scheduler would 
do, as it has to keep track of every single IP's bandwidth 
either way.

> Do I have to do it like in example 15.1 (Cookbook) in the howto i.e.
> if I have 1000 ip addresses they are all flat there in?

Example 15.1 seems to be based on CBQ. I did not have much luck 
with this scheduler myself. But as far as I know, it also would 
require you to create one separate class per user.

> What I have noticed there are a lot of example but always with 2 different
> speeds but no one with customers of the same speed, same queueing disiplines
> but should not share the bandwidth but have each one the full speficied
> bandwidth.

I do not know such a script, since I'm doing traffic shaping for home 
use only. If you're looking for a script that does not primarily work 
by prioritizing traffic classes, but which works on a per-user basis,
you could have a look at my own script. (http://www.metamorpher.de/fairnat)
That is if you're willing to regard my former flatmates as customers and 
my former linux-based old PC router as high-end internet gateway.

The script will by far not be flexible enough for a project of your 
scale, but at least it's user based and I put some effort into 
documenting it, so maybe it will be useful as an example to you.

Kind regards
Andreas Klauer
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

      reply	other threads:[~2006-03-30  1:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-29 23:17 [LARTC] How to define class type hierarchy of speeds? Beat Meier
2006-03-30  1:17 ` Andreas Klauer [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=20060330011731.GA15887@EIS \
    --to=andreas.klauer@metamorpher.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.