Re: [PATCH] ip link: Prevent duplication of table id for vrf tables

From
Ben Greear <hidden>
Date
2020-03-09 14:04:40
Reply to
David Ahern, 2020-03-09

On 03/08/2020 07:22 PM, David Ahern wrote:
On 3/7/20 1:59 PM, Donald Sharp wrote:
quoted
Creation of different vrf's with duplicate table id's creates
a situation where two different routing entities believe
they have exclusive access to a particular table.  This
leads to situations where different routing processes
clash for control of a route due to inadvertent table
id overlap.  Prevent end user from making this mistake
on accident.
I get the pain, but it is a user management problem and ip is but one
tool. I think at most ip warns the user about the table duplication; it
can't fail the create.
You could default 'ip' to use the safe mode, and allow a --force option if
there is some reason why it should be allowed?

Thanks,
Ben

-- 
Ben Greear [off-list ref]
Candela Technologies Inc  http://www.candelatech.com
Thread (5 messages) 5 messages, 3 authors, last reply 2020-03-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help