#Add this to /etc/network/interfaces iface eth0 inet static address 192.xxx.xx.x netmask 255.255.xxx.xxx gateway 192.168.xx.xxx