×

UniFi - UDM/USG: How to Configure Custom DHCP Options

Overview

Readers will learn how to configure DHCP options on the UDM and USG models.

NOTES & REQUIREMENTS:

Table of Contents

  1. Introduction
  2. Configuring Custom DHCP Options
  3. Related Articles

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 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

Configuring Custom DHCP Options

GUI: Access the UniFi Controller Web Portal.

Follow the steps below to configure the custom DHCP option(s) on the UDM/USG models:

New Web UI DHCP Options
Classic Web UI DHCP Options

1. Navigate to the  settings.png  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

create-new-option.png

3. Apply the settings.

4. Navigate to the  settings.png  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.

custom-dhcp-option.png

NOTE: The other pre-defined DHCP options can be configured in the Advanced DHCP Options section.

1. Navigate to the  settings.png  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.png  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.

NOTE: The other pre-defined DHCP options can be configured in the Advanced DHCP Options section.

Related Articles

Intro to Networking - Dynamic Host Configuration Protocol (DHCP)

Was this article helpful?
16 out of 68 found this helpful
Can't find what you're looking for?
Visit our worldwide community of Ubiquiti experts for more answers
Visit the Ubiquiti Community