Creating DHCPv4 ranges in NIOS (1511)

Scenario

The network team has provisioned a new IPv4 subnet and has requested that a range of IP addresses in the subnet is to be handed out dynamically. Please create the appropriate objects in NIOS.

Estimate Completion Time

  • 15 to 20 minutes

Credentials

Description

Username

Password

URL or IP

Grid Manager UI

ops

infoblox

https://10.100.0.100/

Requirements

  • Read-write access to DHCP range

Learning Content

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:

image-20231130-134540.png

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.

image-20231122-140156.png

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.

image-20231122-140739.png

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


Tasks

Task 1: Creating a DHCPv4 range for normal clients

Login to the GM web interface and navigate to the network 172.31.111.0/24. The request is to support up to 50 clients so please create a range suitable for it.

Task 2: Creating a DHCPv4 range with special options

Login to the GM web interface and navigate to the network 172.31.111.0/24. The request is to support up to 4 printers so please create a range suitable for it, with the custom DHCP options listed in Table 1511-1.

Table 1511-1

DHCP Option

Value

(9) LPR Servers

10.100.1.1, 10.200.1.1

(15) Domain Name

print.techblue.net



Solutions

Task 1 Solution: Creating a DHCPv4 range for normal clients

  1. Login to NIOS GM web interface.

  2. Navigate to Data Management → DHCP → Networks
    1511 Solutions Task 1-1.png

  3. In the Go to field, type in 172.31.111 and click on the first match (172.31.111.0).
    1511 Solutions Task 1-2.png

  4. Open the network object 172.31.111.0/24 by clicking on Open ()
    1511 Solutions Task 1-3.png

  5. Once inside 172.31.111.0/24, click + from the dropdown and choose Range.
    1511 Solutions Task 1-4.png

  6. Click Next for the first step of Add IPv4 Range Wizard (no templates available).
    1511 Solutions Task 1-5.png

  7. In step 2 provide Start and End IP addresses along with a name for the range. In our example below, we are creating a range of 61 addresses although the requirement is only for 50 clients. It is recommended to have 10-20% extra IP addresses in client ranges.

    1511 Solutions Task 1-6.png
  8. In Step 3, choose Grid Member, then click Save and Close.
    1511 Solutions Task 1-7.png

Task 2 Solution: Creating a DHCPv4 range with special options

  1. Login to NIOS GM web interface.

  2. Navigate to Data Management → DHCP → Networks.
    1511 Solutions Task 2-1.png

  3. In the Go to field, type in 172.31.111 and click on the first match (172.31.111.0).

    1511 Solutions Task 2-2.png
  4. Open the network object 172.31.111.0/24 by clicking on Open ().
    1511 Solutions Task 2-3.png

  5. Once inside the 172.31.111.0/24, click + from the dropdown and choose Range.
    1511 Solutions Task 2-4.png

  6. Click Next for the first step of Add IPv4 Range Wizard (no templates available).

    1511 Solutions Task 2-5.png
  7. In step 2 provide Start and End IP addresses along with a name for the range. In our example, we are creating a range of 7 addresses although the requirement is only for 4 clients.
    1511 Solutions Task 2-6.png

  8. In Step 3, choose Grid Member, then click Save and Close. Do not restart service yet.
    1511 Solutions Task 2-7.png

  9. After saving the printer range, we need to assign special options to the range object. Select the 172.31.111.76-172.31.111.82 range and click Edit.
    1511 Solutions Task 2-8.png

  10. In the object editor window, click IPv4 DHCP Options.
    1511 Solutions Task 2-9.png

  11. In the IPv4 DHCP Options tab, click Override for Domain Name.
    1511 Solutions Task 2-10.png

  12. Then enter custom Domain Name print.techblue.net
    1511 Solutions Task 2-11.png

  13. Once completed, scroll down further to set Custom DHCP Options.
    1511 Solutions Task 2-12.png

  14. Choose the Custom Option lpr-servers(9).
    1511 Solutions Task 2-13.png

  15. Fill option values as specified in Table 1511-1.
    1511 Solutions Task 2-14.png

  16. Save and Close when finished.

  17. Restart service when prompted.

Changes made during this lab would require a restart of DHCP services to take effect. The objective here is to familiarize yourself with the process.