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.1systemctl enable systemd-networkd.service
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.1systemctl enable systemd-networkd.service