On 1/10/06, Flemming Frandsen <ff@xxxxxxxxxxxxx> wrote: > When I run this: > tc filter add dev eth0 parent 1: protocol ip prio 1 handle 1 fw > > I get: > RTNETLINK answers: Invalid argument You are missing the flowid. For example tc filter add dec eth0 parent 1: protocol ip prio 1 handle 1 fw flowid 1:42 > > The traditional interpretation of that gnarly error message is that > cls_fw is missing, but lsmod | grep cls_fw gets me: > cls_fw 2336 4 (autoclean) > > I can't remove it because it's in use, but all 4 statements that use it > failed, so I'm really stumped. > > > This is what happens in begining of the traffic shaper script: > > + tc qdisc del dev eth0 root > + tc qdisc add dev eth0 root handle 1: htb default 0x42 > + tc class add dev eth0 parent 1: classid 1:1 htb rate 700kbit burst 6k > + tc class add dev eth0 parent 1:1 classid 1:42 htb rate 600kbit burst > 15k prio 0 > + tc qdisc add dev eth0 parent 1:42 handle 42: sfq perturb 20 > + tc filter add dev eth0 parent 1: protocol ip prio 1 handle 1 fw > RTNETLINK answers: Invalid argument > + iptables -t mangle -N to-dsl > > Any clues? > > _______________________________________________ > LARTC mailing list > LARTC@xxxxxxxxxxxxxxx > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc > _______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc