Add the external relay server(s) to which you want the DHCP messages to be relayed to. The relay server can be an IP set, IP address block, domain, or a combination of all of these. Messages are relayed to each listed DHCP server.

Prerequisites

  • DHCP relay does not support overlapping IP address space (option 82).

  • DHCP Relay and DHCP service cannot run on a port/vNic at the same time. If a relay agent is configured on a port, a DHCP pool cannot be configured on the subnet(s) of this port.

  • If the DHCP Offer contains an IP address that doesn't match a logical interface (LIF), the DLR does not relay it back to the VM. The packet is dropped.

Procedure

  1. In the vSphere Web Client, navigate to Networking & Security > NSX Edges.
  2. Double-click the appropriate Edge and ensure that you are in the Manage > DHCP tab.
  3. Click Edit next to DHCP Relay Global Configuration.
  4. To add an IP set as the a server:
    1. Click the Add icon and select the IP set.
    2. Move the selected IP set to the Selected Objects list by clicking the right icon.
    3. Click OK.
  5. To add IP addresses or domain names, type the address or name in the appropriate area.
  6. Click OK.