Home ubuntu
From Wiki2
Ubuntu 12.04LTS
/etc/network/interfaces to make 10.0.1.101 static
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 10.0.1.101 netmask 255.255.255.0 gateway 10.0.1.1 dns-nameservers 8.8.8.8 10.0.1.1