From: Stef Coene Date: Tue, 12 Feb 2002 08:23:24 +0000 Subject: Re: [LARTC] Police to xxx mbit with port range 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 11 February 2002 23:32, Mark Beck wrote: > Oh so helpful! > > In the howto it only mentions how to do this on a single port basis - and I > cant find TC documentation: > > # tc filter add dev eth0 protocol ip parent 10: prio 1 u32 match ip sport > 80 0xffff flowid 10:1 > > I assume after the 80 we have a hex mask, so would the following match > ports 10240->10751? > > # tc filter add dev eth0 protocol ip parent 10: prio 1 u32 match ip sport > 10240 0x200 flowid 10:1 Goog guess :-) But I never tried it myself. Stef -- stef.coene@docum.org More QOS info : http://www.docum.org/ Title : "Using Linux as bandwidth manager" _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/