Hi, I've have my IP and TC scripts working OK but my rate limiting does not seem to be being appiled. My available download speed is around 150kbps. I'd like to limit this box and the machines it forwards for to 10kbps each, a total of 20kbps. Thus leaving 130kbps unused. The classes I've created are simple and the stats show they are moving bytes OK, however; the entire 150kbps is always used. Is this odd? Have I missed something in my simple classes below? tc qdisc add dev eth1 root handle 1: htb default 12 tc class add dev eth1 parent 1: classid 1:1 htb rate 20kbps ceil 20kbps tc class add dev eth1 parent 1:1 classid 1:10 htb rate 10kbps ceil 20kbps tc class add dev eth1 parent 1:1 classid 1:12 htb rate 10kbps ceil 20kbps tc filter add dev eth1 parent 1:0 prio 0 protocol ip handle 22 fw flowid 1:10 iptables -t mangle -A PREROUTING -p tcp -s 192.168.3.110 -j MARK --set-mark 22 [stats] class htb 1:1 root rate 160000bit ceil 160000bit burst 1799b/8 mpu 0b overhead 0b cburst 1799b/8 mpu 0b overhead 0b level 7 Sent 1957552 bytes 28162 pkts (dropped 0, overlimits 0) rate 3672bit 7pps lended: 0 borrowed: 0 giants: 0 tokens: 89703 ctokens: 89703 class htb 1:10 parent 1:1 leaf 20: prio 0 quantum 1000 rate 80000bit ceil 160000bit burst 1699b/8 mpu 0b overhead 0b cburst 1799b/8 mpu 0b overhead 0b level 0 Sent 668860 bytes 9984 pkts (dropped 0, overlimits 0) lended: 9984 borrowed: 0 giants: 0 tokens: 167527 ctokens: 88884 class htb 1:12 parent 1:1 leaf 30: prio 0 quantum 1000 rate 80000bit ceil 160000bit burst 1699b/8 mpu 0b overhead 0b cburst 1799b/8 mpu 0b overhead 0b level 0 Sent 1288692 bytes 18178 pkts (dropped 0, overlimits 0) rate 3672bit 7pps lended: 18178 borrowed: 0 giants: 0 tokens: 169165 ctokens: 89703 Thanks. Regards, Rudi. _______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc