First you will need to edit the file ifcfg-eth0 :
Here is an example, just make sure to change your IP Address that you want to use and your netmask if applicable.
Next you need to go in and configure your default gateway :
Again here is an example, make sure to keep your hostname what you set it up to be :
Last thing you will need to do is set up your nameservers :
Here is an example, this example is using google’s DNS server and a home router
And finally you will need to restart the network service :