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.

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. In the top navigation bar, click 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. Enter an IP address to bind to a MAC 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.