Using root user to change ip address
example
vi /etc/sysconfig/network-scripts/ifcfg-eth# (change # with default number 0 for first ethernet )
Press Insert on your keyboard and Changing your ipaddr
Press ESC on your keyboard and type :wq! to save
Type /etc/init.d/network restart to restart the network
references :
http://www.cyberciti.biz/faq/rhel-centos-fedoracore-linux-network-card-configuration/
http://www.cyberciti.biz/faq/linux-change-ip-address/
http://www.wallpaperama.com/forums/how-to-change-ip-address-in-linux-shell-command-t6092.html

