DHCP Server (Dynamic Host Configuration Protocol Server) allows clients to automatically obtain network configuration, such as IP address, subnet mask, default gateway, and DNS configuration, from a DHCP server. You can create DHCP servers to handle DHCP requests.
Create a DHCP Server
- Navigate to Networking > IP Address Management > DHCP
- Click Add
- Select DHCP Server as the Server Type
- Enter a Server Name
- Enter a Server IP Address in CIDR format
- This step will create a logical switch and connect the DHCP server to it.
- This interface will appear on the Tier1 LR as a connected interface, so make sure you choose a non-overlapping subnet for the Tier1 gateway you want to assign the DHCP server to. I use a /30 for this purpose.
- The subnet range used here does NOT get advertised to the connected Tier-0 gateway, but DOES appear in the Tier-1 Gateways forwarding table
- Select an edge cluster to run the DHCP server on
- Click Save
Assign DHCP Server to Tier-1/Tier-0 Gateway
- Navigate to Networking > Tier-1/Tier-0 Gateways
- Edit an existing Tier-1/Tier-0 Gateway
- Select the No IP Allocation hyperlink next to IP Address Management
- Select DHCP Local Server from the Type dropdown list
- Use the DHCP Server dropdown to select the appropriate DHCP Server
- Click Save
- Click Save
Configure DHCP Address Allocation on a segment
- Navigate to Networking > Segments
- Add/Edit a Segment
- Ensure that the Segment is associated with a Tier0/Tier-1 gateway
- Select Set Subnets if no subnet allocation exist on the subnet
- Select the numbered hyperlink under the Subnets if there are existing Subnets configured on the Segment
- Add/Edit Subnet
- Enter the appropriate DHCP Ranges and click Add
- Click Apply
- Click Save
Related Posts:
- NSX-T 2.1 Complete video series:
- Introduction to NSX-T
- NSX-T Architecture
- Deploy NSX-T Manager Virtual Machine on ESXi host
- Configure NSX-T Control cluster
- Prepare ESXi host as fabric node in NSX-T
- Prepare KVM hosts as fabric Node in NSX-T
- How to add vCenter Server as Compute Manager?
- What is N-VDS or hostSwitch in NSX-T?
- How to create Transport Zones in NSX-T?
- What is Uplink Profile and how to Create in NSX-T?
- Create an IP pools for TEP in NSX-T
- Verify hostswitch configuration on ESXi and KVM
- How to create Logical Switches in NSX-T?
- NSX-T Logical Routing
VMware NSX-T Data Center Documentation:
https://docs.vmware.com/en/VMware-NSX-T-Data-Center/index.html