You can use DHCP binding to bind a virtual machine's MAC address to an IPv4 address.

You can use DHCP binding in your environment for services that must keep the same IP address.

Starting with VMware Cloud Director 10.5.1, you can use IP addresses from the static IP pools that are available to the network to configure static bindings.

Prerequisites

  • Verify that you are an organization administrator, system administrator, or that you are assigned a role that includes an equivalent set of rights.

  • Verify that you have activated DCHP for your organization VDC network either in network or in gateway mode.

Procedure

  1. From the primary left navigation panel, select Networking.
  2. Click the name of the network that you want to edit.
  3. In the IP Management section, click DHCP.
  4. Under DHCP, click IPv4 Bindings.
  5. Click New.
  6. Enter a name and, optionally, a description for the new binding.
  7. (Optional) Enter a free IP address from the static IP pool to bind to a MAC address.
    If you do not enter an IP address, VMware Cloud Director chooses a free IP address.
  8. Enter a MAC address to which to bind the IP address.
  9. Enter a lease time for the binding.
  10. Enter the IP address for a gateway to use for the binding.
    This is the gateway IP address that the DHCP server provides to the DHCP client. The IP address must belong to the subnet of the network. If you don't enter an IP address, the gateway IP address of the network will be used.
  11. Enter a host name for the DHCP client and click Next.
  12. (Optional) If you want to configure DNS through DHCP, enter up to two DNS servers.
  13. Click Next.
  14. Review your settings and click Finish.

What to do next

You can edit your IPv4 DHCP bindings as needed.