In this post we are going to configure DHCP on one of our segment to handle DHCP requests from one of our VMs. Let’s have a look at how this is done.
NSX Manager > Switching > Switches > Add
Let’s now setup our DHCP config
Navigate to DDI > DHCP > Server Profiles > Add
Next is to create the DHCP Server. Click on Servers > Add
Click on the newly created DHCP Server and add an IP pool to it
IP Pools > Add
Now we need to attach the DHCP Server to our logical switch
Navigate to Switching > Actions > Attach to a DHCP server
Let’s now test our setup. Web-dhcp is the VM you will be using, it’s configured to get it’s ip from DHCP.
Let’s give a quick reboot then check it’s TCP/IP configuration
We have lift off! The VM has successfully made a DHCP request and received a lease!
I hope this post was helpful. Thank you for reading.
How useful was this post?
Click on a star to rate it!
Average rating / 5. Vote count:
My name is Amine El Badaoui and I currently live in Aylesbury, a small town in the south east of England
I have been working in the IT industry for few years now and specialise in VMware virtualisation, data centre infrastructure and cloud technologies. Over the years I have obtained numerous industry certifications from Microsoft, Netapp and VMware.I currently work as a VMware Product Engineer @ https://www.rackspace.com/
This blog represents my random technical notes and thoughts. The thoughts expressed here do not reflect my current employer in anyway.