Hello It seems to me that 1:21 borrows much more than 1134Kbit and it does it from other classes (not only 1:31). I dont know why?. Any ideas ? When i set 1:21 bounded everything is ok but i wanted 1:21 to borrow bandwidth from 1:31 when it need to. class cbq 1: root rate 100Mbit (bounded,isolated) prio no-transmit class cbq 1:1 parent 1: leaf 8037: rate 400Kbit (bounded,isolated) prio 1 class cbq 1:31 parent 1:2 leaf 803a: rate 1134Kbit (bounded) prio 4 class cbq 1:2 parent 1: rate 1584Kbit (bounded,isolated) prio 2 class cbq 1:21 parent 1:2 leaf 8038: rate 450Kbit (isolated) prio 3 class cbq 1:4 parent 1: leaf 8039: rate 97016Kbit (bounded,isolated) prio 5 class cbq 1:5 parent 1: leaf 803b: rate 1000Kbit (bounded,isolated) prio 1 1:1 interactive traffic 1::21 mail www news etc.. 1:31 bulk data 1:4 local lan traffic 1:5 local lan interactive traffic Thanks for help :) Rafal -- Encyklopedia multimedialna w prezencie! http://www.e-mail.onet.pl
Hello Shell I send filter configuration too? INTERAK="400Kbit" MASS="1584Kbit" WWW="450Kbit" #BULK="1134Kbit" BULK="700Kbit" WEW="97016Kbit" CS="1000Kbit" WL_INTERAK="bounded isolated" WL_MASS="bounded isolated" WL_WWW="isolated" WL_BULK="bounded" WL_WEW="bounded isolated" WL_CS="bounded isolated" /sbin/tc qdisc add dev eth1 root handle 1:0 cbq bandwidth 100mbit avpkt 1514 mpu 64 /sbin/tc class add dev eth1 parent 1:0 classid 1:1 est 1sec 8sec cbq bandwidth 100mbit rate $INTERAK allot 1514b weight 1 prio 1 avpkt 1500 $WL_INTERAK maxburst 20 /sbin/tc qdisc add dev eth1 parent 1:1 sfq quantum 1500b perturb 5 /sbin/tc class add dev eth1 parent 1:0 classid 1:2 est 1sec 8sec cbq bandwidth 100mbit rate $MASS allot 1514b weight 1 prio 2 avpkt 1500 $WL_MASS maxburst 20 /sbin/tc class add dev eth1 parent 1:2 classid 1:21 est 1sec 8sec cbq bandwidth 100mbit rate $WWW allot 1514b weight 1 prio 3 avpkt 1500 maxburst 20 $WL_WWW /sbin/tc qdisc add dev eth1 parent 1:21 sfq quantum 1000b perturb 6 /sbin/tc class add dev eth1 parent 1:0 classid 1:4 est 1sec 8sec cbq bandwidth 100mbit rate $WEW allot 1514b weight 1 prio 5 avpkt 1500 $WL_WEW maxburst 20 /sbin/tc qdisc add dev eth1 parent 1:4 red limit 232KB min 29KB max 58KB burst 20 avpkt 1500 /sbin/tc class add dev eth1 parent 1:2 classid 1:31 est 1sec 8sec cbq bandwidth 100mbit rate $BULK allot 1514b weight 1 prio 4 avpkt 1000 maxburst 20 $WL_BULK /sbin/tc qdisc add dev eth1 parent 1:31 red limit 232KB min 29KB max 58KB burst 77 avpkt 1000 /sbin/tc class add dev eth1 parent 1:0 classid 1:5 est 1sec 8sec cbq bandwidth 100Mbit rate $CS allot 1514b weight 1 prio 1 avpkt 1500 $WL_CS maxburst 20 /sbin/tc qdisc add dev eth1 parent 1:5 sfq quantum 1500b perturb 5 Rafal -- Encyklopedia multimedialna w prezencie! http://www.e-mail.onet.pl