I am using netplan - default in bionic.
I added the repo, made update and reboot.
'systemctl restart systemd-networkd' resulted with keepalived VIP lost.
I added following file and rebooted:
/etc/systemd/network/10-netplan-ens160.network :
---
[Match]
Name=ens160
[Network]
KeepConfiguration=static
---
Network did not come up after reboot.
changed /etc/systemd/network/10-netplan-ens160.network and rebooted:
---
[Match]
Name=ens160
[Network]
Address=10.1.1.233/29
Gateway=10.1.1.238
KeepConfiguration=static
---
'systemctl restart systemd-networkd' did not have any bad results - keepalived VIP remained as expected.
Now I need to have IP and gateway in two files - /etc/netplan/01-netcfg.yaml and /etc/systemd/network/10-netplan-ens160.network
I am using netplan - default in bionic.
I added the repo, made update and reboot.
'systemctl restart systemd-networkd' resulted with keepalived VIP lost.
I added following file and rebooted: network/ 10-netplan- ens160. network :
/etc/systemd/
---
[Match]
Name=ens160
[Network] on=static
KeepConfigurati
---
Network did not come up after reboot.
changed /etc/systemd/ network/ 10-netplan- ens160. network and rebooted:
---
[Match]
Name=ens160
[Network] 10.1.1. 233/29 on=static
Address=
Gateway=10.1.1.238
KeepConfigurati
---
'systemctl restart systemd-networkd' did not have any bad results - keepalived VIP remained as expected.
Now I need to have IP and gateway in two files - /etc/netplan/ 01-netcfg. yaml and /etc/systemd/ network/ 10-netplan- ens160. network
Maanus