All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Phill" <PedroPhill@seznam.cz>
To: lartc@vger.kernel.org
Subject: [LARTC] Shaping services and users (2nd time)
Date: Wed, 08 Oct 2003 15:25:18 +0000	[thread overview]
Message-ID: <marc-lartc-106562680806874@msgid-missing> (raw)

[-- Attachment #1: Type: text/plain, Size: 860 bytes --]

Hello,
    I am making a HTB script for a few people and I wanted to ask a question.

Now I have a nice script with this hierarchy of classes.

root(128/128)
+---WWW(32/128)
+---Default(32/128)
+---P2P(1/64)     #P2P Programs like DC and Kazza
+---....

How should I implement limiting the speed of some users (by IP addresses)?
I had an idea, but it looks too compicated. What do you think? 

Let's say I want IP2 To be limited to have the speed max. 64kbits.

Will this idea work?

root(128/128)
+IP1(32/128)-----WWW(32/128)
|            +---Default(10/128)
|            +---P2P(1/64)
|            +---...       
|
+IP2(32/64)------WWW(32/64)
|            +---Default(10/64)
|            +---P2P(1/64)
|            +---...
+IP2(32/64)--....
...


Thanks,
    Phill

PS: Sorry if I posted this twice (that was my mistake).

[-- Attachment #2: Type: text/html, Size: 3286 bytes --]

             reply	other threads:[~2003-10-08 15:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-08 15:25 Phill [this message]
2003-10-09  7:02 ` [LARTC] Shaping services and users (2nd time) Phill
2003-10-09 16:43 ` Stef Coene

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=marc-lartc-106562680806874@msgid-missing \
    --to=pedrophill@seznam.cz \
    --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.