* tc filters info
@ 2009-05-27 9:24 Fabio Marcone
0 siblings, 0 replies; only message in thread
From: Fabio Marcone @ 2009-05-27 9:24 UTC (permalink / raw)
To: netfilter
Hi *,
I'm testing a HTB+PRIO setup, this is the script:
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 300Kbit ceil
300Kbit burst 6k cburst 64k quantum 1600
tc class add dev eth0 parent 1:0 classid 1:2 htb rate 100Kbit ceil
100Kbit burst 6k cburst 64k quantum 1600
tc qdisc add dev eth0 parent 1:1 handle 10: prio bands 3
tc filter add dev eth0 parent 1:0 prio 0 protocol ip handle 1 fw flowid 1:1
tc filter add dev eth0 parent 1:0 prio 2 protocol ip handle 2 fw flowid 1:2
tc filter add dev eth0 parent 1:0 prio 1 protocol ip handle 3 fw flowid 1:1
tc filter add dev eth0 parent 10:0 prio 0 protocol ip handle 1 fw flowid
10:1
tc filter add dev eth0 parent 10:0 prio 0 protocol ip handle 2 fw flowid
10:2
tc filter add dev eth0 parent 10:0 prio 1 protocol ip handle 3 fw flowid
10:3
I don't understand this strange (for me) behaviour: I have 6 filter
rules, if I remove rules related to class 1:x, prio qdisc doesn't
receive packets and all packets are sent using htb qdisc.
Why? I don't understand why I have to add rules about 1:x class to send
packets via prio qdisc. Tc filter rules about 10:x aren't enough?
Thanks in advance,
Fabio
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-27 9:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-27 9:24 tc filters info Fabio Marcone
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.