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 an NSX Edge.
  3. Click Manage > DHCP > Relay.
  4. Next to DHCP Relay Global Configuration, click Edit.
  5. Add a DHCP Relay Server by using one of these methods, or by using a combination of these methods.
    Method Description
    Select IP Set
    In NSX 6.4.4 and later:
    • Select an IP set from the Available Objects list, and move it to the Selected Objects list.
    In NSX 6.4.3 and earlier:
    1. Click the Add icon.
    2. Select an IP set from the Available Objects list, and move it to the Selected Objects list.
    Specify IP Addresses

    Enter a comma-separated list of IP addresses.

    Specify Domain Names

    Enter a comma-separated list of domain names. For example, group1.vmware.com,group2.vmware.com.

    Ensure that you have manually added the domain IP addresses to the firewall.

  6. Click Save or OK.