When you 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. From your browser, log in to an NSX Manager at https://nsx-manager-ip-address.
  2. Select Routing from the navigation panel.
  3. Select the router that is connected to the desired logical switch and click the Configuration tab.
  4. Select the router port that connects to the desired logical switch and click Edit.
  5. Select a DHCP relay service from the DHCP Service drop-down list and click Save.

    The logical router port displays the DHCP relay service in the DHCP Service column.

    You can also select a DHCP relay service when you add a new logical router port.