You must attach a DHCP server to a logical switch before the DHCP server can process DHCP requests from VMs connected to the switch.

Prerequisites

Verify that Manager mode is selected in the NSX Manager user interface. See NSX Manager. If you do not see the Policy and Manager mode buttons, see Configure User Interface Settings.

Procedure

  1. From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-address>.
  2. Select Networking > Logical Switches > Switches.
    1. Select a logical switch.
    2. Click Actions > Attach to a DHCP Server.
  3. Alternatively, select Networking > DHCP > Servers .
    1. Select a DHCP server.
    2. Click Actions > Attach to Logical Switch.