RTNETLINK answers: Invalid argument, fwmark

Linux Advanced Routing and Traffic Control

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

 




	I'm using htb classes on my firewall to queue traffic and implement 
different restrictions on different protocols.

tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 190
tc class add dev eth0 parent 1: classid 1:3 htb rate 2mbit burst 30k
tc class add dev eth0 parent 1:1 classid 1:90 htb rate 50kbit ceil 384kbit 
burst 5k
tc qdisc add dev eth0 parent 1:90 handle 190: sfq perturb 10
tc qdisc add dev eth0 parent 1:3 handle 310: sfq perturb 10


tc filter add dev eth0 protocol ip parent 1:0 prio 1 handle 3 fw flowid 1:3

This last line gets a "RTNETLINK answers: Invalid argument"

I'm using kernel 2.4.18 with the htb and wrr patches on both the kernel and 
on tc
in the kernel .config I have:

CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_FWMARK=y


	I'm not really sure where else I could be going wrong, any advice would be 
greatly appreciated.
_____________________________________________________________
David Watson, Network Manager, Team17 Software Ltd.
Phone: +44-1924-267776			Fax: +44-1924-267658
_____________________________________________________________

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
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