Close Menu
DPC Virtual Tips
    Read More

    How to Investigate TCP Retransmissions on Linux

    August 11, 2026

    Slurm Node Is DRAINED: How to Find the Exact Reason

    August 10, 2026

    Why Is My Slurm Job Pending? How to Decode Every Common Reason

    August 9, 2026
    • Home
    • About Us
    • Contact
    • Cookie Policy
    • Comment Policy
    • Privacy Policy
    • Terms of Use
    • Disclaimer
    Tuesday, August 11
    DPC Virtual Tips
    • Home
    • Operating Systems
    • PowerFlex
    • HPC
    • Virtualization
    • About the Author
    • About Us
    • Contact
    DPC Virtual Tips
    Home » DHCP Server on NSX-T
    Virtualization

    DHCP Server on NSX-T

    DaniloBy DaniloSeptember 1, 2023Updated:July 30, 2026No Comments4 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    NSX-T DHCP Server
    Share
    Facebook Twitter LinkedIn Pinterest Email

    DHCP Server on NSX-T is an article that provides all the steps to set up a DHCP Server on an NSX-T Segment. With this configuration, NSX-T will be your DHCP Server for the specific NSX-T Segment.

    Configuring an NSX-T DHCP Server allows virtual machines connected to an NSX-T Segment to receive IP addresses and network settings automatically. In this guide, we explain how the built-in DHCP service works and walk through the configuration process step by step.

    NSX-T supports multiple approaches for delivering DHCP services to workloads. You can configure NSX-T to operate as the DHCP Server for individual segments or use a DHCP Relay to forward client requests to an external DHCP server. In this article, we focus on configuring the integrated NSX-T DHCP Server for a specific segment.

    First and Foremost, What is DHCP?

    Basically, DHCP is an acronym for Dynamic Host Configuration Protocol. Through this network protocol, supported network devices can acquire IP addresses and other configurations automatically with DHCP.

    How it works?

    1. Each network device is considered a DHCP Client. Each DHCP Client sends a broadcast packet “DHCPDiscover” searching by a DHCP Server
    2. If a DHCP Server exists on the network, it will reply with a message “DHCPOffer” explaining to the DHCP Client the possibility of giving an IP address
    3. Now, the DHCP Client sends a message “DHCPRequest” requesting the IP address to the DHCP Server
    4. Finally, the DHCP Server replies with a message “DHCPAck” sending the IP address to the DHCP Client

    Just to remember, by default, the DHCP Server “lends” the IP for the DHCP Client for an amount of time (8 hours, 8 days, etc – this amount of time is configurable). After the lend time finishes, the DHCP Server can lend the same IP address again to the DHCP Client or can lend a different IP address.

    In the picture below, we can see how the DHCP protocol works:

    How can we use DHCP on the NSX-T?

    On NSX-T, we can use DHCP in some ways. In my opinion, both ways are interesting and maybe can be a real possibility of usage.

    The first way is to configure a DHCP Server on each NSX-T Segment. The second way is to configure to use the DHCP Relay resource. We have already written an article that explains how DHCP Relay works and how we can configure it. You can access this article using the below link:
    https://dpcvirtualtips.com/how-to-configure-dhcp-relay-for-an-nsx-t-segment/

    Now, we will show how to configure the NSX-T to operate as a DHCP Server for a specific NSX-T Segment.

    DHCP Server Profile Creation

    The first step here is to create the DHCP Server Profile.

    On the NSX Manager user interface, we can do it by accessing the menu:
    Networking –> Settings –> Networking Profiles –> DHCP –> ADD DHCP PROFILE

    In this example, our DHCP Server Profile name is “NSXT-DHCP” and the Profile Type is “DHCP Server”.
    The IP 10.255.252.1/30 will be used for gateway DHCP only – in our case, we will only configure the DHCP Server on each NSX-T Segment individually.
    It is necessary to select the Edge Cluster and click on SAVE to finish the DHCP Server Profile creation:

    Setting DHCP Config in an NSX-T Segment

    The next step is to set up the DHCP in an NSX-T Segment.
    To achieve this aim, we need to edit the desired NSX-T Segment and click on “EDIT DHCP CONFIG”.
    In this example, we are selecting the DHCP Type as “Segment DHCP Server”, the DHCP Server profile that we created before, and the other specific configurations (DHCP Server Address, DHCP Ranges, Lease Time, DNS Servers, etc):

    The NSX-T Segment called “web-seg-prd” will have available an IP range from 172.16.10.240 to 172.16.10.245 to lend to the Virtual Machines present on this NSX-T Segment.

    Checking DHCP Details

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleConfiguring DNS Service on NSX-T
    Next Article Working with IDFW on NSX-T
    Danilo

    Infrastructure Engineer with experience in Virtualization, Linux, Windows Server and learning automation using Python. DPC Virtual Tips was created to share practical tutorials, lab experiences and troubleshooting guides focused on enterprise infrastructure technologies.

    Related Posts

    VM Replication with vSphere Replication and Site Recovery Manager

    June 16, 2025

    Changing DNS Settings on ESXi Hosts

    May 20, 2025

    Changing NTP Settings on ESXi Hosts

    May 19, 2025

    Comments are closed.

    Search
    Categories
    • HPC (10)
    • Operating Systems (83)
    • PowerFlex (22)
    • Virtualization (129)
    Read More
    Operating Systems

    How to Investigate TCP Retransmissions on Linux

    By DaniloAugust 11, 20260
    HPC

    Slurm Node Is DRAINED: How to Find the Exact Reason

    By DaniloAugust 10, 20260
    HPC

    Why Is My Slurm Job Pending? How to Decode Every Common Reason

    By DaniloAugust 9, 20260
    Operating Systems

    Linux Process Resource Usage: How to Find Heavy Processes

    By DaniloAugust 6, 20260
    HPC

    Lustre Filesystem Commands: A Practical Admin Guide

    By DaniloAugust 5, 20260
    Latest Posts

    How to Investigate TCP Retransmissions on Linux

    August 11, 2026

    Slurm Node Is DRAINED: How to Find the Exact Reason

    August 10, 2026

    Why Is My Slurm Job Pending? How to Decode Every Common Reason

    August 9, 2026
    Images from Gallery
    hpc main commands
    linux commands
    install rock linux
    lustre fs
    shell scripting
    vSAN Trace Files
    Categories
    • HPC
    • Operating Systems
    • PowerFlex
    • Virtualization
    • Home
    • About Us
    • Contact
    • Cookie Policy
    • Comment Policy
    • Privacy Policy
    • Terms of Use
    • Disclaimer
    Copyright © 2026, DPC Virtual Tips. All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.

    We use cookies to ensure your best experience on our website. If you continue using our website, we'll assume you agree to our cookie policy