From: Andy Furniss Date: Tue, 03 Apr 2007 19:51:26 +0000 Subject: Re: [LARTC] Incoming traffic Message-Id: <4612B03E.7060500@andyfurniss.entadsl.com> List-Id: References: <519f77360702270831v2dd01e3bu6af6c75de50d96eb@mail.gmail.com> In-Reply-To: <519f77360702270831v2dd01e3bu6af6c75de50d96eb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org mohican 542003 wrote: > Hello, > > with the command : > tc filter add dev eth0 parent ffff: protocol ip u32 patch ip src > 192.168.2.6police rate 10000kbit burst 10000kbit drop flowid :1 > we can limit traffic coming from 192.168.2.6. > > I would like: > for 192.168.1.2, 192.168.1.4 limit to 10mbit > for 192.168.1.3, 192.168.1.5 limit to 20mbit > other ip would have no limit. > > Is it possible with tc ? Should be possible - do you mean .2 and .4 share 10mbit or get 10mbit each? Andy. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc