Cam pe la 08/11/2005 05:05 AM, Constantin Gavrilescu scrise:

> ...imi da urmatoarea eroare: RTNETLINK answers: Invalid argument. We 
> have an error talking to the kernel.
>
> + /sbin/tc class add dev eth1 parent 1: classid 1:1 htb rate 3mbit 
> ceil 3mbit
> + /sbin/tc filter add dev eth1 protocol ip parent 1: prio 1 handle 10 
> fw flowid 1:1
> RTNETLINK answers: Invalid argument
> We have an error talking to the kernel
> + /sbin/tc class add dev eth1 parent 1: classid 1:2 htb rate 70mbit 
> ceil 70mbit
> + /sbin/tc filter add dev eth1 protocol ip parent 1: prio 1 handle 20 
> fw flowid 1:2
> RTNETLINK answers: Invalid argument
> We have an error talking to the kernel
>
> Pot sa adaug filtre u32 fara probleme. Am gresit ceva mai sus?
> kernel 2.6.8-2-686-smp


Am upgradat la kernel 2.6.11 si la fel.
Am upgradat iproute la ultima vers. si la fel.
Si pentru ca azi trebuie sa termin chestia asta, am rezolvat cu patchul 
u32 al lui "Catalin(ux aka Dino) BOIE".

+ /root/iproute2-2.6.11-050330/tc/tc class add dev eth1 parent 1: 
classid 1:1 htb rate 3mbit ceil 3mbit
+ /root/iproute2-2.6.11-050330/tc/tc filter add dev eth1 protocol ip 
parent 1: prio 1 u32 match mark 0x000a 0xffff flowid 1:1
+ /root/iproute2-2.6.11-050330/tc/tc class add dev eth1 parent 1: 
classid 1:2 htb rate 70mbit ceil 70mbit
+ /root/iproute2-2.6.11-050330/tc/tc filter add dev eth1 protocol ip 
parent 1: prio 1 u32 match mark 0x0014 0xffff flowid 1:2
+ /root/iproute2-2.6.11-050330/tc/tc class add dev eth1 parent 1: 
classid 1:3 htb rate 20mbit ceil 20mbit
+ /root/iproute2-2.6.11-050330/tc/tc filter add dev eth1 protocol ip 
parent 1: prio 1 u32 match mark 0x001e 0xffff flowid 1:3

Raspunde prin e-mail lui