If your Internet connection is not workig on your virtual machine, the following steps should be taken:
- Check if the virtual machine is connected to the same network
- Check if the virtual machine has an IP address assigned
- Check to see if your Internet connection is working properly
- If something is wrong, run a diagnostic tool
- Check settings on the virtual machine to see if there are any issues
- See if there are any underlying network issues associated with the virtual machine
Steps to take: