Skip to main content
Skip table of contents

2518 - Creating a DHCPv4 option in NIOS


Your team has recently purchased some new network printers that require DHCPv4 option 150. Unfortunately, option 150 is not on the pre-defined DHCP options list. Please make the necessary configuration changes.

Estimate Completion Time

  • 10 to 15 minutes






Grid Manager UI




  • Administrative DHCP access to the Grid

  • DHCP option information to create (from vendor)

Course References

  • 1003: NIOS DHCP Service Overview

  • 2004: Configuring NIOS DHCP Service and Properties

Lab Initiation

Access jump-desktop

Once the lab is deployed, you can access the virtual machines required to complete this lab activity. To initiate the lab, click on the jump-desktop tile and login to the Linux UI:

Username: training

Password: infoblox

Initiate lab

To initiate the lab, double-click the Launch Lab icon on the Desktop.

Launch Lab

Launch Lab

Choose the lab number from the list and click OK.

After clicking OK, you will see a pop-up message with a brief description of the lab task. If the description looks correct, click Yes to continue lab initiation.

Lab initiation will take a couple of minutes to finish.

Once complete, you will see another pop-up message with the login credentials and the URL for the Grid Manager’s User Interface. Note that the credentials may differ from those from prior labs.

Screenshot 2024-05-06 at 3.16.57 PM.png


  1. Creating a DHCPv4 option.

  2. Assigning the new option to Grid.

  3. Restarting Grid services.

Task 1: Creating a DHCPv4 option

You have the following information from the printer vendor, on how to create the DHCPv4 option with code 150:

Table L325-1






array of ip-addresses

Task 2: Assigning the new option to Grid

After creating the new DHCPv4 option, please assign this option at the DHCP Grid level, pointing all printers to the TFTP server

Task 3: Restarting Grid services

After saving changes, you should be prompted to restart services. If not, please manually restart services.



Task 1 Solution: Creating a DHCPv4 option

DHCP Option 150(rfc5859) is an IANA-recognized option, which is not included in the default DHCP Option Space in NIOS. Therefore, we need to create a new IPv4 DHCP option according to IANA specifications. The Option Name, Option Code and Data type are all defined in the RFC.

  1. Navigate to Data Management → DHCP  Option Spaces

  2. Place a check mark in the box beside DHCP and click Edit

  3. In the DHCP(Option Space) window, click the Add button

  4. Scroll to the end of the list to find the blank entry

  5. For Name, enter tftp-servers

  6. For Code, enter 150

  7. For Type, use the list to select array of ip-address

  8. Click Save & Close

Task 2 Solution: Assigning the new option to Grid

Edit the DHCP Grid Properties and add to the tftp-servers option for all IPv4 network

  1. Navigate to Data Management → DHCP → Networks

  2. From the Toolbar on the right, click Grid DHCP Properties

  3. Select the section labeled IPv4 DHCP Options

  4. Use the drop-down list for Custom DHCP Options to locate the entry for tftp-servers (150) (it will be at the very end of the list)

  5. Enter for the value

  6. Click Save & Close

Task 3 Solution: Restarting Grid services

Changes made to the DHCP configuration only take effect after service restart.

  1. Restart the DHCP Service by clicking the Restart button in the notification banner at the top of Grid Manager

  2. At the Restart Grid Services window, click Restart

Alternatively, we can also restart services from the Members menu by navigating to Grid → Grid Manager  Members or Data Management  DHCP  Members

  1. From the Toolbar on the right, click Restart Services

  2. Select the radio button for Force restart services

  3. Click Restart

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.