If the edge gateway for your vCloud Director organization virtual data center has been converted to an advanced edge gateway, you can use the vCloud Director tenant portal to configure the DHCP relay capability of the edge gateway. 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 data center.
As described in the NSX Administration documentation, 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.
To use the vCloud Director tenant portal to work with edge gateway services, 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 an 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.
- Open Edge Gateway Services.
- Navigate to Networking > Edges.
- Select the edge gateway to edit, and click Configure Services.
- Navigate to .
- 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 Add () button to browse the available IP sets.
- Configure a DHCP relay agent and add its configuration to the on-screen table by clicking the Add () button, 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.
- Click Save changes.