systemd-networkd Study Notes linux linux networking

systemd-networkd

A modern system service that replaces ifupdown in minimal setups

Configuration location:

/etc/systemd/network/

Wi-Fi setup (conceptually)

You define:

  • network config (.network)
  • link config (.link)
  • and still use wpa_supplicant

Example:

/etc/systemd/network/wlan0.network

[Match]
Name=wlan0

[Network]
DHCP=yes

Then enable:

systemctl enable systemd-networkd
systemctl start systemd-networkd