[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <f4f837ab1003260515y54f0db76vc19c966f39e1d3a1@mail.gmail.com>
Date: Fri, 26 Mar 2010 20:15:30 +0800
From: thomas yang <lampsu@...il.com>
To: Stephen Hemminger <shemminger@...tta.com>
Cc: netdev@...r.kernel.org
Subject: [iproute2] a 'ip rule ...' bug?
in /etc/iproute2/rt_dsfield
...
# Newer RFC2597 values
0x28 AF11
0x30 AF12
0x38 AF13
...
---in ip man page ---
ip rule add - insert a new rule
tos TOS
dsfield TOS
select the TOS value to match.
---
[root@...alhost ~]# ip rule add dsfield 0x28 table 200
Error: argument "dsfield" is wrong: Failed to parse rule type
why???
how to match 'dsfield' ?
[root@...alhost ~]# ip rule add tos 0x28 table 200
RTNETLINK answers: Invalid argument
(My OS is Fedora 11 : kernel-2.6.30.10-105.2.23.fc11.i586 ,
iproute-2.6.29-2.fc11.i586 ;
on my another linux box ( Fedora 7) 'ip rule' also has the same
problem to match tos and dsfield. )
--
Tom
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists