If my machine is connected to several networks and configured with multiple addresses (ipv4), is it wise to configure and use labels to identify them ?
By labels I mean the iproute2 ip command's "label" tag:
ip address add 192.168.0.1 dev eth0 label eth0:local
I want to be able to identify the address and change it using a script when needed.
I'm asking because the man page refers to Linux-2.0 net aliases compatibility which sounds deprecated.
Also, I might be missing a better solution.