From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Problems with TC
Date: Wed, 04 Jun 2003 17:02:11 +0000 [thread overview]
Message-ID: <marc-lartc-105474696020418@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105474198413989@msgid-missing>
On Wednesday 04 June 2003 17:51, Lars Goldschlager wrote:
> Greetings all... I write because i've been battlign a
> problem with tc for two days and I can't find a
> solution or a response to the failure... Basically I
> am trying to shape marked packages since I have a NAT
> and I discovered of course that I couldn't shape based
> on ip with the NAT in place, for the rule didn't
> apply... so I set a mark to the packages depending on
> the ip they came from, but then when I try to
> implement the filter to match these packages into a
> queue rule I get the following error from tc:
> RTNETLINK answers: Invalid argument
>
> The sytnax I am using is the following:
> /sbin/tc filter add dev eth0 parent 1:0 protocol ip
> prio 1 handle 188 fw flowid 1:3
>
> I've tried diferent syntaxes to no avail, I am
> thinking of trying to use an always-matching u32 rule
> instead of fw but I do not know if that is possible or
> if it'll ever work... also i've checked the kernel and
> I seem to have everything I need compiled, anyhow if
> someone sends me the list of options I need for this
> specific type of filter I can recheck... anyhow
> advanced routing is compiled, such as multiple
> tables.. and I have cls_fw as a module which loads
> correctly into kernel...... Any pointers please???
Do you have a class 1:3? If not, that's why got the error.
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/
next prev parent reply other threads:[~2003-06-04 17:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-04 15:51 [LARTC] Problems with TC Lars Goldschlager
2003-06-04 17:02 ` Stef Coene [this message]
2004-08-24 18:02 ` [LARTC] problems with tc Michael P. Soulier
2004-08-26 12:04 ` Michael P. Soulier
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-105474696020418@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