From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephane Ouellette Date: Mon, 17 Mar 2003 21:35:52 +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 Stef Coene wrote: >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, If I understand correctly, all filters related to the HTB leaf classes should be attached to the HTB qdisc. It would have been nice to attach filters to parent HTB classes... Stephane. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/