You can activate DHCP for networks backed by NSX in network mode and directly associate a DHCP service with an organization VDC network.

The DHCP service of an organization VDC network provides IP addresses from its address pool to VM NICs that are configured to request an address from DHCP. The service provides the address when the virtual machine powers on.

Prerequisites

  • Verify that the organization VDC network for which you want to activate DHCP in network mode is either isolated or routed. Use DHCP network mode for a routed network if you plan to detach the network from the edge gateway with which it is associated.
  • Verify that you are an organization administrator, system administrator, or that you are assigned a role that includes an equivalent set of rights.

  • Verify that your system administrator assigned an NSX service edge cluster to the organization VDC in which the organization VDC network is deployed.

Procedure

  1. In the top navigation bar, click Networking.
  2. Click the name of the network that you want to edit.
  3. In the IP Management section, click DHCP.
  4. Click Activate.
  5. Select Network DHCP mode.
  6. Enter a listener IP address for the DHCP service.
  7. Enter a time period for which a requested IP address is to be leased out, and click Next.
  8. (Optional) Enter at least one IP range for a DHCP pool and click Next.'
  9. (Optional) Add up to two DNS servers for the DHCP service to use and click Next.
  10. Review your settings and click Finish.