auto eth0 iface eth0 inet static address 10.1.0.1 netmask 255.255.255.0 gateway 10.1.0.101 up echo nameserver 8.8.8.8 > /etc/resolv.conf