====== Ubuntu Static IP ====== ===== /etc/network/interfaces ===== # 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.1.0.x netmask 255.255.252.0 gateway 10.1.0.x # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 10.1.0.x dns-search dns-prefix