Re: tc filter problem with 2.4.22

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux