info_i_25x25.png See important information about Ubiquiti Devices and KRACK Vulnerability in this article. We will update this document as more information becomes available.

airMAX - How to use DHCP Options

 Overview


This article describes how to enable the passing of DHCP Options with airMAX M/AC.

 book_25x25.png   Notes & Requirements: This article applies to firmware airOS v6+ and v8+, and all M and AC device models.

Table of Contents


  1. Introduction
  2. Steps - How to Enable DHCP Options

Introduction


Back to Top 

Starting with airOS v6 and v8, you can now use DHCP options. This guide will walk you through the few steps required to use this feature.


Steps - How to Enable DHCP Options


Back to Top 

  1. Download the current radio config from System > Back Up Configuration.
  2. Open the .cfg backup in a good text editor like Notepad++ or Brackets.
  3. Navigate to the DHCP section.
  4. Add these lines:
    • dhcpd.1.option.1.status=enabled
    • dhcpd.1.option.1.id=[option number]
    • dhcpd.1.option.1.value="[ip address]"
  5. dhcpd.1.option.1.status enables or disables DHCP options
  6. dhcpd.1.option.1.id allows you to select what option you choose to use. The configuration supports values from 0-255. Only add the number of the option you wish to use. Do not include the brackets.
  7. dhcpd.1.option.1.value allows you to select the value you wish to provide with the option you are passing. You must use quotation marks around the value, but, do not include the brackets.
  8. Save the changes made to the CFG backup in your text editor and upload to the radio.  System > Upload Configuration.