A: System Center 2012 Virtual Machine Manager (SCVMM) allows logical networks to be created that contain network sites, and within a site, IP address pools are created. When a virtual machine (VM) is created, an IP address is leased from the IP address pool and allocated to the VM.

The allocation to and configuration of the VM is performed by SCVMM modifying the SYSPREP file of the VM and inserting the IP address taken from the pool, which is then configured as a static IP address within the guest OS. When the VM is deleted, the IP address is returned to the IP pool.

The SCVMM 2012 GUI doesn't show specific IP address allocations, only the number of available addresses within the pool.

To see the details, you must use the Windows PowerShell commands below (note the subsequent example of output as well):

 

<code>$ippool = Get-SCStaticIPAddressPool "Allen IP Pool"</code> <br>

 

<code>Get-SCIPAddress -StaticIPAddressPool $ippool | ft -property Address,AssignedToType,State</code>
<br><br>
Address                     AssignedToType         State<br>
-------                     --------------         -----<br>
192.168.1.160        VirtualNetworkAdapter      Assigned
192.168.1.161        VirtualNetworkAdapter      Assigned<br>
192.168.1.162        VirtualNetworkAdapter    UnAssigned<br>
192.168.1.163               VirtualMachine    UnAssigned