UniFi Network - DHCP Server

The DHCP Server on UniFi Gateways dynamically assigns IP addresses to devices and provides other information such as the location of the default gateway and DNS server.

How does it work?

DHCP Server is enabled on each individual Virtual Network by default. When devices connect to the network, they will send a broadcast message in order to obtain an IP address. The server then responds and provides the IP address and other information to the device. The following information is provided:

  • Subnet Mask (Netmask)
  • Default Gateway - By default this is the IP address of the UniFi Gateway.
  • DNS Server - By default this is the IP address of the UniFi Gateway.
  • Lease Time - By default this is 1 day (86400 seconds). 

And the following are optional:

  • Domain Name
  • Custom Options

Custom Options

DHCP options are flexible parameters that advanced users to pass additional information from their DHCP server to a client. Default options are already used by most devices on the network today. 

These are the pre-defined DHCP options available in the UniFi Network application:

  • DHCP UniFi Network application - Option 43
  • DHCP NTP Server - Option 42
  • DHCP Network Boot - Option 66 and Option 67
  • DHCP Time Offset - Option 2
  • DHCP TFTP Server - Option 66
  • DHCP WPAD URL - Option 252
  • DHCP WINS Server - Option 44

Additional custom options can be specified using the DHCP Option Code

Was this article helpful?
195 out of 917 found this helpful