Overview
Readers will learn how to configure DHCP options on the UDM and USG models.
- Applicable to the latest firmware on the UDM and USG models.
- More information on DHCP can be found in the Intro to Networking - Dynamic Host Configuration Protocol (DHCP) article.
Table of Contents
Introduction
DHCP options are flexible parameters used for a variety of purposes. The options come in the form of text, hex values, integers, boolean statements, MAC addresses, or IP addresses. Default options are already used by most devices on the network today. This article will explain how to configure options outside of the standard set.
The pre-defined DHCP options that are available in the UniFi Controller are listed below.
DHCP UniFi Controller
Option 43DHCP NTP Server
Option 42DHCP Network Boot
Option 66 and Option 67DHCP Time Offset
Option 2DHCP TFTP Server
Option 66DHCP WPAD URL
Option 252DHCP WINS Server
Option 44
Additional custom options can be specified using the DHCP Option Code.
Configuring Custom DHCP Options
Follow the steps below to configure the custom DHCP option(s) on the UDM/USG models:
1. Navigate to the Settings > Gateway > DHCP > DHCP Options section.
2. Create the required DHCP option and specify the code number + type. For example:
Name: code_224
Code: 224
Type: Text
3. Apply the settings.
4. Navigate to the Settings > Networks > Local Networks section and edit or create the required LAN network.
5. The previously created option will now be displayed in the Custom DHCP Options section.
6. Add the needed value for the custom DHCP option and apply the changes.
1. Navigate to the Settings > Services > DHCP > DHCP Options section.
2. Create the required DHCP option and specify the code number + type. For example:
Name: code_224
Code: 224
Type: Text
3. Apply the settings.
4. Navigate to the Settings > Networks section and edit or create the required LAN network.
6. Expand the Advanced DHCP Options section.
5. The previously created option will now be displayed under the Custom DHCP Options.
6. Add the needed value for the custom DHCP option and apply the changes.
Related Articles
Intro to Networking - Dynamic Host Configuration Protocol (DHCP)