copy the file into /etc/systemd/network/80-ethernet-enp2s0.network
[Match]
Name=enp2s0
[Network]
Address=192.168.100.101/24
DNS=8.8.8.8
DNS=8.8.4.4
copy the file into /etc/systemd/network/80-ethernet-enp2s0.network
[Match]
Name=enp2s0
[Network]
Address=192.168.100.101/24
DNS=8.8.8.8
DNS=8.8.4.4