mv /etc/network/interfaces /etc/network/interfaces.save
systemctl enable systemd-networkd

vi /etc/systemd/network/10-eth0.network

[Match]
Name=eth0

[Network]
Address=1.2.3.4/24
Gateway=1.2.3.1
DNS=1.2.3.2

or

[Network]
DHCP=ipv4