On Tuesday 14 May 2002 04:20, hanhbnetfilter wrote: > Dear sir: > There is a lot of work stations in my lan. Every one > should be seperate set bandwidth limit,so qdisc(class) > will be very large. > These workstations can be included in several > groups,iptables rule can be set and mark can be used > in filter,so class can be reduced,but in these groups > the member of the group still has itself bandwidth > limit. > The quantity of qdisc(class) will impact the > performance.I do not know how much it impact.100 and > 200 or 500 must be different. > which qdisc and class rules should i use? > please tell me how can i do HTB3 is still beta, but fast. Even faster then CBQ. For the filters, you can use one fw filter. This filter will use the iptables mark direclty to find the class. If you mark a packet with 9, it will end in class :9. Very easy. So all filter logic is in the iptables rules. But you still have to create all the classes. Or you can use the wrr qdisc (http://wipl-wrr.sourceforge.net). This qdisc will create a class for each ip it sees. So you don't need to create the classes and the filters yourself. Stef