Received: with ECARTIS (v1.0.0; list netdev); Mon, 31 Jan 2005 06:26:12 -0800 (PST) Received: from mx03.cybersurf.com (mx03.cybersurf.com [209.197.145.106]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j0VEQ7lc024410 for ; Mon, 31 Jan 2005 06:26:07 -0800 Received: from mail.cyberus.ca ([209.197.145.21]) by mx03.cybersurf.com with esmtp (Exim 4.30) id 1CvcVA-0005Bo-Jv for netdev@oss.sgi.com; Mon, 31 Jan 2005 09:26:04 -0500 Received: from cpe0030ab124d2f-cm014500000962.cpe.net.cable.rogers.com ([24.103.99.32] helo=[10.0.0.9]) by mail.cyberus.ca with esmtp (Exim 4.20) id 1CvcV0-0003zq-IO; Mon, 31 Jan 2005 09:25:54 -0500 Subject: Re: dummy as IMQ replacement From: jamal Reply-To: hadi@cyberus.ca To: Hasso Tepper Cc: netdev@oss.sgi.com, Nguyen Dinh Nam , Remus , Andre Tomt , syrius.ml@no-log.org, Andy Furniss , Damion de Soto In-Reply-To: <200501311614.31397.hasso@estpak.ee> References: <1107123123.8021.80.camel@jzny.localdomain> <200501311502.56796.hasso@estpak.ee> <1107178770.7840.151.camel@jzny.localdomain> <200501311614.31397.hasso@estpak.ee> Content-Type: text/plain Organization: jamalopolous Message-Id: <1107181551.7847.193.camel@jzny.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 31 Jan 2005 09:25:51 -0500 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.80/650/Sun Jan 2 19:00:02 2005 clamav-milter version 0.80j on 127.0.0.1 X-Virus-Status: Clean X-archive-position: 1087 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: hadi@cyberus.ca Precedence: bulk X-list: netdev Content-Length: 1210 Lines: 37 On Mon, 2005-01-31 at 09:14, Hasso Tepper wrote: > jamal wrote: > > On Mon, 2005-01-31 at 08:02, Hasso Tepper wrote: > > > All traffic coming from eth1.101 interface. > > > > eth1.101 is an alias? You may have issues there. Maybe not if the > > attach to that interface worked. > > No, vlan. That should be fine then > > Theres other ways to do it[1] but if theres a bug in this it needs > > fixing. [..] > > And then later just referenced it without having to repeat the rate > > like so: > > filter add dev eth0 parent ffff: protocol ip prio 6 u32 match ip src \ > > 10.0.0.21/32 flowid 1:16 \ > > action police index 1 > > Hmmm ... I even didn't know about index. Yes, something like that would do > as well probably. I'll do some tests later today with this. Actions don't > help me though as I'm using 2.4 kernel for production. Theres an extra "index 1" in all those examples. remove the first one (I am sure you will find out when experimenting what the correct syntax is). Unfortunately this "index" thing continues to be a big secret although i have pointed it a few times. Bart should probably add it to his HOWTO. All actions also have indices and are therefore shareable. cheers, jamal