CONFIGURACIÓN DE PROPIEDADES DE RED EN CENTOS7

# vim /etc/sysconfig/network-scripts/ifcfg-ens33
 
ONBOOT=no
BOOTPROTO=dhcp
 
To:
 
ONBOOT=yes
BOOTPROTO=static
 
Now you'll need to add the entries to set not only the IP address, but the netmask, gateway, and DNS addresses. At the bottom of that file, add the following:
 
IPADDR=192.168.1.200
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
DNS1=1.0.0.1
DNS2=1.1.1.1
DNS3=8.8.4.4