mv /etc/network/interfaces /etc/network/interfaces.save
systemctl enable systemd-networkd
nano /etc/systemd/network/lan0.network
[Match] Name=enp0s3 [Network] DHCP=yes [DHCP] ClientIdentifier=mac
systemctl start systemd-networkd
mv /etc/network/interfaces /etc/network/interfaces.save
systemctl enable systemd-networkd
nano /etc/systemd/network/lan0.network
[Match] Name=enp0s3 [Network] DHCP=yes [DHCP] ClientIdentifier=mac
systemctl start systemd-networkd