, ubuntu 16.04 , , sudo nano /etc/network/interfaces , , iface inet static , address 192.168.0.100 , netmask 255.255.255.0 , gateway 192.168.0.1 , dns-nameservers 8.8.8.8 8.8.4.4 , , sudo reboot ,