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*
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:
``` 01-netcfg. yaml
root@ubuntu:~# cat /etc/netplan/
# 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. network/ 99-default. link network/ 10-netplan- all.network 71ff:fe8f: cc72 network/ 10-netplan- all.network
root@ubuntu:~# networkctl status ens6
* 2: ens6
Link File: /lib/systemd/
Network File: /run/systemd/
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:
root@ubuntu:~# cat /run/systemd/
[Match]
Name=ens*
[Network]
DHCP=ipv4
[DHCP] networkd[ 447]: Enumeration completed networkd[ 447]: lo: Link is not managed by us networkd[ 447]: ens6: IPv6 successfully enabled networkd[ 447]: ens6: Gained carrier networkd[ 447]: ens6: Gained IPv6LL
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-
Jul 03 08:52:33 ubuntu systemd[1]: Started Network Service.
Jul 03 08:52:33 ubuntu systemd-
Jul 03 08:52:33 ubuntu systemd-
Jul 03 08:52:33 ubuntu systemd-
Jul 03 08:52:35 ubuntu systemd-
```