Retrieve an IP addresses’s associated VLAN.


Retrieve the VLAN associated with an IP address via the IP’s associated subnet.


Name Type Description
ipAddress string The IP address to search for.

Required Headers

  • authenticate

Optional Headers

  • SoftLayer_Network_VlanObjectMask
  • SoftLayer_ObjectMask

Return Values

Associated Methods

Error Handling

  • SoftLayer_Exception

Throw the exception “You must provide a valid IP address.” if the ‘‘ipAddress’’ parameter is not a valid IPv4 address.

  • SoftLayer_Exception

Throw the exception “Unable to determine vlan for the subnet: {networkIdentifier}/{cidr}” if the API is unable to locate a VLAN associated with the subnet that the IP address belongs to.