A Local DHCP server provides a dynamic IP assignment service only to the VMs that are attached to the segment. NSX-T Data Center supports Local DHCP server configuration on the downlink interface and the service interface. You can configure a Local DHCPv4 server, or a Local DHCPv6 server, or both, on the segment.

The following figure shows a sample network topology that has a Local DHCP server configured on four networks.

The topology in this diagram is explained in the surrounding text of this figure.
In this network topology, a Local DHCP server is configured on the following networks:
  • Network-2 is connected to the downlink interface of tier-1 gateway.
  • Network-1 is connected to the service interface of tier-0 gateway.
  • Network-4 is connected to the service interface of tier-1 gateway.
  • Network-3 is an isolated segment, which is not connected to any gateway.


Add a DHCP server profile. Ensure that an edge cluster is specified in the profile. For a detailed procedure, see Add a DHCP Server Profile. For example, assume that the profile is named as My-Local-DHCP-Profile.


  1. From your browser, log in with admin privileges to an NSX Manager at https://nsx-manager-ip-address.
  2. Select Networking > Segments.
  3. Find the segment where you want to configure the DHCP service. Next to the segment name, click Actions menu, and then click Edit.
  4. Click Set DHCP Config.
  5. From the DHCP Type drop-down menu, select Local DHCP Server.
  6. From the DHCP Profile drop-down menu, select the DHCP server profile that you created earlier.
    For example, select My-Local-DHCP-Profile.
  7. Click the DHCP Config toggle button to enable DHCP configuration on the segment.
    If you are configuring a Local DHCPv4 server and a Local DHCPv6 server, ensure that you enable the DHCP Config toggle button in both the IPv4 Server and IPv6 Server tabs.
  8. Configure the following DHCP settings:
    • DHCP Server Address
    • DHCP Ranges
    • Optional: Excluded Ranges (only for DHCPv6)
    • Optional: Lease Time
    • Optional: Preferred Time (only for DHCPv6)
    • Optional: Domain Names (only for DHCPv6)
    • Optional: DNS Servers
    • Optional: SNTP Servers (only for DHCPv6)
    • Optional: DHCP Options (only for DHCPv4)

    For a detailed information about these DHCP configuration settings, see the reference documentation at DHCP Configuration Settings: Reference.

  9. Click Apply.
  10. (Optional) Bind a static IP address to the MAC address of each VM (DHCP client).
    For detailed instructions, see Configure DHCP Static Bindings on a Segment.