[LARTC] Shaping services and users (2nd time)
Phill
PedroPhill@seznam.cz
Wed, 8 Oct 2003 17:25:18 +0200
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-2">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>
<DIV><FONT size=3D2>
<DIV><FONT face=3DCourier size=3D2>Hello,</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2> I am making a HTB =
script for a=20
few people and I wanted to ask a question.</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2></FONT> </DIV>
<DIV><FONT face=3DCourier size=3D2>Now I have a nice script with this =
hierarchy of=20
classes.</FONT></DIV>
<DIV>
<DIV><FONT face=3DCourier size=3D2></FONT> </DIV>
<DIV><FONT face=3DCourier size=3D2>root(128/128)</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2>+---WWW(32/128)</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2>+---Default(32/128)</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2>+---P2P(1/64) =
#P2P=20
Programs like DC and Kazza</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2>+---....</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2></FONT> </DIV>
<DIV><FONT face=3DCourier size=3D2>How should I implement limiting the =
speed of some=20
users (by IP addresses)?</FONT></DIV>
<DIV></FONT><FONT face=3DCourier size=3D2>I had an idea, but it looks =
too=20
compicated. What do you think? </FONT></DIV>
<DIV><FONT face=3DCourier size=3D2></FONT> </DIV>
<DIV><FONT face=3DCourier size=3D2>Let's say I want IP2 To be limited to =
have the=20
speed max. 64kbits.</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2></FONT> </DIV>
<DIV><FONT face=3DCourier size=3D2>Will this idea work?</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2></FONT> </DIV></DIV></DIV>
<DIV><FONT face=3DCourier size=3D2>root(128/128)</FONT></DIV>
<DIV><FONT face=3DCourier =
size=3D2>+IP1(32/128)-----WWW(32/128)</FONT></DIV>
<DIV><FONT face=3DCourier=20
size=3D2>| &nb=
sp;=20
+---Default(10/128)</FONT></DIV>
<DIV><FONT face=3DCourier=20
size=3D2>| &nb=
sp;=20
+---P2P(1/64)</FONT></DIV>
<DIV><FONT face=3DCourier><FONT=20
size=3D2>| &nb=
sp; +---...</FONT><FONT=20
size=3D2> </FONT></FONT></DIV>
<DIV><FONT size=3D2>
<DIV><FONT face=3DCourier size=3D2>|</FONT></DIV>
<DIV><FONT face=3DCourier =
size=3D2>+IP2(32/64)------WWW(32/64)</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2>| =20
+---Default(10/64)</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2>| =20
+---P2P(1/64)</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2>| =20
+---...</FONT></DIV></FONT></DIV>
<DIV><FONT face=3DCourier size=3D2>+IP2(32/64)--....</FONT></DIV>
<DIV><FONT face=3DCourier>...</FONT></DIV>
<DIV><FONT face=3DCourier></FONT> </DIV>
<DIV><FONT face=3DCourier></FONT> </DIV>
<DIV><FONT face=3DCourier>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial> Phill</FONT></DIV>
<DIV><FONT face=3DArial></FONT> </DIV>
<DIV><FONT face=3DArial>PS: Sorry if I posted this twice (that was my=20
mistake).</FONT></DIV></FONT></DIV></BODY></HTML>
------=_NextPart_000_003A_01C38DC1.25184D20--