Use the vCloud Director tenant portal to configure the IP pools needed for an advanced edge gateway's DHCP service. DHCP automates IP address assignment to virtual machines connected to organization virtual datacenter networks.
About this task
As described in the NSX documentation, the DHCP service requires a pool of IP addresses. An IP pool is a sequential range of IP addresses within the network. Virtual machines protected by the edge gateway that do not have an address binding are allocated an IP address from this pool. An IP pool's range cannot intersect one another, thus one IP address can belong to only one IP pool.
At least one DHCP IP pool must be configured to have the DHCP service status turned on.
To use the vCloud Director tenant portal to work with an edge gateway's settings, the edge gateway must be converted to an advanced edge gateway. You can do this on the edge gateway in the vCloud Director Web console or from the tenant portal. For details on performing this step from the tenant portal, see Convert an Edge Gateway to an Advanced Edge Gateway.
- Launch Edge Gateway Services by completing the following steps.
- Click Network > Edge Gateway.
- Select the edge gateway to edit, and click Configure Services.
The tenant portal opens Edge Gateway Services.
- Navigate to
- If DHCP service is not currently enabled, turn on the DHCP Service Status toggle.
Add at least one DHCP IP pool before saving changes after turning on the DHCP Service Status toggle. If no DHCP IP pools are listed on the screen and you turn on the DHCP Service Status toggle and save the changes, the screen re-displays with the toggle turned off.
- Configure a DHCP IP pool and add its configuration to the on-screen table by clicking the + icon, specifying details for the DHCP pool in the dialog box, and then clicking Keep.
Type in a range of IP addresses
Domain name of the DNS server.
Auto Configure DNS
Enable this toggle to use the DNS service configuration for this IP pool's DNS binding. If enabled, the Primary Name Server and Secondary Name Server are set to Auto.
Primary Name Server
When you do not select Auto Configure DNS, type your primary DNS server's IP address of your primary DNS server. This IP address is used for hostname-to-IP address resolution.
Secondary Name Server
When you do not select Auto Configure DNS, type your secondary DNS server's IP address. This IP address is used for hostname-to-IP address resolution.
Type the default gateway address. When you do not specify the default gateway IP address, the internal interface of the edge gateway instance is taken as the default gateway.
Type the edge gateway interface's subnet mask.
Lease Never Expires
Enable this toggle to keep the IP addresses that are assigned out of this pool bound to their assigned virtual machines forever. When you select this option, Lease Time is set to infinite.
Lease Time (Seconds)
Length of time (in seconds) that the DHCP-assigned IP addresses are leased to the clients. The default lease time is one day (86400 seconds).Note:
You cannot specify a lease time when you select Lease never expires.
- Click Save changes.
vCloud Director updates the edge gateway to provide DHCP services.