Setup Static IP Address
If you want to setup a Static IP Address in your system , Modify the file /etc/network/interfaces. If your First Ethernet Interface is eth0 ,see the following Example. Just add the following lines in the file with the help of an Editor and Restart the network or system.
iface eth0 inet static
after modifing the file
$ sudo /etc/int.d/networking restartï»¿