* [LARTC] tc filter problem with 2.4.22
@ 2003-10-16 16:50 Andrzej Szymanski
2003-10-16 17:31 ` Stef Coene
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Andrzej Szymanski @ 2003-10-16 16:50 UTC (permalink / raw)
To: lartc
Hi,
I have a problem with 'tc filter' on a 2.4.22 kernel from Slackware 9.1
distribution.
The tc command binary is from htb3.6-020525.tgz
(http://luxik.cdi.cz/~devik/qos/htb)
I'm trying the following command sequence:
tc qdisc add dev eth0 root handle 1: htb default 1 r2q 1
tc class add dev eth0 parent 1: classid 1:1 htb rate 1200kbit ceil
1200kbit
tc class add dev eth0 parent 1:1 classid 1:1002 htb rate 20kbit ceil
1200kbit burst 1600 cburst 1600
tc qdisc add dev eth0 handle 1002 parent 1:1002 sfq perturb 10
tc filter add dev eth0 protocol ip parent 1:0 prio 10 u32 match ip src
10.0.0.2 flowid 1:1002
'tc filter' command returns:
RTNETLINK answers: Invalid argument
moreover, 'tc filter show' returns:
RTNETLINK answers: Invalid argument
Dump terminated
Everything worked OK on another linux with older (2.4.20) kernel.
Do you have an idea what's wrong?
Andrzej.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [LARTC] tc filter problem with 2.4.22
2003-10-16 16:50 [LARTC] tc filter problem with 2.4.22 Andrzej Szymanski
@ 2003-10-16 17:31 ` Stef Coene
2003-10-16 17:42 ` Andrzej Szymanski
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Stef Coene @ 2003-10-16 17:31 UTC (permalink / raw)
To: lartc
On Thursday 16 October 2003 18:50, Andrzej Szymanski wrote:
> Hi,
>
> I have a problem with 'tc filter' on a 2.4.22 kernel from Slackware 9.1
> distribution.
> The tc command binary is from htb3.6-020525.tgz
> (http://luxik.cdi.cz/~devik/qos/htb)
>
> I'm trying the following command sequence:
>
> tc qdisc add dev eth0 root handle 1: htb default 1 r2q 1
> tc class add dev eth0 parent 1: classid 1:1 htb rate 1200kbit ceil
> 1200kbit
> tc class add dev eth0 parent 1:1 classid 1:1002 htb rate 20kbit ceil
> 1200kbit burst 1600 cburst 1600
> tc qdisc add dev eth0 handle 1002 parent 1:1002 sfq perturb 10
> tc filter add dev eth0 protocol ip parent 1:0 prio 10 u32 match ip src
> 10.0.0.2 flowid 1:1002
>
> 'tc filter' command returns:
> RTNETLINK answers: Invalid argument
>
> moreover, 'tc filter show' returns:
> RTNETLINK answers: Invalid argument
> Dump terminated
>
> Everything worked OK on another linux with older (2.4.20) kernel.
>
> Do you have an idea what's wrong?
Mhh. I have a tc binary on www.docum.org, can you try that one?
http://www.docum.org/stef.coene/qos/download/
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [LARTC] tc filter problem with 2.4.22
2003-10-16 16:50 [LARTC] tc filter problem with 2.4.22 Andrzej Szymanski
2003-10-16 17:31 ` Stef Coene
@ 2003-10-16 17:42 ` Andrzej Szymanski
2003-10-16 17:48 ` Stef Coene
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Andrzej Szymanski @ 2003-10-16 17:42 UTC (permalink / raw)
To: lartc
I've tried it - exactly the same problem.
# ./tc filter add dev eth0 protocol ip parent 1:0 prio 10 u32 match ip
src 10.0.0.2 flowid 1:1002
RTNETLINK answers: Invalid argument
Andrzej.
Stef Coene wrote:
> Mhh. I have a tc binary on www.docum.org, can you try that one?
> http://www.docum.org/stef.coene/qos/download/
>
> Stef
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [LARTC] tc filter problem with 2.4.22
2003-10-16 16:50 [LARTC] tc filter problem with 2.4.22 Andrzej Szymanski
2003-10-16 17:31 ` Stef Coene
2003-10-16 17:42 ` Andrzej Szymanski
@ 2003-10-16 17:48 ` Stef Coene
2003-10-16 18:20 ` Andrzej Szymanski
2003-10-17 15:40 ` Damjan
4 siblings, 0 replies; 6+ messages in thread
From: Stef Coene @ 2003-10-16 17:48 UTC (permalink / raw)
To: lartc
On Thursday 16 October 2003 19:42, Andrzej Szymanski wrote:
> I've tried it - exactly the same problem.
>
> # ./tc filter add dev eth0 protocol ip parent 1:0 prio 10 u32 match ip
> src 10.0.0.2 flowid 1:1002
> RTNETLINK answers: Invalid argument
Are you running a kernel with u32 filter support ?
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [LARTC] tc filter problem with 2.4.22
2003-10-16 16:50 [LARTC] tc filter problem with 2.4.22 Andrzej Szymanski
` (2 preceding siblings ...)
2003-10-16 17:48 ` Stef Coene
@ 2003-10-16 18:20 ` Andrzej Szymanski
2003-10-17 15:40 ` Damjan
4 siblings, 0 replies; 6+ messages in thread
From: Andrzej Szymanski @ 2003-10-16 18:20 UTC (permalink / raw)
To: lartc
Hmmm, I guess no. I'm compiling a new kernel, but this will take a
while.
I'll let you know afterwards.
Thanks,
Andrzej.
Stef Coene wrote:
>
> On Thursday 16 October 2003 19:42, Andrzej Szymanski wrote:
> > I've tried it - exactly the same problem.
> >
> > # ./tc filter add dev eth0 protocol ip parent 1:0 prio 10 u32 match ip
> > src 10.0.0.2 flowid 1:1002
> > RTNETLINK answers: Invalid argument
> Are you running a kernel with u32 filter support ?
>
> Stef
--
Andrzej Szymañski, M.Sc.
tel. +48 12 6174035
fax. +48 12 6342372
e-mail: szymans@agh.edu.pl
AGH University of Science and Technology
Department of Telecommunications
Al. Mickiewicza 30
30-059 Kraków
POLAND
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [LARTC] tc filter problem with 2.4.22
2003-10-16 16:50 [LARTC] tc filter problem with 2.4.22 Andrzej Szymanski
` (3 preceding siblings ...)
2003-10-16 18:20 ` Andrzej Szymanski
@ 2003-10-17 15:40 ` Damjan
4 siblings, 0 replies; 6+ messages in thread
From: Damjan @ 2003-10-17 15:40 UTC (permalink / raw)
To: lartc
> Hmmm, I guess no. I'm compiling a new kernel, but this will take a
> while.
> I'll let you know afterwards.
Slackware-9.1's kernel by default doesn't have support for anything TC,
you'll have to compil your own kernel.
--
Damjan Georgievski
jabberID: damjan@bagra.net.mk
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-10-17 15:40 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-16 16:50 [LARTC] tc filter problem with 2.4.22 Andrzej Szymanski
2003-10-16 17:31 ` Stef Coene
2003-10-16 17:42 ` Andrzej Szymanski
2003-10-16 17:48 ` Stef Coene
2003-10-16 18:20 ` Andrzej Szymanski
2003-10-17 15:40 ` Damjan
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.