In this guide I will give you the first steps to troubleshoot network in let's say, a virtualized guest (KVM, vmware, etc)
First, attempt to curl/ping google.com
if fails check /etc/resolve.conf
if fails check `ip addr` and see if your Network Interface is created and has an IP.
to be continued