From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Mon, 21 Apr 2003 09:20:12 +0000 Subject: Re: [LARTC] filters not doing anything? 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 21 April 2003 00:12, Frank v Waveren wrote: > On Sun, Apr 20, 2003 at 11:59:44PM +0200, Stef Coene wrote: > > On Sunday 20 April 2003 23:56, Frank v Waveren wrote: > > > Stef Coene wrote: > > > tc filter add dev eth1 protocol ip parent 1: prio 2 u32 match u8 0 0x0 > > > at 0 flowid 2:1 > > > > What do you want to match?????? > > That should match anything, right? I tried not having any filter in > the commandline as the HOWTO suggested, but tc didn't like it and > complained: You can specify a default class if you add the htb qdisc. So all packets not matched by a filter ends up in that default class. And try this if you want to have a catch all rule : tc filter add dev eth0 parent 1: protocol ip u32 match ip src 0/0 flowid 2:1 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/