Andrew Shadura wrote:
> Bob, is it okay if I unconditionally add 'label %iface%' to 'ip addr
> add' calls in ifupdown? Testing shows it appears to do what's intended,
> but please confirm if it really true.

I believe that is true.  I believe that you should always be able to
add a label to the interface when doing 'ip addr add'.  And that when
deleting the interface with 'ip addr del' it should always be okay
(but not required) to use the same option arguments used as when it
was added.  If a label is provided then it must match.

But I don't want to misrepresent myself.  I have no special knowledge
of the ip and kernel internals.  I am just a long time user of them.
Here I can only act as a second brain and reviewer.  I think always
adding a label is a good way to maintain backward compatibility with
the previous behavior and the expectations from it.

If a new version is made available I will be happy to test it.

Bob

Attachment: signature.asc
Description: Digital signature

Reply via email to