[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <201601080632.u086WOPd003565@d23av04.au.ibm.com>
Date: Fri, 8 Jan 2016 14:32:08 +0800
From: "Hong Hui Xiao" <xiaohhui@...ibm.com>
To: netdev@...r.kernel.org
Subject: [Question/Bug] Should the priority of ip rule be unique?
Hi,
>From the man page of ip rule at [1], it says that "Each rule should have
an explicitly set unique priority value." It is reasonable to have unique
priority for ambiguous rules.
But I have a set of unambiguous ip rules, do I still need to set the
priority of to be unique? In practice, I can set ip rules with duplicated
priority, and things works as expected. I want to confirm with iproute
developers if this is a support usecase. If so, the information in man
page may need updates.
5000: from all fwmark 0x4000000/0xffff0000 lookup table0
5000: from all fwmark 0x4010000/0xffff0000 lookup table1
5000: from all fwmark 0x4020000/0xffff0000 lookup table2
5000: from all fwmark 0x4030000/0xffff0000 lookup table3
[1] http://man7.org/linux/man-pages/man8/ip-rule.8.html (search for
"unique")
Powered by blists - more mailing lists