On Wednesday 13 November 2002 20:58, Christian G. Warden wrote: > On Wed, Nov 13, 2002 at 07:25:52PM +0100, Stef Coene wrote: > > If you want to improve latency for certain traffic, you can create 2 htb > > classes. One with a lower prio parameter to get low latency and an other > > class with all other traffic. > > To give each pc on the network the same opportunity to send something, > > create 100 sub classes with parent=second class. To get fairness / pc, > > you can add a sfq to each class. You can do the same for the low prio > > class. If you don't care about fairness / pc, you can add 1 esfq qdisc > > instead of the 100 sub classes. > > can you add filters both the parent classes and sub classes so that you > put packets into the sub classes by ip address and then into the parent > classes by port, packet size, tos, etc.? You can add filters to the root qdisc or a class. When a filter place a packet in a class, the filters of that class are checked for a match. So you can "stack" filters. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/