Systemd: Setup a static IP Address

Create new file /etc/systemd/network/eth0.network.
[Match]
Name=eth0
[Network]
Address=192.168.100.2/24
Gateway=192.168.100.1
DNS=192.168.100.1


systemctl enable systemd-networkd.service

Leave a Reply

Your email address will not be published. Required fields are marked *

Are we human, or are we dancers ? *