If the edge gateway for your vCloud Director organization virtual datacenter has been converted to an advanced edge gateway, you can use the vCloud Director tenant portal to configure the edge gateway's DHCP relay capability. The NSX software in your vCloud Director environment provides the capability for the edge gateway to relay DHCP messages to DHCP servers external to your vCloud Director organization virtual datacenter.

About this task

As described in the NSX Administration Guide, the DHCP servers can be specified using an existing IP set, IP address block, domain, or a combination of all of these. DHCP messages are relayed to every specified DHCP server.

You must also configure at least one DHCP relay agent. A DHCP relay agent is an interface on the edge gateway from which the DHCP requests are relayed to the external DHCP servers.

Prerequisites

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.

If you want to use an IP set to specify a DHCP server, verify that IP set exists as a grouping object available to the edge gateway. See Create an IP Set for Use in Firewall Rules and DHCP Relay Configuration.

Procedure

  1. Launch Edge Gateway Services by completing the following steps.
    1. Click Network > Edge Gateway.
    2. Select the edge gateway to edit, and click Configure Services.

      The tenant portal opens Edge Gateway Services.

  2. Navigate to DHCP > Relay.
  3. Use the on-screen fields to specify the DHCP servers by IP addresses, domain names, or IP sets.

    You select from existing IP sets using the + icon to browse the available IP sets.

  4. Configure a DHCP relay agent and add its configuration to the on-screen table by clicking the + icon, selecting a vNIC and its gateway IP address, and then clicking Keep.

    By default, the Gateway IP Address matches the primary address of the selected vNIC. You can keep the default or select an alternate address if one is available on that vNIC.

  5. Click Save changes.