iptables IMQ command problem

Diego Cabrero diego.cabrero at e-attico.net
Thu Nov 24 13:32:43 CET 2005


Hi everybody,
Here is my situation:
First of all, i need control over the downlink bandwith, so i patched 
kernel (2.4.28), iptables (1.2.11) so that i get IMQ support (imq0 and 
imq1), but when i run the traffic control script i've got an error on 
this line:

iptables -t mangle -A PREROUTING -i eth1 -j IMQ --todev 0

The error report is:
iptables v1.2.11: Unknown arg `--todev'
Try `iptables -h' or 'iptables --help' for more information.
RTNETLINK answers: Invalid argument
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory

I've tried a lot of things like change the file's ".IMQ-test" mode , 
check if todev variable exist (it does), don't know what could be next, 
i'd appreciate some help.

Thanks.




More information about the netfilter-devel mailing list