HyperV - virtual networks - multiple separate with same subnet
Posted on 2016-08-21
I am using HyperV on both Windows 2008 and Windows 2012 to create test network scenarios. The idea would be as following:
I have two sets of lab VM's - each set includes a DC, Exchange and a File Server VM. I want both sets to have the same subnet structure so each would be using 192.168.0 addresses. I do not want the two sets to see each other - they are to be completely segregated. And they each must have access to the Internet.
So all the VM's in set one can communicate with each other but can not communicate with the VM's in set two. All the VM's in set two can communicate with each other but can not communicate with the VM's in set one.
I can add as many network cards as I want if that's what is needed for this to work properly.
Please describe for me how I would go about setting up the virtual switch/virtual networks to allow for the above.