Hello. Currently routes in the Linux routing table have these "key" fields: prefix, tos, table, metric (as I know). I.e. we can not have two different routes with the same set of this fields. And "ip route list" command can be all but one of those fields. We cannot pass metric to it and this is inconvenient. I ask if this behaviour can be changed by someone. We can even use "secondary" fields, for example type, dev or via, but not metric unfortunately.
Patches accepted. Please forward to netdev@vger.kernel.org
Created attachment 260713 [details] proposed patch Attaching patch. And I posted the question to the mailing list too.
I think this could be closed as patches have been merged already.