From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Wed, 05 May 2004 07:29:55 +0000 Subject: Re: [LARTC] shape outgoing/upload traffic PER-IP. Message-Id: <409897F3.30907@dsl.pipex.com> List-Id: References: <001701c4320e$8f5f1280$bd01a8c0@stillnicks> In-Reply-To: <001701c4320e$8f5f1280$bd01a8c0@stillnicks> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org gypsy wrote: >>Cristiano Soares wrote: >> >>does anyone know a way to shape outgoing/upload traffic per ip? I have a network and i want to limit the upload with 100kbit per user. >>Ex: >>192.168.1.20 ----> 1024kbit-DOWN / 100kbit-UP >>192.168.1.21 ----> 1024kbit-DOWN / 100kbit-UP >> >>Ive tried CBQ and HTB, but couldnt get is right. the only thing that I > > > Grab and read this file: > > ftp://andthatsjazz.net/pub/lartc/ultimatePM.sh > > The gist of the above is that you attach a u32 filter to place each IP > where you want it. If you are doing NAT on your shaping box then you need to mark each IP address rather than use u32 for outbound, as traffic shaping happens after NAT. Have a look at the KPTD on www.docum.org . Andy. > > Then visit Martin Brown's site: > http://www.linux-ip.net/html/linux-ip.html > more specifically: > http://www.tldp.org/HOWTO/ADSL-Bandwidth-Management-HOWTO/implementation.html > > for A Better Way (thanks Martin! I look forward to your posts because > they are the only ones I really understand ). > > Gypsy > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/