On Thursday 12 June 2003 23:08, Esteban wrote: > my set up is like this: > > #!/bin/bash > DEV=eth1 > > tc qdisc del dev $DEV root 2> /dev/null > /dev/null > tc qdisc del dev $DEV ingress 2> /dev/null > /dev/null > > tc qdisc add dev $DEV root handle 1: htb > > tc class add dev $DEV parent 1: classid 1:1 htb rate 512kbit burst 6k > tc class add dev $DEV parent 1:1 classid 1:10 htb rate 512kbit burst 6k > prio 1 tc class add dev $DEV parent 1:1 classid 1:20 htb rate 50kbit burst > 6k prio 3 > > tc qdisc add dev $DEV parent 1:10 handle 10: sfq perturb 10 > tc qdisc add dev $DEV parent 1:20 handle 20: sfq perturb 10 > > tc filter add dev $DEV protocol ip parent 1:0 prio 1 handle 0x1 fw flowid > 1:20 > > > iptables -t mangle -A FORWARD -i eth1 -j MARK --set-mark 1 > > os?? any idea? Remove burst and prio parameter from your commands. And make sure the sum of child rates <= parent rate. In your case 512 + 50 >> 512. And all non-classified packets have to go somewhere. This can be done with the default parameter if you add the htb root disc or a catch all filter rule. Stef -- stef.coene@xxxxxxxxx "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net