This is a multi-part message in MIME format. ------=_NextPart_000_0036_01C2CD24.64F50090 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hi all the following is the setup i have done. eth0 globals ip eth1 internal ip 10.1.1.0/24 --->>>shd be capped to max 256Kbit linux 8.0 with htb 3.6 tc qdisc add dev eth1 root handle 1:0 htb default 2 tc class add dev eth1 parent 1:0 classid 1:1 htb rate 250Kbit ceil = 250Kbit tc class add dev eth1 parent 1:1 classid 1:2 htb rate 128Kbit ceil = 250Kbit then i created leaves from 1:5 to 1:50 each getting 16Kbit and ceil = 20Kbit a range of 50 ipes e.g.=20 tc class add dev eth1 parent 1:2 classid 1:5 htb rate 16Kbit ceil 20Kbit tc filter add dev eth1 parent 1:0 protocol ip pref 5 u32 match dst = 10.1.1.5/32 flowid 1:5 like that.... although for sometime this setup works fine but suddenly it goes totally = unbouded. i have gone thru the pages at docum.org and found out that if sum of = child calsses exceed parent rate then parent rate is not respected. then what shd i do if i have to cap outgoing b/w on eth1 stricktly to = 256Kbit only. hope to get an early response. regds hm ------=_NextPart_000_0036_01C2CD24.64F50090 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.2800.1106" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>hi all</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial=20 size=3D2> = the=20 following is the setup i have done.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>eth0 globals = ip</FONT></DIV> <DIV><FONT face=3DArial size=3D2>eth1 internal ip 10.1.1.0/24 =20 --->>>shd be capped to max 256Kbit</FONT></DIV> <DIV><FONT face=3DArial size=3D2>linux 8.0 with htb 3.6</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>tc qdisc add dev eth1 root handle 1:0 = htb default=20 2</FONT></DIV> <DIV><FONT face=3DArial size=3D2>tc class add dev eth1 parent 1:0 = classid 1:1 htb=20 rate 250Kbit ceil 250Kbit</FONT></DIV> <DIV><FONT face=3DArial size=3D2>tc class add dev eth1 parent 1:1 = classid 1:2 htb=20 rate 128Kbit ceil 250Kbit</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>then i created leaves from 1:5 to 1:50 = each getting=20 16Kbit and ceil 20Kbit</FONT></DIV> <DIV><FONT face=3DArial size=3D2>a range of 50 ipes</FONT></DIV> <DIV><FONT face=3DArial size=3D2>e.g. </FONT></DIV> <DIV><FONT face=3DArial size=3D2>tc class add dev eth1 parent 1:2 = classid 1:5 htb=20 rate 16Kbit ceil 20Kbit</FONT></DIV> <DIV><FONT face=3DArial size=3D2>tc filter add dev eth1 parent 1:0 = protocol ip pref=20 5 u32 match dst 10.1.1.5/32 flowid 1:5</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>like that....</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>although for sometime this setup works = fine but=20 suddenly it goes totally unbouded.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>i have gone thru the pages at docum.org = and found=20 out that if sum of child calsses exceed parent rate then parent rate is = not=20 respected.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>then what shd i do if i have to cap = outgoing b/w on=20 eth1 stricktly to 256Kbit only.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>hope to get an early = response.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>regds</FONT></DIV> <DIV><FONT face=3DArial size=3D2>hm</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><BR></FONT> </DIV></BODY></HTML> ------=_NextPart_000_0036_01C2CD24.64F50090--