Server 2012 lab environment question.

I have a lab VM environment on my PC. It does not have internet access, just access to the other VM's in the lab. I need to download some software then transfer the install files to the VM. What is the best way to do this? Its a 2012 server Hyper V environment.

Or is there a way I can get the VM's to connect to my PC wireless to get to the internet? I did it at work with Hyper V but I had to use a network port for each VM.
Thomas NSystems Analyst - Windows System AdministratorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Cliff GaliherCommented:
Hyper-v uses the concept of a virtual switch. When you create an external virtual switch, the NIC you bind it to becomes just an upstream port on the switch... Just as if you were hooking up a physical switch.

If your machine only has one NIC, you can check the box on the virtual switch to share with the management OS and that creates a new virtual NIC in the management (host) OS that is "plugged into" the switch, just like VM NICs work.

If you needed a physical NIC for every VM, you were setting up your  virtual switches wrong.
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
SOPHOS UTM, Untangle, and there's going to be other freebie versions of software based edge routers out there.

The way to do this is as follows depending on the OS in the freebie the VM may need to be Gen1 instead of Gen2.

Production/Home network --> vNIC 1 --> Untangle --> vNIC 0 --> Internal Lab network

Set DHCP or static IPs on the VMs on the lab network to use the IP set on vNIC 0 on the above VM.

Run the setup wizard to configure as gateway and publish any "services" such as HTTPS that's on the lab environment. DNS for the lab services can be provided for via HOSTS file on the host machine or set up an Internet domain with DNS pointing to the internal IP address on the WAN/vNIC 1 port of the router VM.

We keep an ISO of Server 2008 R2 around for this very purpose and use RRAS.
Thomas NSystems Analyst - Windows System AdministratorAuthor Commented:
Thanks, so if I change the switchs on my VM's  to a external switch. Will it have any effect on my physical machine? I have the VM environment separate just for testing and studying. I setup a domain contoso on the VMs just for that purpose.
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
It's best to leave the VMs on a Private virtual switch and use a router to allow them to reach the Internet.

DHCP and DNS should be set up in the lab via a DC VM. Those services need to be isolated from the home/production network as one example.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.