Multiple police rates

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I'd like to have multiple polices in an interface with different src address, like that:

tc qdisc add dev eth4 handle ffff: ingress

tc filter add dev eth4 parent ffff: protocol ip prio 5 u32 match ip src \
   192.168.18.0/24 police rate 128kbit burst 10k drop flowid :1

tc filter add dev eth4 parent ffff: protocol ip prio 5 u32 match ip src \
   192.168.36.0/24 police rate 128kbit burst 10k drop flowid :1

In this case, only the last police filter is taking effect. Why ? Isn't it possible ?

Thanks a lot,

Luciano Lima.

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux