Configuring Interfaces

To configure a particular interface, you must create a network file/netdev file in /etc/systemd/network/.

For example, to configure interface eth0 with DHCP, create network file 50-wired.network and place it in /etc/systemd/network/:

[Match]
Name=eth0
[Network]
DHCP=ipv4

For more information on network file semantics, priority, and location, see the systemd-networkd man page.