You can add a DHCP relay service to a logical router port. VMs on the logical switch that is attached to that port can communicate with the DHCP servers that are configured in the relay service.

Prerequisites

Procedure

  1. With admin privileges, log in to NSX Manager.
  2. Select Networking > Tier-0 Logical Routers.
  3. Select the appropriate router to display more information and configuration options.
  4. Select Configuration > Router Ports.
  5. Select the router port that connects to the desired logical switch and click Edit.
  6. Select a DHCP relay service from the Relay Service drop-down list and click Save.
    You can also select a DHCP relay service when you add a new logical router port.