Hello i have the problem matching tos: root@gate:~# tc filter add dev eth1 parent 1: protocol ip u32 match ip tos 0x20 flowid 1:21 Illegal "match" Here is my lsmod root@gate:~# lsmod Module Size Used by Not tainted sch_dsmark 4416 0 (unused) sch_htb 20352 0 (autoclean) ipt_MARK 760 15 (autoclean) iptable_mangle 2168 1 (autoclean) iptable_nat 16184 1 (autoclean) cls_route 4568 0 (unused) cls_u32 5244 0 cls_fw 2808 4 sch_prio 2944 0 sch_sfq 3392 0 sch_tbf 2752 0 sch_cbq 12928 0 ipt_REJECT 2968 1 (autoclean) ipt_limit 888 1 (autoclean) ipt_LOG 3384 8 (autoclean) ipt_state 568 24 (autoclean) ip_conntrack 18848 2 (autoclean) [iptable_nat ipt_state] iptable_filter 1740 1 (autoclean) ip_tables 11960 10 [ipt_MARK iptable_mangle iptable_nat ipt_REJECT ipt_limit ipt_LOG ipt_state iptable_filter] 3c59x 27856 3 _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Wednesday 12 November 2003 14:10, Emil Slavov wrote:> Hello i have the problem matching tos: > > root@gate:~# tc filter add dev eth1 parent 1: protocol ip u32 match ip tos > 0x20 flowid 1:21 > Illegal "match"Try tc filter add dev eth1 parent 1: protocol ip u32 match ip tos 0x20 0xff flowid 1:21 Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/