May 13, 2009

Setting Static IP address in Linux

To assign a static IP address, just open the terminal and type the following
sudo ifconfig eth0 your_ip_adddress

Here eth0 is the name of your NIC(Network Interface Card). You need super user privileges to do static IP assignment. Its recommended that the IP you assign is in the range 10.xx.xx.xx or in the range 192.168.xx.xx.

Click Here!