networkd ignores errors in reading driver through ethtool. The kind of
network interface is retrieved through netlink, and networkd checks
checks many failures. So, using Kind= should be safer.
No functional change, just for safety.
# systemd-networkd when DHCPv4 6RD option is received.
[Match]
+Kind=sit
Name=6rd-*
-Type=sit
[Network]
DHCPPrefixDelegation=yes
# details.
[Match]
-Virtualization=container
+Kind=veth
Name=host0
+Virtualization=container
[Network]
DHCP=yes
# --network-zone switch. See systemd-nspawn(1) for details.
[Match]
+Kind=veth
Name=vb-*
-Driver=veth
[Network]
KeepMaster=yes
# details.
[Match]
+Kind=veth
Name=ve-*
-Driver=veth
[Network]
# Default to using a /28 prefix, giving up to 13 addresses per container.
# --network-zone= switch. See systemd-nspawn(1) for details.
[Match]
+Kind=bridge
Name=vz-*
-Driver=bridge
[Network]
# Default to using a /24 prefix, giving up to 253 addresses per virtual network.
# configuration as ve-* to provide NAT/DHCP to VMs.
[Match]
+Kind=tun
Name=vt-*
-Driver=tun
[Network]
# Default to using a /28 prefix, giving up to 13 addresses per VM.