Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] Multiple police rates
@ 2004-06-28 12:05 Luciano Lima
  0 siblings, 0 replies; only message in thread
From: Luciano Lima @ 2004-06-28 12:05 UTC (permalink / raw)
  To: lartc

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@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-28 12:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-28 12:05 [LARTC] Multiple police rates Luciano Lima

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox