# Data Object - HostNetworkConfig(vim.host.NetworkConfig)

Property of
  HostConfigSpec, HostNetworkSystem
Parameter to
  UpdateNetworkConfig
Extends
  DynamicData
See also
  HostDhcpServiceConfig, HostDnsConfig, HostIpRouteConfig, HostIpRouteTableConfig, HostNatServiceConfig, HostNetworkConfigNetStackSpec, HostPortGroupConfig, HostProxySwitchConfig, HostVirtualNicConfig, HostVirtualSwitchConfig, PhysicalNicConfig

## Data Object Description

This data object type describes networking host configuration data objects. These objects contain only the configuration information for networking. The runtime information is available from the NetworkInfo data object type.
See HostNetworkInfo

Properties

Name | Type | Description
--- | --- | ---
consoleIpRouteConfig* | HostIpRouteConfig | IP route configuration of the service console.
consoleVnic* | HostVirtualNicConfig[] | Virtual network adapters configured for use by the Service Console.
dhcp* | HostDhcpServiceConfig[] | Dynamic Host Control Protocol (DHCP) Service instances configured on the host. Since VI API 2.5
dnsConfig* | HostDnsConfig | Deprecated. As of vSphere API 5.5, which is moved to the default NetStackInstance Client-side DNS configuration for the host. The DNS configuration is global to the entire host.
ipRouteConfig* | HostIpRouteConfig | Deprecated. As of vSphere API 5.5, which is moved to the default NetStackInstance IP route configuration of the host.
ipV6Enabled* | xsd:boolean | Enable or disable IPv6 protocol on this system. This property must be set by itself, no other property can accompany this change. Following the successful change, the system should be rebooted to have the change take effect. Since vSphere API 4.0
nat* | HostNatServiceConfig[] | Network address translation (NAT) Service instances configured on the host. Since VI API 2.5
netStackSpec* | HostNetworkConfigNetStackSpec[] | The list of network stack instance spec Since vSphere API 5.5
pnic* | PhysicalNicConfig[] | Physical network adapters as seen by the primary operating system.
portgroup* | HostPortGroupConfig[] | Port groups configured on the host.
proxySwitch* | HostProxySwitchConfig[] | Host proxy switches configured on the host. Since vSphere API 4.0
routeTableConfig* | HostIpRouteTableConfig | Deprecated. As of vSphere API 5.5, which is moved to the default NetStackInstance IP routing table configuration of the host. Since vSphere API 4.0
vnic* | HostVirtualNicConfig[] | Virtual network adapters configured for use by the host operating system network adapter.
vswitch* | HostVirtualSwitchConfig[] | Virtual switches configured on the host.
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="HostNetworkConfig"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="vswitch" type="vsan:HostVirtualSwitchConfig" minOccurs="0" maxOccurs="unbounded"/> <element name="proxySwitch" type="vsan:HostProxySwitchConfig" minOccurs="0" maxOccurs="unbounded"/> <element name="portgroup" type="vsan:HostPortGroupConfig" minOccurs="0" maxOccurs="unbounded"/> <element name="pnic" type="vsan:PhysicalNicConfig" minOccurs="0" maxOccurs="unbounded"/> <element name="vnic" type="vsan:HostVirtualNicConfig" minOccurs="0" maxOccurs="unbounded"/> <element name="consoleVnic" type="vsan:HostVirtualNicConfig" minOccurs="0" maxOccurs="unbounded"/> <element name="dnsConfig" type="vsan:HostDnsConfig" minOccurs="0"/> <element name="ipRouteConfig" type="vsan:HostIpRouteConfig" minOccurs="0"/> <element name="consoleIpRouteConfig" type="vsan:HostIpRouteConfig" minOccurs="0"/> <element name="routeTableConfig" type="vsan:HostIpRouteTableConfig" minOccurs="0"/> <element name="dhcp" type="vsan:HostDhcpServiceConfig" minOccurs="0" maxOccurs="unbounded"/> <element name="nat" type="vsan:HostNatServiceConfig" minOccurs="0" maxOccurs="unbounded"/> <element name="ipV6Enabled" type="xsd:boolean" minOccurs="0"/> <element name="netStackSpec" type="vsan:HostNetworkConfigNetStackSpec" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>