[LARTC] shape outgoing/upload traffic PER-IP.

Cristiano Soares stillnick2@terra.com.br
Tue, 4 May 2004 16:32:37 -0300


This is a multi-part message in MIME format.

------=_NextPart_000_0014_01C431F5.697DFEF0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

does anyone know a way to shape outgoing/upload traffic per ip?

I have a network and i want to limit the upload with 100kbit per user. =
Ex:

192.168.1.20 ----> 1024kbit-DOWN / 100kbit-UP
192.168.1.21 ----> 1024kbit-DOWN / 100kbit-UP
and so on.......


Ive tried CBQ and HTB, but couldnt get is right. the only thing that I =
did in upload bases was:=20
"tc qdisc add dev ppp0 root tbf rate 220kbit latency 50ms burst 1540"

witch is for the whole interface. not for a simple IP.


Thanks a lot.

Cristiano Soares


------=_NextPart_000_0014_01C431F5.697DFEF0
Content-Type: text/html;
	charset="iso-8859-1"
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-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>does anyone know a way to shape =
outgoing/upload=20
traffic per ip?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have a network and i want to limit =
the=20
upload&nbsp;with 100kbit per user. Ex:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>192.168.1.20 ----&gt; 1024kbit-DOWN /=20
100kbit-UP</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>192.168.1.21 ----&gt; 1024kbit-DOWN /=20
100kbit-UP</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>and so on.......</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Ive tried CBQ and HTB, but couldnt get =
is right.=20
the only thing that I did in upload bases was: </FONT></DIV>
<DIV><FONT face=3DArial>"tc qdisc add dev ppp0 root tbf rate 220kbit =
latency 50ms=20
burst 1540"</FONT></DIV>
<DIV><FONT face=3DArial></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial>witch is for the whole interface. not for a =
simple=20
IP.</FONT></DIV>
<DIV><FONT face=3DArial></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial>Thanks a lot.</FONT></DIV>
<DIV><FONT face=3DArial></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial>Cristiano Soares</FONT></DIV>
<DIV><FONT face=3DArial></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0014_01C431F5.697DFEF0--