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