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
- In the vSphere Web Client, navigate to .
- Double-click an NSX Edge.
- Click .
- Next to DHCP Relay Global Configuration, click Edit.
- 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:- Click the Add icon.
- 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.
- Click Save or OK.