DHCP service requires a pool of IP addresses. An IP pool is a sequential range of IP addresses within the network. Virtual machines protected by NSX Edge that do not have an address binding are allocated an IP address from this pool. An IP pool's range cannot intersect one another, thus one IP address can belong to only one IP pool.

Procedure

  1. Log in to the vSphere Web Client.
  2. Click Networking & Security and then click NSX Edges.
  3. Double-click an NSX Edge.
  4. Click the Manage tab and then click the DHCP tab.
  5. Click the Add (Add icon) icon.
  6. Configure the pool.

    Option

    Action

    Auto Configure DNS

    Select to use the DNS service configuration for the DHCP binding.

    Lease never expires

    Select to bind the address to the MAC address of the virtual machine forever. If you select this, Lease Time is disabled.

    Start IP

    Type the starting IP address for the pool.

    End IP

    Type the ending IP address for the pool.

    Domain Name

    Type the domain name of the DNS server. This is optional.

    Primary Name Server

    If you did not select Auto Configure DNS, type the Primary Nameserver for the DNS service. You must enter the IP address of a DNS server for hostname-to-IP address resolution. This is optional.

    Secondary Name Server

    If you did not select Auto Configure DNS, type the Secondary Nameserver for the DNS service. You must enter the IP address of a DNS server for hostname-to-IP address resolution. This is optional.

    Default Gateway

    Type the default gateway address. If you do not specify the default gateway IP address, the internal interface of the NSX Edge instance is taken as the default gateway. This is optional.

    Subnet Mask

    Specify the subnet mask. The subnet mask must be same as the subnet mask of the Edge interface or the DHCP Relay, in case of distributed router.

    Lease Time

    Select whether to lease the address to the client for the default time (1 day), or type a value in seconds. You cannot specify the lease time if you selected Lease never expires. This is optional.

  7. Click OK.