Setting A Static IP In Ubuntu

Jun 1st 2010

Its Easy.. 

Open  "/etc/network/interaces" in your text editor.
sudo nano /etc/network/interace

MY SETTINGS:
auto eth1
iface eth1 inet static
        address 192.168.0.103
        netmask 255.255.255.0
        gateway 192.168.0.1


Save the file and restart your network.
sudo /etc/init.d/networking restart