Systemd-networkd¶
Show inferface status:
Migrate from /etc/network/interfaces to systemd-networkd¶
Create a .link
file i.e. /etc/systemd/network/20-wired.link.
Be sure to get the unspoofed MAC address of the NIC!
Create a .network file,
i.e. /etc/systemd/network/20-wired.network:
DHCP example config:
Static IP config:
[Match]
Name=eth0
[Network]
Address=10.27.64.131/29
Gateway=10.27.64.130
DNS=10.43.0.10
DNS=195.190.28.82
Domains=local.example.org example.org
See also How to Configure IPv6 with systemd-networkd
Cleanup: