From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Steen Suder, privat" Date: Tue, 16 Sep 2003 17:59:25 +0000 Subject: Re: [LARTC] Re: HTB and filters on many levels - Workaround found 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 Daniel Brahneborg wrote: > I found a little workaround, but I'm not really happy with it. >>I then use iptables -j MARK to set a '1' if the traffic comes from >>eth1. If not, it should end up in 1:2, and 1:1 and 1:2 should be able >>to borrow from each other. > > > What I do now is to use ipfilter to set marks on the packets for all six > classes, and then set all filters on 1:0. A bit more work for iptables, > but it seems to work. Is it a bug that a fiter can't be added to a class? It's by design AFAIK. Packets are enqueued at qdiscs and, thus, it is only meaningful to be able to attach filters to qdiscs. I may be wrong though... Also, the HTB docs instructs the user to attach filters to the root. -- Mvh. / Best regards, Steen Suder ICQ UIN 4133803 _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/