sudo vim /etc/network/interfaces
auto enp0s3 iface enp0s3 inet static address 10.1.1.83 netmask 255.0.0.0 gateway 10.1.1.1 dns-nameservers 8.8.8.8 8.8.4.4
sudo ip a flush enp0s3 sudo systemctl restart networking.service
Źródło: https://linuxconfig.org/how-to-configure-static-ip-address-on-ubuntu-18-04-bionic-beaver-linux