public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] [OT] traffic shaping
@ 2006-02-22 17:16 Uwe Thiem
  2006-02-23 21:55 ` Hans-Werner Hilse
  0 siblings, 1 reply; 3+ messages in thread
From: Uwe Thiem @ 2006-02-22 17:16 UTC (permalink / raw
  To: gentoo-user

Hi folks,

I am struggling with traffic shaping. I have ironed out most rough things but 
are stuck with one remaining issue.

It happens as soon as I enter any one of the following lines:

tc filter add dev eth2 parent 1: prio 2 handle 1 fw flowid 1:20
tc filter add dev eth2 parent 1: protocol ip prio 2 handle 1 fw flowid 1:20
tc filter add dev eth2 parent 1: prio 2 handle 1 fw classid 1:20
tc filter add dev eth2 parent 1: protocol ip prio 2 handle 1 fw classid 1:20

I then get the error message:
RTNETLINK answers: Invalid argument
We have an error talking to the kernel

Prior experience suggests that a module is missing or not loaded. The question 
is: Which one? Or am I completely wrong in my assumption?

Any experts here to lend a brain cell? ;-)

Uwe
 
-- 
Why do consumers keep buying products they will live to curse?
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] [OT] traffic shaping
  2006-02-22 17:16 [gentoo-user] [OT] traffic shaping Uwe Thiem
@ 2006-02-23 21:55 ` Hans-Werner Hilse
  2006-02-24  5:21   ` Ow Mun Heng
  0 siblings, 1 reply; 3+ messages in thread
From: Hans-Werner Hilse @ 2006-02-23 21:55 UTC (permalink / raw
  To: gentoo-user

Hi,

On Wed, 22 Feb 2006 19:16:35 +0200
Uwe Thiem <uwix@iway.na> wrote:

> It happens as soon as I enter any one of the following lines:
> 
> tc filter add dev eth2 parent 1: prio 2 handle 1 fw flowid 1:20
> [...]
> I then get the error message:
> RTNETLINK answers: Invalid argument
> We have an error talking to the kernel
> 
> Prior experience suggests that a module is missing or not loaded. The question 
> is: Which one? Or am I completely wrong in my assumption?

Did you compile "QoS and/or fair queuing" support into the kernel
(i.e., not the "traffic shaping device" which is in the device
section)? It should then load modules automatically (well, if
configured in the kernel, that is).

Hm, and you _did_ set up the qdiscs and classes first? OTOH, and I
don't know for sure if that's needed before configuring the filters.

-hwh
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] [OT] traffic shaping
  2006-02-23 21:55 ` Hans-Werner Hilse
@ 2006-02-24  5:21   ` Ow Mun Heng
  0 siblings, 0 replies; 3+ messages in thread
From: Ow Mun Heng @ 2006-02-24  5:21 UTC (permalink / raw
  To: gentoo-user

On Thu, 2006-02-23 at 22:55 +0100, Hans-Werner Hilse wrote:

> Hm, and you _did_ set up the qdiscs and classes first? OTOH, and I
> don't know for sure if that's needed before configuring the filters.

I do believe that the q-classes are needed.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-02-24  5:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-22 17:16 [gentoo-user] [OT] traffic shaping Uwe Thiem
2006-02-23 21:55 ` Hans-Werner Hilse
2006-02-24  5:21   ` Ow Mun Heng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox