DHCP configuration is a per-segment property. In the default configuration the Compute Gateway DHCP server handles DHCP requests from VMs on all routed segments. To use another DHCP server for your workload networks, you can configure the segment to use DHCP relay. You can also configure the segment to use its own local DHCP Server.

Per-segment DHCP configuration is part of the segment create/update workflow document in Create or Modify a Network Segment. For more information, see DHCP in the NSX Administration Guide.

Procedure

  1. With CloudAdmin privileges, log in to NSX Manager.
  2. Open the Segments page.
    Choose a DHCP Type and specify configuration details. See Configure Segment DHCP Server on a Segment in the NSX Administration Guide.
    Note:

    DHCP requests from VMs in a segment use the segment's gateway address as the source IP. To allow this traffic through the CGW firewall, you need a rule that allows packets with this source address to reach the remote DHCP server. Including the segment object as a group member does not include the gateway IP in the group. You must add it to the group as an IP address.