I am trying to test with setting up an IPV4 as the logical network and IPV6 as the Customer address on the System Center (Both 2012R2 and 2016 Tech. Preview 3).
First of all I want to point out the fact that with IPV4 on both PA and CA, the setup works no problem. But when I isolate the VM Network with IPV6 and Logical network I keep getting critical failures "Error(15020) The virtual network adapter 'VM' [MAC:xxxxxxxxxx] doesn't have a CA (customer address) assigned from the VMSubnet related IP Pool.
I made the attempt to manually get the IP address from the Pool with the following instruction, but keeps getting complains about not a valid synthetic VM adapter?
$vm = Get-SCVirtualMachine -Name “VM-01″
$pool = Get-SCStaticIPAddressPool -Name “IPPool”
$ip = “fec0::11:0:0”
Grant-SCIPAddress -GrantToObjectType “VirtualNetworkAdapter” -GrantToObjectID $vm.VirtualNetworkAdapters[0].ID -StaticIPAddressPool $staticIPPool –IPAddress $ip
Once this IP has been granted from the pool, it can be assigned to the corresponding vNIC using the following command:
Set-SCVirtualNetworkAdapter -VirtualNetworkAdapter $vm.VirtualNetworkAdapters[0] -IPv6AddressType static –IPv6Addresses $ip
Please help?
Thanks in advance,
Phet