How to configure static ip address on CentOS 7

In this small tutorial i will explain how to configure static ip address on CentOS 7 minimal.
First, need to edit the set up for the ethernet. Let’s start with editing “/etc/sysconfig/network-scripts/ifcfg-enp0s3″ file:

Save and exit.

Now, configure default getaway:
And add following line:
Configure DNS Server
add following line:
Now restart your network or rebooting system
Check your network: