Set Fixed IP Address on Ubuntu


Posted by Andrew McCombe on Thu Aug 13, 2009

I often find that I need to fix an IP address using Ubuntu Server and then have to search for the correct format for /etc/network/interfaces.  For record, here it is:

auto lo
iface lo inet loopback

iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.1.3

auto eth0