Virtual Machine Client Has No Internet Connection.

Stealthychu

Commendable
Jul 30, 2017
11
0
1,510
I have set up a virtual machine of a server running Windows 2012 R2 and a client machine running Windows 10. After setting up the domain, DNS, DHCP and Roaming Profiles my machine receives an IP address from the DHCP pool with no issue and has no problem communicating with the network but does not however have any connection to the internet and i am un-sure what is causing this as the server has a internet connection with no issues.
Server has two network cards. Private (Host Only), Public (Bridged) and the client PC has a host only network adapter.
Does anyone know what might be causing this?
 
The host-only network adapter in your VM client means it is on a private virtual LAN with only the host PC. That is the network you're seeing.

If you want the client to have Internet access, you need to switch its virtual network adapter to use the bridged network card (in which case it'll look like a real physical computer on your real LAN), or a NAT network card (in which case the host PC will act like a router, and the VM can see everything on your LAN and the Internet, but your LAN can only see the host PC, not the VM).
 
I did think that however when i changed it to a 'Bridged' adapter it did have access to the internet but no longer received its Roaming Profile or DHCP from the server. It instead seems to receive one from my ISP such as my physical computer does?