I installed Ubuntu 17.10 with latest updates on a vmware virtual machine.
Netplan does not configure my 2 ethernets.
Here is my /etc/netplan/01-netcfg.yaml
network: version: 2 renderer: networkd ethernets: lan: match: macaddress: 00:12:34:a8:29:e8 set-name: lan dhcp4: false dhcp6: false accept-ra: false addresses: - 10.10.0.48/24 - 1701:5740:5000:3301::48/64 failover: match: macaddress: 00:45:57:89:27:e8 set-name: failover dhcp4: false dhcp6: false accept-ra: false addresses: - 22.214.171.124/27 - 1701:5740:5000:3300::30/64 gateway4: 126.96.36.199 gateway6: 1701:5740:5000:3300::1 nameservers: search: - example.at - intern.example.at addresses: - 10.10.0.1 - 1701:5740::66
I switched back to predictable devices like eth0, and after boot all devices are named properly, but not configured.
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: lan: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 00:12:34:a8:29:e8 brd ff:ff:ff:ff:ff:ff 3: failover: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 00:45:57:89:27:e8 brd ff:ff:ff:ff:ff:ff
After login and fireing systemctl restart systemd-networkd devices are configured. netplan apply also does the job.
I played so much around with systemd-networkd.service and systemd-networkd.timer but nothing helped.
It is quite frustrating set up the network manually after each reboot.
Does anyone know how to solve this?