From: "mohican 542003" Date: Tue, 27 Feb 2007 16:31:09 +0000 Subject: [LARTC] Incoming traffic Message-Id: <519f77360702270831v2dd01e3bu6af6c75de50d96eb@mail.gmail.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============2073249963==" List-Id: To: lartc@vger.kernel.org --===============2073249963== Content-Type: multipart/alternative; boundary="----=_Part_13422_28712591.1172593869823" ------=_Part_13422_28712591.1172593869823 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ? Regards Olivier. ------=_Part_13422_28712591.1172593869823 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello,

with the command :
tc filter add dev eth0 parent ffff: protocol ip u32 patch ip src 192.168.2.6 police 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 ?

Regards

Olivier.
------=_Part_13422_28712591.1172593869823-- --===============2073249963== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============2073249963==--