Open Command Prompt and type: ping www.google.com
What you will probably see is “could not resolve host”. If you do, then confirm that your DNS is
pointing to the wrong place by typing: ipconfig
/all
Down at the bottom you will see the DNS Server(s) you are
using. If it is set to 127.0.0.1 then you need to find a “real”
DNS server.
On the HOST operating system open a command prompt
and type: ipconfig /all and note the
DNS server.
Back on the guest VM, open up the TCP/IP properties by going to Network
Sharing Center and clicking the connection.
On the Ethernet Status dialog
click Properties. On the Ethernet
Properties dialog click Internet
Protocol Version 4 (TCP/IPv4) and click Properties:
On the TCP/IP Properties dialog, enter the address of your HOST’s
DNS server and click OK
Go back to your command prompt and you should now be able to
ping www.google.com