systemd-networkd configuration files are stored in /etc/systemd/network/
Example
/etc/systemd/network/05-eth0.network
Here is a sample config
[Match] Name=eth0 [Network] DHCP=no DNS=172.105.170.5 172.105.161.5 172.105.171.5 Domains=members.linode.com IPv6PrivacyExtensions=false Gateway=194.195.127.1 Address=194.195.127.150/24
To restart systemd-networkd
systemctl restart systemd-networkd
See IP
Leave a Reply