Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] tc filter howto
Date: Mon, 10 Feb 2003 14:33:06 +0000	[thread overview]
Message-ID: <marc-lartc-104488770024725@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104487334305783@msgid-missing>

On Monday 10 February 2003 15:16, Emmanuel Guiton wrote:
> >On Monday 10 February 2003 11:34, Emo Terziev wrote:
> >>Hi,
> >> probably is silly but i can't find how can i define
> >>tc filter for my needs
> >>
> >>Situation:
> >>   iptables mark all packages with destanation
> >>192.168.1.0/24 with mark 6
> >>tc use  HTB.
> >>
> >>My Problem is how can I say:
> >>   packages with mark 6 and with destanation ( or
> >>source) A.B.C.D to follow xx:xx
> >
> >If you use the fw filter, you can match the mark.  If you use the u3é
> > filer, you can match the destination.  But you can't combine both.
> >
> >Stef
>
> Then, what about using cascade operations?
> Cannot you direct the traffic matching the first pattern on a class
> which will constitue a parent for a second class which will contain
> traffic matching the second pattern?
Yes. But you will need an extra level of classes.  But why not using more 
marks so you only need a fw filter?

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

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

      parent reply	other threads:[~2003-02-10 14:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-10 10:34 [LARTC] tc filter howto Emo Terziev
2003-02-10 14:03 ` Stef Coene
2003-02-10 14:16 ` Emmanuel Guiton
2003-02-10 14:33 ` Stef Coene [this message]

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-104488770024725@msgid-missing \
    --to=stef.coene@docum.org \
    --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