Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Daniel Wittenberg <daniel-wittenberg@starken.com>
To: lartc@vger.kernel.org
Subject: [LARTC] multiple ports with TC?
Date: Mon, 14 Jan 2002 07:12:02 +0000	[thread overview]
Message-ID: <marc-lartc-101099251710712@msgid-missing> (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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

             reply	other threads:[~2002-01-14  7:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-14  7:12 Daniel Wittenberg [this message]
2002-01-14  9:42 ` [LARTC] multiple ports with TC? Martin Devera

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-101099251710712@msgid-missing \
    --to=daniel-wittenberg@starken.com \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox