The NSX software in your VMware Cloud Director environment provides the capability for the edge gateway to relay DHCP messages to DHCP servers external to your VMware Cloud Director organization virtual data center. You can configure the DHCP relay capability of the edge gateway.
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.
- Open Edge Gateway Services.
- From the top navigation bar, select Resources, and click the Cloud Resources tab.
- In the left panel, click Edge Gateways.
- Click the radio button next to the name of the target edge gateway, and click 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.