The edge gateway supports IP address pooling and one-to-one static IP address allocation. Static IP address binding is based on the managed object ID and interface ID of the requesting client.
For more information about the DHCP features for Advanced Networking Services, see DHCP Service in the vCloud Air Advanced Networking Services Guide.
1 |
Log in to vCloud Air as an administrator. See Log in to vCloud Air for information. |
2 |
Create a login session with vCloud Director. See Create a Session for a Virtual Data Center in a Service for information. |
3 |
Using the vCloud API, query vCloud Director for the ID of the edge gateway you require DHCP configuration details about. See Querying the vCloud API for information. |
Request Header – Get the DHCP Configuration
GET https://vchs.vmware.com/hybridity/api/gateways/gw-5/dhcp/config Accept: application/json Content-Type: application/json X-Vcloud-Authorization: "d6eFLOqQYfuEn2MJTp7BQ2ISEO+ZYaEgTcqBy8wZQ6js="
Response Body – Get the DHCP Configuration
{ "featureType" : "dhcp_4.0" "version" : 8, "enabled" : false, "staticBindings" : { "staticBindings" : [{ "autoConfigureDNS" : true, "defaultGateway" : "192.168.4.1", "domainName" : "eng.vmware.com", "primaryNameServer" : "192.168.4.1", "secondaryNameServer" : "4.2.2.4", "leaseTime" : "infinite", "subnetMask" : "255.255.255.0", "vmId" : "vm-111", "vnicId" : 1, "hostname" : "abcd", "macAddress" : "00:50:56:01:01:49", "ipAddress" : "192.168.4.2", }, ] ] }, "ipPools" : { "ipPools" : [{ "autoConfigureDNS" : true, "defaultGateway" : "192.168.4.1", "domainName" : "eng.vmware.com", "primaryNameServer" : "192.168.4.1", "secondaryNameServer" : "4.2.2.4", "leaseTime" : "3600", "dnsType" : "86400", "subnetMask" : "255.255.255.0", "ipRange" : "192.168.4.192-192.168.4.220", "allowHugeRange" : false, }, ] }, "logging" : { "enable" : false, "logLevel" : "info" } }