Image may be NSFW.
Clik here to view.
On your CentOS edit /etc/sysconfig/network-scripts/ifcfg-enp0s3 and set ONBOOT to yes and add the DNSs… in this case I’m using Google DNS ips.
ONBOOT=yes DNS1=8.8.8.8 DNS2=8.8.4.4
Should work! Image may be NSFW.
Clik here to view.