(k)rafaeldtinoco@kcluster01:~$ sudo vi /etc/systemd/network/10-netplan-eth3.network
<add KeepConfiguration=static to .network file>
(k)rafaeldtinoco@kcluster01:~$ systemctl restart systemd-networkd
(k)rafaeldtinoco@kcluster01:~$ ip addr show eth3 5: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:11:f0:03 brd ff:ff:ff:ff:ff:ff inet 10.0.3.2/24 brd 10.0.3.255 scope global eth3 valid_lft forever preferred_lft forever inet 10.0.3.1/24 brd 10.0.3.255 scope global secondary eth3 valid_lft forever preferred_lft forever inet6 fe80::5054:ff:fe11:f003/64 scope link valid_lft forever preferred_lft forever
<interface does NOT restart the aliases>
Voila. Needs better testing with KeepConfiguration=dhcp.
(k)rafaeldtinoc o@kcluster01: ~$ sudo vi /etc/systemd/ network/ 10-netplan- eth3.network
<add KeepConfigurati on=static to .network file>
(k)rafaeldtinoc o@kcluster01: ~$ systemctl restart systemd-networkd
(k)rafaeldtinoc o@kcluster01: ~$ ip addr show eth3 MULTICAST, UP,LOWER_ UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 ff:fe11: f003/64 scope link
5: eth3: <BROADCAST,
link/ether 52:54:00:11:f0:03 brd ff:ff:ff:ff:ff:ff
inet 10.0.3.2/24 brd 10.0.3.255 scope global eth3
valid_lft forever preferred_lft forever
inet 10.0.3.1/24 brd 10.0.3.255 scope global secondary eth3
valid_lft forever preferred_lft forever
inet6 fe80::5054:
valid_lft forever preferred_lft forever
(k)rafaeldtinoc o@kcluster01: ~$ ip addr show eth3 MULTICAST, UP,LOWER_ UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 ff:fe11: f003/64 scope link
5: eth3: <BROADCAST,
link/ether 52:54:00:11:f0:03 brd ff:ff:ff:ff:ff:ff
inet 10.0.3.2/24 brd 10.0.3.255 scope global eth3
valid_lft forever preferred_lft forever
inet 10.0.3.1/24 brd 10.0.3.255 scope global secondary eth3
valid_lft forever preferred_lft forever
inet6 fe80::5054:
valid_lft forever preferred_lft forever
(k)rafaeldtinoc o@kcluster01: ~$ systemctl restart systemd-networkd
(k)rafaeldtinoc o@kcluster01: ~$ ip addr show eth3 MULTICAST, UP,LOWER_ UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 ff:fe11: f003/64 scope link
5: eth3: <BROADCAST,
link/ether 52:54:00:11:f0:03 brd ff:ff:ff:ff:ff:ff
inet 10.0.3.2/24 brd 10.0.3.255 scope global eth3
valid_lft forever preferred_lft forever
inet 10.0.3.1/24 brd 10.0.3.255 scope global secondary eth3
valid_lft forever preferred_lft forever
inet6 fe80::5054:
valid_lft forever preferred_lft forever
<interface does NOT restart the aliases>
Voila. Needs better testing with KeepConfigurati on=dhcp.