VMware NSX-Configure DHCP

Login to the vCenter

Select Network & Security from Home button

Select Logical Switches

We can see that, there is a logical switch for Windows vms

We are going to configure DHCP zone for windows tier(5003 segment ID)


Just check & confirmed there are two vms


Checked the ip address of one vm.Its static IP


Go to the NSX edges

Double click on edge-1(Perimeter-Gateway-01)


Click on Manage

Select DHCP

Select Pools


Click on Enable button


Click on green colour + sign

Provide required details

Start IP

End IP

Domain name

Primary DNS server

Default Gateway

Subnet Mask


Login to the one of thevm in that logical switch.

Enable DHCP on the network connection

We can see that , machine took theIP address from our edge


If we want to do a DHCP reservation ,go to the Bindings

Click on + sign


Add record

Assign Host Name

IP Address

Subnet Mask

Domain name

*note-IP address should be out of the scope which we have created



If we still want to use our existing DHCP servers(Windows, Linux), we can use the DHCP relay function of the NSX gateway.

Go to the Relay

Add DHCP server’s IP address to the IP Sets

Add interface names to DHCP Relay Agents section( we have given windows logical switches interface)





Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.