You can activate DHCP for networks backed by NSX-T Data Center 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-T Data Center service edge cluster to the organization VDC in which the organization VDC network is deployed.
Procedure
- In the top navigation bar, click Networking.
- Click the name of the network that you want to edit.
- In the IP Management section, click DHCP.
- Click Activate.
- Select Network DHCP mode.
- Enter a listener IP address for the DHCP service.
- Enter a time period for which a requested IP address is to be leased out, and click Next.
- (Optional) Enter at least one IP range for a DHCP pool and click Next.'
- (Optional) Add up to two DNS servers for the DHCP service to use and click Next.
- Review your settings and click Finish.