Konrad wrote:

We have an error talking to the kernel
loops: 684 filters: 4788 classes: 2052

What's wrong?
I need more filters :/

I have 2.6.11.11 kernel with new iproute2, u32 match mark support and IMQ (AB)...

Everyone can make theoretically 0xffff (65535) classes and qdiscs on one device. And I think this is true, but I can't add more filters then 4775! :(

---
v=1; cnt=0;
tc qdisc add dev imq0 root handle 1:0 htb

while : [ $v -le 11000 ]; do

Loops for ever with the colon after while for me.

qu0=`printf "%x\n" $v`

qu1=`printf "%x\n" $v`

So qu0 = qu1 which makes


tc filter add dev imq0 protocol ip parent 1:$qu0 pref 5 u32 match ip dst 192.168.0.5 flowid 1:$qu1

illogical.

Andy.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Reply via email to