If the Host machine has a working network connection, but cannot connect to the Internet from the virtual operating system, confirm that the host machine's firewall is not blocking the Internet access.
To do this, temporarily turn off the firewall on the host machine and check the situation. If the connection to the internet is active, than the VMware application has to be added to the firewall exceptions.
Do not forget to reinstate the firewall protection