You can add support for mobile clients, such as smartphones or tablets, to test lab environments by adding wireless access points (APs) as bridged devices to the physical Corpnet and Internet (optional) subnets. The following figure shows this configuration (click on it for a larger version).
See TLG mini-module: Mobile Client Support for Test Lab Guides for more information.
Because the wireless APs are physical devices, you must use either physical computers and switches or a combination of physical and virtual components.
If you are using Windows Server 2012 and the Hyper-V server role for your virtualization solution, you can configure mobility support for the Corpnet and Internet subnets in Hyper-V on a single server as shown in the following figure (click on it for a larger version):
The key elements of this configuration are the following:
Note Although the Hyper-V server is connected to both subnets, it is not acting as a router between the Corpnet and Internet subnets. That is the function of EDGE1, if configured in a TLG other than the Base Configuration.
To build out the Corpnet subnet in Windows Server 2012 Hyper-V, do the following:
Windows PowerShell commands
The following Windows PowerShell commands perform the same function as steps 1-3 of the preceding procedure. You must supply values for the –MemoryStartupBytes and -NewVHDSizeBytes parameters for each virtual machine. ExternalSwitchConnectedToCorpnetSubnet is the name of the Hyper-V external virtual switch corresponding to the network adapter connected to the Corpnet physical subnet. Enter each command on a single line, even though they may appear word-wrapped across several lines here because of formatting constraints.
New-VM –Name DC1 –MemoryStartupBytes <MemorySize> -NewVHDSizeBytes <DiskSize> –SwitchName <ExternalSwitchConnectedToCorpnetSubnet> New-VM –Name APP1 –MemoryStartupBytes <MemorySize> -NewVHDSizeBytes <DiskSize> –SwitchName <ExternalSwitchConnectedToCorpnetSubnet> New-VM –Name CLIENT1 –MemoryStartupBytes <MemorySize> -NewVHDSizeBytes <DiskSize> –SwitchName <ExternalSwitchConnectedToCorpnetSubnet>
To build out the Internet subnet in Windows Server 2012 Hyper-V, do the following:
The following Windows PowerShell commands perform the same function as steps 1-3 of the preceding procedure. You must supply values for the –MemoryStartupBytes and -NewVHDSizeBytes parameters for each virtual machine. ExternalSwitchConnectedToInternetSubnet is the name of the Hyper-V external virtual switch corresponding to the network adapter connected to the Internet physical subnet. Enter each command on a single line, even though they may appear word-wrapped across several lines here because of formatting constraints.
New-VM –Name EDGE1 –MemoryStartupBytes <MemorySize> -NewVHDSizeBytes <DiskSize> –SwitchName <ExternalSwitchConnectedToCorpnetSubnet> Add-VMNetworkAdapter –VMName EDGE1 –SwitchName <ExternalSwitchConnectedToInternetSubnet> New-VM –Name INET1 –MemoryStartupBytes <MemorySize> -NewVHDSizeBytes <DiskSize> –SwitchName <ExternalSwitchConnectedToInternetSubnet>
Next, add the wireless APs to the Corpnet and Internet subnets as described in TLG mini-module: Mobile Client Support for Test Lab Guides.
For additional information about configuring test labs with Windows Server 2012 Hyper-V, see Hosting Test Lab Guide environments in Windows Server 2012 Hyper-V.
For more information, see Test Lab Guides.
For the latest developments in the Test Lab Guides initiative, see the Microsoft Test Lab Guides blog.