LARTC
[Top] [All Lists]

Re: [LARTC] Incoming traffic

To: mohican 542003 <thelastmohican54@gmail.com>
Subject: Re: [LARTC] Incoming traffic
From: Andy Furniss <lists@andyfurniss.entadsl.com>
Date: Tue, 03 Apr 2007 20:51:26 +0100
Cc: lartc <lartc@mailman.ds9a.nl>
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
In-reply-to: <519f77360702270831v2dd01e3bu6af6c75de50d96eb@mail.gmail.com>
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
References: <519f77360702270831v2dd01e3bu6af6c75de50d96eb@mail.gmail.com>
Reply-to: lists@andyfurniss.entadsl.com
Sender: lartc-bounces@mailman.ds9a.nl
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1.2) Gecko/20070227 SeaMonkey/1.1.1
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

<Prev in Thread] Current Thread [Next in Thread>