[LARTC] Incoming traffic

mohican 542003 thelastmohican54 at gmail.com
Tue Feb 27 17:31:09 CET 2007


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ds9a.nl/pipermail/lartc/attachments/20070227/8eb7ce1f/attachment.htm


More information about the LARTC mailing list