From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Phill" Date: Wed, 08 Oct 2003 15:25:18 +0000 Subject: [LARTC] Shaping services and users (2nd time) MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_003A_01C38DC1.25184D20" Message-Id: List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_003A_01C38DC1.25184D20 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable 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?=20 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) | +---... =20 | +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). ------=_NextPart_000_003A_01C38DC1.25184D20 Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable
Hello,
    I am making a HTB = script for a=20 few people and I wanted to ask a question.
 
Now I have a nice script with this = hierarchy of=20 classes.
 
root(128/128)
+---WWW(32/128)
+---Default(32/128)
+---P2P(1/64)     = #P2P=20 Programs like DC and Kazza
+---....
 
How should I implement limiting the = speed of some=20 users (by IP addresses)?
I had an idea, but it looks = too=20 compicated. What do you think?
 
Let's say I want IP2 To be limited to = have the=20 speed max. 64kbits.
 
Will this idea work?
 
root(128/128)
+IP1(32/128)-----WWW(32/128)
|          &nb= sp;=20 +---Default(10/128)
|          &nb= sp;=20 +---P2P(1/64)
|          &nb= sp; +---...       
|
+IP2(32/64)------WWW(32/64)
|      =20      +---Default(10/64)
|     =20       +---P2P(1/64)
|    =20        +---...
+IP2(32/64)--....
...
 
 
Thanks,
    Phill
 
PS: Sorry if I posted this twice (that was my=20 mistake).
------=_NextPart_000_003A_01C38DC1.25184D20-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/