Salatiel Filho wrote:
Well , i am having a few troubles making this work.
I have some like this in pseudo tc rulez :)
Root class
Class 1 parent ROOT prio 0 filter u32 match sport 80 dst 10.0.0.254
Class 2 paret ROOT prio 0 filter u32 match dport 22
Class 3 parent ROOT prio 7 filter u32 match dst 10.0.0.254
default
Shouldn't traffic from source port 80 and destination 10.0.0.254 go
through class 1 ?
I can not make a way to this work, traffic to 10.0.0.254 is always
falling in to class 3 :/
Am i missing something ?
prio 1 is the top prio for filters 0 ends up much lower.
I think two prio 1s should work in order of entry, but I would use 1 and
2 to be sure. I have seen reverse order of entry if you don't use prio
at all ...
tc -s filter ls dev $DEV parent X:Y
should help you see what's going on.
Andy.
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc