# Data Object - HostIpConfig(vim.host.IpConfig)

Property of
  HostVirtualNicSpec, HostVMotionInfo, HostVMotionSystem, PhysicalNicSpec
Parameter to
  UpdateIpConfig
Extends
  DynamicData
See also
  HostIpConfigIpV6AddressConfiguration

## Data Object Description

The IP configuration.

Properties

Name | Type | Description
--- | --- | ---
dhcp | xsd:boolean | The flag to indicate whether or not DHCP (dynamic host control protocol) is enabled. If this property is set to true, the ipAddress and the subnetMask strings cannot be set explicitly.
ipAddress* | xsd:string | The IP address currently used by the network adapter. All IP addresses are specified using IPv4 dot notation. For example, "192.168.0.1". Subnet addresses and netmasks are specified using the same notation. Note: When DHCP is enabled, this property reflects the current IP configuration and cannot be set. When DHCP is not enabled, this property can be set explicitly.
ipV6Config* | HostIpConfigIpV6AddressConfiguration | The ipv6 configuration Since vSphere API 4.0
subnetMask* | xsd:string | The subnet mask. Note: When DHCP is not enabled, this property can be set explicitly. When DHCP is enabled, this property reflects the current IP configuration and cannot be set.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="HostIpConfig"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="dhcp" type="xsd:boolean"/> <element name="ipAddress" type="xsd:string" minOccurs="0"/> <element name="subnetMask" type="xsd:string" minOccurs="0"/> <element name="ipV6Config" type="vsan:HostIpConfigIpV6AddressConfiguration" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>