1. You must login as root to change ip address
2.
CODE:
# netconfig -d eth0
# 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
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
3. Reactivate the new network configuration
CODE:
# init 6
# init 6
by restarting your linux :P
-- or --
CODE:
# service network restart
# service network restart
if you are redhat/fedora core/centos or its derivation
-- or --
CODE:
# /etc/init.d/network restart
# /etc/init.d/network restart
with other distro of linux
