I'm having a little trouble setting up two virtual machines connecting to the internet. I've setup a Windows Server 2008 R2, and Windows 7 virtual machine with host-only networking on their own subnet.
I'm having issues with getting them to connect to the outside network for internet access. Both machines are on their own subnet 192.168.2.0/24 and the host machine on subnet 192.168.1.0/24.
Both vm's are on Internal Network Mode and the Windows Server 2008 machine has a static ip of 192.168.2.2, but no default gateway or dns because i have no idea what to put in there. Do i put in the IP of the VirtualBox Host-only adapter as the default gateway?
This is where im having trouble with. I have DHCP setup on the Server VM and the Windows 7 VM can get an ip from the Server but neither can communicate out to the internet.
I'm lost and i need your help to set this up. I have included a network diagram to for clarity. http://i.imgur.com/wGmtY.jpg