# Data Object - HostVirtualNicIpRouteSpec(vim.host.VirtualNic.IpRouteSpec)

Property of
  HostVirtualNicSpec
Extends
  DynamicData
See also
  HostIpRouteConfig
Since
  vSphere API 6.5

## Data Object Description

The HostVirtualNicIpRouteSpec data object describes the IpRoute configuration used by virtual NIC.

Properties

Name | Type | Description
--- | --- | ---
ipRouteConfig* | HostIpRouteConfig | By default, a host virtual NIC uses default gateway configuration from it's HostNetStackInstance. A custom IPv4 and IPv6 default gateway can be configured by specifying valid defaultGateway and ipV6DefaultGateway properties. A user defined IPv4 and IPv6 default gateway can be removed by unsetting corresponding gateway property from ipRouteConfig.
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="HostVirtualNicIpRouteSpec"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="ipRouteConfig" type="vsan:HostIpRouteConfig" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>