Re: [gentoo-user] [OT] traffic shaping

2006-02-23 Thread Hans-Werner Hilse
Hi,

On Wed, 22 Feb 2006 19:16:35 +0200
Uwe Thiem [EMAIL PROTECTED] 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



Re: [gentoo-user] [OT] traffic shaping

2006-02-23 Thread Ow Mun Heng
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



[gentoo-user] [OT] traffic shaping

2006-02-22 Thread Uwe Thiem
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