multiple ports with TC?
So far I'm having pretty good luck with things, but I did run into a problem tonight. Is is possible to match on multiple ports? I want to be able to do something like:
tc filter add dev eth0 protocol udp parent 1:0 prio 3 u32 match ip dport 27900-27999 0xffff flowid 1:10
Is this possible, or am I going to have to use iptables to mark the packets and then filter on that? I also couldn't find the part of the doc that talked about the priority levels, is it 0-2, or 1-3? or something else ?
Dan
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
Quoted 2 lines
tc filter add dev eth0 protocol udp parent 1:0 prio 3 u32 match ip dport 27900-27999
0xffffflowid 1:10
think about it :) Don't use 0xffff and you should be able to do it. devik
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/