change ipaddress

1. You must login as root to change ip address

2.
CODE:
# netconfig -d eth0

you can change eth0 with other eth interface if any. i.e. eth1
then type in you ip address and network configuration

-- or --

edit your /etc/sysconfig/network-scripts/ifcfg-eth0 file
CODE:
# vi /etc/sysconfig/network-scripts/ifcfg-eth0


3. Reactivate the new network configuration

CODE:
# init 6

by restarting your linux :P

-- or --

CODE:
# service network restart

if you are redhat/fedora core/centos or its derivation

-- or --

CODE:
# /etc/init.d/network restart

with other distro of linux