From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Mon, 17 Mar 2003 21:12:31 +0000 Subject: Re: [LARTC] HTB and filters Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Monday 17 March 2003 22:01, Stephane Ouellette wrote: > Folks, > > after spending a lot of time experimenting with HTB, I found that > filters cannot be attached to HTB classes... > > The class hierarchy I use is the following (for my upstream internet link): > > > PRIO (with priomap that sends everything by default to > class 1:3) > / | \ > / | \ > / | \ > 1:1 1:2 1:3 > PFIFO PFIFO HTB qdisc (default to 4:100) The default class MUST be a leaf class. A leaf class is a class with no child classes. If no filter is matched, the packet is dequeued in the default class. This means that no filter is tested so your packets ends in 4:100. The filters attached to 4:100 are never checked. 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/