My simple network sheme: eth0 eth1 internet--------gw(traffic shaping)-------client I'd like to make this script work on a gateway with more than 100 clients.(ISP's gw) > > Since your script looks almost identical to mine, I wonder: > Does your HTB setup limit traffic to the specified rates? This setup set the 300kbit limit (1:1). I think the problem is with my filtering rules. Classes below 1:100 didn't get any packet. > > > 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. Packets are going out en eth1, aren't they? Why dport? Packets are coming from port 21(ftp port) with passive mode. Tell me if i am wrong. Viktor _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/