How To Configure Static IP On CentOS 6
Once you have installed CentOS server or have created VPS, configure static IP address for connect an individual network. The most common interface file is ifcfg-eth0. As an administrator can manage the interface function in the server.
The below configuration can fix static IP address.
Open the ifcfg-eth0 file and add below configure lines,
IPADDR : your server IP Address is : 192.168.0.10
If have set ONBOOT=Yes device should be activated at boot-time.
If have set ONBOOT=No device should not be activated at boot-time.
GATEWAY : IP address of the network router.
HWADDR : the hardware address of the Ethernet device.
Restart your network sercices,
Configure DNS Server:
If you need to check NetMask, Gateway, IP Address and Network interface.