Skip to contentSkip to conversation

multiple ports with TC?

LARTC Daniel Wittenberg 2 participants 2 messages Jan 14, 2002

lore
Share & tools
lore
#0 lore raw

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/