From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Thu, 16 Jun 2005 19:51:27 +0000 Subject: Re: [LARTC] Lamer needs help for basic tc setup Message-Id: <42B1D83F.70107@dsl.pipex.com> List-Id: References: <20050610062118.59902.qmail@web312.biz.mail.mud.yahoo.com> In-Reply-To: <20050610062118.59902.qmail@web312.biz.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Dariusz Dwornikowski wrote: >>When doing NAT u32 will work for downloads shaped on the lan facing >>interface but not for uploads on the wan interface you need to >>mark/classify. >> >> > > > is it necessary to mark every ip with separate mark ? > all clients in my net have the same speed, can i mark them all with for example : 10 ? You said per user in the first post so they each need to have their own class and if you use mark they will need one each. You could use iptables CLASSIFY instead of mark - you wouldn't need a filter for each attached to the queue then - just create a class for each with the same classid (You can sort of do the same thing with marks and htb). There is also a netfilter pom-ng patch called IPMARK which will mark things a bit more efficiently if you have loads of addresses to do. Andy. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc