# 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:pbm="urn:pbm" name="HostNetworkConfig"> <complexContent> <extension base="pbm:DynamicData"> <sequence> <element name="vswitch" type="pbm:HostVirtualSwitchConfig" minOccurs="0" maxOccurs="unbounded"/> <element name="proxySwitch" type="pbm:HostProxySwitchConfig" minOccurs="0" maxOccurs="unbounded"/> <element name="portgroup" type="pbm:HostPortGroupConfig" minOccurs="0" maxOccurs="unbounded"/> <element name="pnic" type="pbm:PhysicalNicConfig" minOccurs="0" maxOccurs="unbounded"/> <element name="vnic" type="pbm:HostVirtualNicConfig" minOccurs="0" maxOccurs="unbounded"/> <element name="consoleVnic" type="pbm:HostVirtualNicConfig" minOccurs="0" maxOccurs="unbounded"/> <element name="dnsConfig" type="pbm:HostDnsConfig" minOccurs="0"/> <element name="ipRouteConfig" type="pbm:HostIpRouteConfig" minOccurs="0"/> <element name="consoleIpRouteConfig" type="pbm:HostIpRouteConfig" minOccurs="0"/> <element name="routeTableConfig" type="pbm:HostIpRouteTableConfig" minOccurs="0"/> <element name="dhcp" type="pbm:HostDhcpServiceConfig" minOccurs="0" maxOccurs="unbounded"/> <element name="nat" type="pbm:HostNatServiceConfig" minOccurs="0" maxOccurs="unbounded"/> <element name="ipV6Enabled" type="xsd:boolean" minOccurs="0"/> <element name="netStackSpec" type="pbm:HostNetworkConfigNetStackSpec" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>