From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Wed, 19 May 2004 11:50:45 +0000 Subject: Re: [LARTC] Can anyone fix this? Message-Id: <40AB4A15.3020308@dsl.pipex.com> List-Id: References: <200405191427.53256.ml-lartc@drspirograph.com> In-Reply-To: <200405191427.53256.ml-lartc@drspirograph.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Chris Jensen wrote: > Hi, > I appologise for the bad ettiquite of this, but I have tried looking for some > HTB examples that would help me, and am having trouble understanding how the > tc filters should work, but I can't figure out why this isn't working. > I've written this script, based upon the ultimate traffic shaper at LARTC, to > try and shape for me and my 3 housemates. > The idea being to give each user approx 1 quarter of the bandwidth, and then > subdivide that into 3 priorities. > > None of the traffic seems to get clasiffied though. You can't use u32 to filter egress on src if you are NATing - you need to mark in POSTROUTING mangle and filter on fw. Have a look at the kptd on www.docum.org . Andy. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/