• Improve this Doc

    Show / Hide Table of Contents

    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:

    1. 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.

    2. In the left navigation panel, under Networking, select Edges.

      Edges menu option in VMware Cloud Director

    3. Select the edge that you want to configure and click Services.

      Services button

    4. Select the DHCP tab.

      DHCP tab

    5. On the Pools tab, click the + button.

      Add DHCP button

    6. 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.

      Add DHCP Pool dialog box

    7. 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:

    • How to create firewall rules

    • How to create NAT rules

    • How to configure IPsec VPN

    • How to configure a load balancer

    • How to create a static route

    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.

    ☀
    ☾
    Generated by DocFX
    Back to top
    © UKCloud Ltd, 2022. All Rights Reserved.
    Privacy Policy. Terms of Use. Contribute.

    The UKCloud Knowledge Centre uses cookies to ensure that we give you the best experience on our website. If you continue we assume that you consent to receive all cookies on this website.