How to create a DHCP pool
Overview
With VDC networks you have the option of creating an IP pool of addresses to be assigned automatically or manually (known as a static IP pool). These addresses are injected into virtual machines (VMs) via VMware Tools during guest customisation. They appear in the usual places in Windows and Linux where you would interrogate IP settings and show as static addresses.
In some situations, you may require true DHCP functionality in your VMs, so that IP addresses are shown as dynamically defined. As with an IP pool, you're defining a non-overlapping range of IP addresses to use on the network.
Creating a DHCP pool
To create a DHCP pool:
In the VMware Cloud Director Virtual Data Center dashboard, select the VDC that contains the edge gateway in which you want to create the DHCP pool.
In the left navigation panel, under Networking, select Edges.
Select the edge that you want to configure and click Services.
Select the DHCP tab.
On the Pools tab, click the + button.
In the Add DHCP Pool dialog box, define an IP range for the pool. You can leave the lease times as default or change them.
When you're finished, click Keep.
Next steps
In this article you've learned how to create a DHCP pool. Next, you need to make sure there's a VDC network, configured with a matching gateway and range, connected to the edge. Any VMs attached to this network and configured for DHCP will pick up an IP address from the pool. For more information about creating a network, see How to create a routed VDC network*.
For other edge gateway configuration tasks, see:
Feedback
If you find a problem with this article, click Improve this Doc to make the change yourself or raise an issue in GitHub. If you have an idea for how we could improve any of our services, send an email to feedback@ukcloud.com.