mudar a rede no debian buster

/etc/network/interfaces

auto eth0
iface eth0 inet static
address 192.168.10.31
netmask 255.255.255.0
network 192.168.10.0
gateway 192.168.10.1