Method # 1: GUI tool system-config-network
You will see Window as above. Now select your Ethernet card (eth0 or eth1) and click on Edit button. You can now setup IP address, netmask, default gateway and other properties.
command line
Method # 2: Command line tool system-config-network-tui
Method #3: Edit configuration files stored in /etc/sysconfig/network-scripts/
refer
http://www.cyberciti.biz/faq/rhel-centos-fedoracore-linux-network-card-configuration/