From mboxrd@z Thu Jan 1 00:00:00 1970 From: Damion de Soto Date: Fri, 05 Mar 2004 00:07:45 +0000 Subject: Re: [LARTC] Limiting bandwidth to entire LAN Message-Id: <4047C4D1.3060801@snapgear.com> List-Id: References: <000b01c401f8$aafbc380$ce302bc8@traza> In-Reply-To: <000b01c401f8$aafbc380$ce302bc8@traza> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Hi Gast=F3n, > tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip src > 1.2.3.0/24 classid 1:30 > tc filter add dev eth1 parent 1:0 protocol ip prio 100 u32 match ip dst > 1.2.3.0/24 classid 1:30 I'm pretty sure you want 'flowid 1:30' instead of classid on the filters. To my knowledge, the classid is declaring the filter to have that class, in= stead of=20 directing the matching to the class with that id. Although, taking a quick look through the doco, I can't see anywhere where it explicitly says what the flowid does, maybe it's just assumed because al= l the=20 examples are like that. regards --=20 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Damion de Soto - Software Engineer email: damion@snapgear.com SnapGear - A CyberGuard Company --- ph: +61 7 3435 2809 | Custom Embedded Solutions fax: +61 7 3891 3630 | and Security Appliances web: http://www.snapgear.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- Free Embedded Linux Distro at http://www.snapgear.org --- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/