netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [iproute2] a 'ip rule ...' bug?
@ 2010-03-26 12:15 thomas yang
  2010-03-30  2:42 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: thomas yang @ 2010-03-26 12:15 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev

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@localhost ~]# ip rule add dsfield 0x28 table 200
Error: argument "dsfield" is wrong: Failed to parse rule type

why???
how to match 'dsfield' ?

[root@localhost ~]# 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-30  2:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-26 12:15 [iproute2] a 'ip rule ...' bug? thomas yang
2010-03-30  2:42 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).