3
이것은 다른 게시물을 기반으로합니다. clone vm change network identityVMware VIM IPv6
VM을 빌드 할 때 IPv6 주소를 설정해야합니다. 속성을 찾았지만 값을 설정하지 않습니다. TYPENAME :
$FirstNic.Adapter.IpV6Spec = New-Object VMware.Vim.CustomizationIPSettingsIpV6AddressSpec
$FirstNic.Adapter.IpV6Spec.Ip = New-Object VMware.Vim.CustomizationFixedIpV6
$FirstNic.Adapter.IpV6Spec.Ip.IpAddress = "::1"
The property 'IpAddress' cannot be found on this object. Verify that the property exists and can be set. At line:33 char:4 + $FirstNic.Adapter.IpV6Spec.Ip.IpAddress = "::1" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
이
는 회원이다 VMware.Vim.CustomizationFixedIpV6Name MemberType Definition
---- ---------- ----------
Equals Method bool Equals(System.Object obj)
GetHashCode Method int GetHashCode()
GetType Method type GetType()
ToString Method string ToString()
DynamicProperty Property VMware.Vim.DynamicProperty[] DynamicProperty {get;set;}
DynamicType Property string DynamicType {get;set;}
IpAddress Property string IpAddress {get;set;}
SubnetMask Property int SubnetMask {get;set;}
내가 게시 할 작업의 일부가 있습니다. 그러나 게이트웨이 만 나타납니다. – user873577
$ NIC = 새 객체 VMware.Vim.CustomizationAdapterMapping $ nic.Adapter = 새 객체 VMware.Vim.CustomizationIPSettings $ nic.Adapter.ip = 새 객체 VMware.Vim.CustomizationFixedIp $ nic.Adapter.ip. ipAddress = "192.168.1. $ _" $ nic.Adapter.subnetMask = "255.255.255.0" $ nic.Adapter.Image.Vp. :: $ _ " $ IPv6를 = 새로운 객체 vmware.Vim.CustomizationFixedIpV6 $ ipv6.IpAddress =":: $ _ " $ ipv6.SubnetMask = 29 $ nic.Adapter.ipV6Spec.Ip = $ IPv6를 $ item.Spec.nicSettingMap + = $ nic – user873577
무슨 뜻입니까? 그 코드가 나에게 보여줘야 할 것이 무엇일까요? IPv6 게이트웨이가 IPv6 IpAddress와 같은 이유는 무엇입니까? –