Until Ubuntu 16.04, I've set label (eg:
eth0:1) to secondary IP address with the following
# primary address auto eth0 iface eth0 inet static address 192.0.2.100 netmask 255.255.255.0 gateway 192.0.2.1 # secodary address with label "eth0:1" auto eth0:1 iface eth0:1 inet static address 192.0.2.20 netmask 255.255.255.0
How can I set lable (eg:
eth0:1) with Ubuntu 18.04 and netplan?
I read https://netplan.io/reference but cannot find.