DHCPCD is standard on raspbian, but for this use it is not clear that it has advantages over good old networking service. So it is disabled (source here).
systemctl stop dhcpcd systemctl disable dhcpcd apt remove dhcpcd5
Basic network/interface is set :
auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.163.252 netmask 255.255.255.0 gateway 192.168.163.254 network 192.168.163.0 broadcast 192.168.163.255 dns-nameservers 192.168.163.30 22.214.171.124 dns-search couderc.eu
the old and the new IP addresses should ping…