On Thu, 17 Oct 2002, [iso-8859-2] Kertész Viktor wrote: > Here's my script that doesn't do what I want to do with it: > tc qdisc del dev eth1 root > tc qdisc add dev eth1 root handle 1 htb default 2 r2q 10 > > tc class add dev eth1 parent 1: classid 1:1 htb rate 300kbit > tc class add dev eth1 parent 1: classid 1:100 htb rate 300kbit > tc class add dev eth1 parent 1:100 classid 1:101 htb rate 10kbit ceil 30kbit > tc class add dev eth1 parent 1:100 classid 1:102 htb rate 10kbit ceil 20kbit > tc class add dev eth1 parent 1:100 classid 1:103 htb rate 10kbit ceil 15kbit [--cut--] Since your script looks almost identical to mine, I wonder: Does your HTB setup limit traffic to the specified rates? > tc filter add dev eth1 parent 1:100 protocol ip u32 match ip sport 21 0xffff > flowid 1:103 You want dport instead. However, isn't HTB only for _outbound_ traffic shaping? AFAIK you need to use ingress for inbound. walter _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/