(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
(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
(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.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1815101
Title:
[master] Restarting systemd-networkd breaks keepalived, heartbeat,
corosync, pacemaker (interface aliases are restarted)
To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-keepalived/+bug/1815101/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs