All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ethy H. Brito" <ethy@inexo.com.br>
To: lartc@vger.kernel.org
Subject: [LARTC] fw and match filters (was NAT+mangle+tc)
Date: Tue, 12 Oct 2004 23:29:40 +0000	[thread overview]
Message-ID: <Pine.LNX.4.58.0410122120490.201@node1> (raw)

On Tue, 12 Oct 2004, Robert Felber wrote:

> try:
>
> tc filter add dev eth2 protocol ip parent 1: prio 1 handle 1 fw classid 1:X
>
> X is your class, it should not be 1 since this is usually a root class (I
> guess you are using HTB). Example:

Ok. I created two special classes under '1:' for each interface to acomodate
the icmp traffic.
Now the 'tc filter ... fw ... ' lines works flawlessly.

But after I execute the 'tc filter ... fw ... ' command, every
'tc filter ... match ... ' after those gives me the
'RTNETLINK answers: Invalid argument' error.

Aren't they (fw and match) supposed to cohexist?

If I comment the 2 'filter fw' lines the errors desappear.
Any ideas?

Ethy H. Brito         /"\
InterNexo Ltda.       \ /  CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
+55 (12) 3941-6860     X   ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
S.J.Campos - Brasil   / \
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

             reply	other threads:[~2004-10-12 23:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-12 23:29 Ethy H. Brito [this message]
2004-10-13  5:38 ` [LARTC] fw and match filters (was NAT+mangle+tc) Robert Felber

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=Pine.LNX.4.58.0410122120490.201@node1 \
    --to=ethy@inexo.com.br \
    --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.