I understand sometimes how frustrated Microsoft Learning partners get with injecting internet connectivity into the lab environment. There is no actual requirement for the MSL-TMG machine with a couple of cavets!
- If the course setup is a one box solution with only a “Private Network” or/and “Private Network 2” you can pretty much guarantee this will work.
- If it is a course that has RTR or INET machine then this probably won’t and it’s doubtful you require internet connectivity in the labs anyway.
- One for Instructors!! Enable and Disable this feature when require on Windows 10 courses due to the Current Business update scenarios as the VM’s do not use the LTSB version.
Another couple of useful features is that students can then RDP onto the VM’s which enables copy paste to work much easier or use Remote Desktop Connection Manager.
How do we do this then? Below is the process outlined on Server 2008 R2, almost exactly the same for Server 2012 & R2.
In Hyper-V manager Virtual Network Manager Settings, change the Private Network Adapter to an “Internal only” adapter instead of “Private virtual machine network”.
You will see another Network Adapter appear in Network Settings denoted by Private Network:
Give this the IP address that the Course Setup Guide says to give the Private Network Adapter of the TMG server (Do not give it a Gateway Address). Use the DC VM IP Address as the DNS Address.
Click ok and open Server Manager and Add a New Role:
Select Routing on the next page and it will ask you to install the Routing and Remote Access Server as it’s a reliant feature.
Go to Start > Administrative Tools > Routing and Remote Access
Right Click your Server Name and Click Configure and Enable Routing and Remote Access.
Select the INTERNET connection of your Hyper-V Host Machine:
Ensure your DC is on as this is what provides DNS for the internet connectivity and test inside one of the VM’s