All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Understanding filters
@ 2004-11-02  2:38 Mario Bittencourt
  2004-11-04  2:31 ` Mario Bittencourt
  0 siblings, 1 reply; 2+ messages in thread
From: Mario Bittencourt @ 2004-11-02  2:38 UTC (permalink / raw)
  To: lartc

Hi,

I've read the lartc doc but got stuck :)

I've created a prio qdisc (the example) 

tc qdisc add dev eth0 root handle 1: prio
tc qdisc add dev eth0 parent 1:1 handle 10: sfq
tc qdisc add dev eth0 parent 1:2 handle 20:  tbf rate 20kbit buffer
1600 limit 3000
tc qdisc add devl eth0 parent 1:3 handlle 30: sfq

Then I tried to create filters to make priority traffic go to the first band

tc filter add dev eth0 parent 10: protocol ip prio 1 u32 match ip
dport 22 0xffff flowid 10:1

The command above does not work.  If I change

tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip dport
22 0xffff flowid 10:1

It goes ok.

So, is this a typo or something is wrong ?

How about the flowid ?  Is it the handle of the qdisc I should
"forward" the packet to ?
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-04  2:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-02  2:38 [LARTC] Understanding filters Mario Bittencourt
2004-11-04  2:31 ` Mario Bittencourt

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.