# Data Object - NetIpRouteConfigSpecIpRouteSpec(vim.net.IpRouteConfigSpec.IpRouteSpec)

Property of
  NetIpRouteConfigSpec
Extends
  DynamicData
See also
  NetIpRouteConfigSpecGatewaySpec
Since
  vSphere API 4.1

## Data Object Description

Specify an individual host, network or default destination network reachable through a given gateway.

Properties

Name | Type | Description
--- | --- | ---
gateway | NetIpRouteConfigSpecGatewaySpec | Where to send the packets for this route.
network | xsd:string | IP Address of the destination IP network. IPv6 addresses are 128-bit addresses represented as eight fields of up to four hexadecimal digits. A colon separates each field (:). For example, 2001:DB8:101::230:6eff:fe04:d9ff. The address can also consist of symbol '::' to represent multiple 16-bit groups of contiguous 0's only once in an address as described in RFC 2373. To Specify a default network use the value: 0 with prefixLenth 0.
operation | xsd:string | Requires one of the values from HostConfigChangeOperation.
prefixLength | xsd:int | The prefix length. For IPv4 the value range is 0-31. For IPv6 prefixLength is a decimal value range 0-127. The property represents the number of contiguous, higher-order bits of the address that make up the network portion of the IP address.
Properties inherited from DynamicData
None

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="NetIpRouteConfigSpecIpRouteSpec"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="network" type="xsd:string"/> <element name="prefixLength" type="xsd:int"/> <element name="gateway" type="vsan:NetIpRouteConfigSpecGatewaySpec"/> <element name="operation" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType>