# Data Object - IpRange(vim.IpRange)

Extends
  IpAddress
Since
  vSphere API 5.5

## Data Object Description

This class specifies a range of IP addresses by using prefix. Usage: 128.20.20.10/24. Here 128.20.20.10 is IP address and 24 is prefix length.

Properties

Name | Type | Description
--- | --- | ---
addressPrefix | xsd:string | IP address prefix.
prefixLength* | xsd:int | Prefix length with max value of 32 for IPv4 and 128 for IPv6.
Properties inherited from IpAddress
None
Properties inherited from NegatableExpression
negate
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="IpRange"> <complexContent> <extension base="vsan:IpAddress"> <sequence> <element name="addressPrefix" type="xsd:string"/> <element name="prefixLength" type="xsd:int" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>