All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Wingtung.Leung" <s965817@uia.ua.ac.be>
To: lartc@vger.kernel.org
Subject: Re: Antwort: Re: [LARTC] tc and masquerading probs
Date: Tue, 22 May 2001 19:50:46 +0000	[thread overview]
Message-ID: <marc-lartc-99056107330618@msgid-missing> (raw)
In-Reply-To: <marc-lartc-99045859130110@msgid-missing>

On 22 May 2001, Manfred Bartz wrote:

> I would like to do just that, but I can't figure out how to specify
> multiple conditions for u32 filtering.  Could you give an example?
>
> Currently I have specified filters like:
>
> tc filter add dev eth2 parent 2:0 protocol ip prio 20 u32 \
>      match ip dst 192.168.2.12 flowid 2:212

An example with multiple match conditions:

$TC filter add dev eth0 parent 1:0 protocol ip pref 2 u32 \
  match ip src "143.129.41.222 \
  match ip tos 0x10 0xff \
  flowid 1:22


> Also, I assume lower ``prio'' values mean the rule takes preference
> over rules with higher values?

I look at the preferences another way: they indicate the order in which
the filters are evaluated. Lower preference filters are evaluted before
higher preference filters.




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

  parent reply	other threads:[~2001-05-22 19:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-21 15:30 Antwort: Re: [LARTC] tc and masquerading probs m.dages
2001-05-22  1:27 ` Manfred Bartz
2001-05-22 19:50 ` Wingtung.Leung [this message]
2001-05-22 23:57 ` organix

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-99056107330618@msgid-missing \
    --to=s965817@uia.ua.ac.be \
    --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 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.