You can create DHCP servers to service DHCP requests from VMs that are connected to logical switches.

Procedure

  1. From your browser, log in to an NSX Manager at https://nsx-manager-ip-address.
  2. Select DDI > DHCP from the navigation panel.
  3. Click Servers and click Add.
  4. Enter a name and optional description.
  5. Enter the IP address of the DHCP server and its subnet mask in CIDR format.

    For example, enter 192.168.1.2/24.

  6. Required: Select a DHCP profile from the drop-down menu.
  7. (Optional) : Enter common options such as domain name, default gateway, DNS servers, and subnet mask.
  8. (Optional) : Enter classless static route options.
  9. (Optional) : Enter other options.
  10. Click Save.
  11. Select the newly created DHCP server.
  12. Expand the IP Pools section.
  13. Click Add to add IP ranges, default gateway, lease duration, warning threshold, error threshold, classless static route option, and other options.
  14. Expand the Static Bindings section.
  15. Click Add to add static bindings between MAC addresses and IP addresses, default gateway, hostname, lease duration, classless static route option, and other options.

What to do next

Attach a DHCP server to a logical switch. See Attach a DHCP Server to a Logical Switch.