My interpretation of the documentation was that an empty match entry matches everything. I changed the configuration to enforce the matching and it still fails:
``` root@ubuntu:~# cat /etc/netplan/01-netcfg.yaml # This file describes the network interfaces available on your system # For more information, see netplan(5). network: version: 2 renderer: networkd ethernets: all: match: name: ens* dhcp4: yes root@ubuntu:~# networkctl IDX LINK TYPE OPERATIONAL SETUP 1 lo loopback carrier unmanaged 2 ens6 ether degraded configuring 2 links listed. root@ubuntu:~# networkctl status ens6 * 2: ens6 Link File: /lib/systemd/network/99-default.link Network File: /run/systemd/network/10-netplan-all.network Type: ether State: degraded (configuring) Path: pci-0000:00:06.0 Driver: virtio_net Vendor: Red Hat, Inc. Model: Virtio network device HW Address: 02:01:71:8f:cc:72 Address: fe80::1:71ff:fe8f:cc72 root@ubuntu:~# cat /run/systemd/network/10-netplan-all.network [Match] Name=ens* [Network] DHCP=ipv4 [DHCP] UseMTU=true RouteMetric=100 root@ubuntu:~# journalctl -u systemd-networkd Jul 03 08:52:33 ubuntu systemd[1]: Starting Network Service... Jul 03 08:52:33 ubuntu systemd-networkd[447]: Enumeration completed Jul 03 08:52:33 ubuntu systemd[1]: Started Network Service. Jul 03 08:52:33 ubuntu systemd-networkd[447]: lo: Link is not managed by us Jul 03 08:52:33 ubuntu systemd-networkd[447]: ens6: IPv6 successfully enabled Jul 03 08:52:33 ubuntu systemd-networkd[447]: ens6: Gained carrier Jul 03 08:52:35 ubuntu systemd-networkd[447]: ens6: Gained IPv6LL ``` -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1779721 Title: systemd-networkd does not configure DHCPv4 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1779721/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs