All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] multiple ports with TC?
@ 2002-01-14  7:12 Daniel Wittenberg
  2002-01-14  9:42 ` Martin Devera
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Wittenberg @ 2002-01-14  7:12 UTC (permalink / raw)
  To: lartc

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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

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

* Re: [LARTC] multiple ports with TC?
  2002-01-14  7:12 [LARTC] multiple ports with TC? Daniel Wittenberg
@ 2002-01-14  9:42 ` Martin Devera
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Devera @ 2002-01-14  9:42 UTC (permalink / raw)
  To: lartc

> tc filter add dev eth0 protocol udp parent 1:0 prio 3 u32 match ip dport
> 27900-27999 0xffff flowid 1:10

think about it :) Don't use 0xffff and you should be able to do it.
devik

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

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

end of thread, other threads:[~2002-01-14  9:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-14  7:12 [LARTC] multiple ports with TC? Daniel Wittenberg
2002-01-14  9:42 ` Martin Devera

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.