Ubuntu – changing DHCP to Static

Before jumping in and making the changes, do ifconfig -a and note down any particular settings which you may need (if you don’t already know them) Then edit /etc/network/interfaces change: iface eth0 inet dhcp to: iface eth0 inet static address 10.0.0.101 netmask 255.255.255.0 network 10.0.0.0 broadcast 10.0.0.255 gateway 10.0.0.100 May also need to add nameservers …