Let's do that:
(write sudo before the command if you are not root)
apt-get update
apt-get install ifupdown
/etc/network/interfaces
With:
allow-hotplug eth0
auto eth0
iface eth0 inet static
address x.x.x.x
netmask x.x.x.x
broadcast x.x.x.x
gateway x.x.x.x
dns-nameservers x.x.x.x
ifdown --force eth0 && ifup -a
systemctl stop networkd-dispatcher
systemctl disable networkd-dispatcher
apt-get purge nplan netplan.io
/etc/systemd/resolved.conf
With:
[Resolve]
DNS=x.x.x.x