Creating DHCPv4 reservations in NIOS (1513)

Scenario

A systems developer has requested that you reserve the IP address 172.31.100.2 as a future secondary router’s IP address. She also requests that you block off the IP addresses 172.31.100.101 through 172.31.100.109 for “Project X”. Please make the necessary configurations in NIOS for her.

Estimate Completion Time

  • 10 to 15 minutes

Credentials

Description

Username

Password

URL or IP

Grid Manager UI

ops

infoblox

https://10.100.0.100/

Requirements

  • Read-write access to DHCP reservations

  • Read-write access to DHCP ranges

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 reservation

Login to the GM web interface. Use global search to find the IPv4 address 172.31.100.2. While possible to add the reservation alongside other objects such as DNS entries, it is good to know if any objects are related to the same IPv4 address. Navigate to the parent DHCP network and create this as an IPv4 reservation.

Task 2: Creating a DHCPv4 reserved range

Login to the GM web interface. Create the reserved range 172.31.100.101 – 172.31.100.109, with the comment Project X.

This serves the purpose of reserving several IP addresses with one object. You could achieve the same by creating 9 separate DHCPv4 reservation objects.



Solutions

Task 1 Solution: Creating a DHCPv4 reservation

The use-case for this reservation is that this IP address is being reserved for future use, which means that the DHCP service will not be allocating this IP address to any client while the reservation still exists. A Fixed Address should not be used here because the address would be permanently bound to a MAC address.

To create a reservation,

  1. Navigate to Data Management → DHCP → Networks
    1513 Solutions Task 1-4.png

  2. In the Go to field, type in 172.31.100.0 and click on the first match

    1513 Solutions Task 1-5.png
  3. Open the network object 172.31.100.0/24 by clicking on Open ()
    1513 Solutions Task 1-6.png

  4. Here, we can see a pre-existing DHCP Range object 172.31.100.5-172.31.100.35. We can move on and create the reservation.

    1513 Solutions Task 1-7.png
  5. Click + from the dropdown and choose Reservation
    1513 Solutions Task 1-8.png

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

    1513 Solutions Task 1-9.png
  7. In step 2 provide the IP Address 172.31.100.2 which is to be reserved, along with a Name and an optional Comment about why this reservation was created. Once completed, click Save and Close
    1513 Solutions Task 1-10.png

  8. The reservation is now visible within 172.31.100.0/24 network

    1513 Solutions Task 1-11.png


Task 2 Solution: Creating a DHCPv4 reserved range

Creating a Reserved Range is the same as creating any IPv4 DHCP Range, except that for a Reserved Range, we do not choose a member to serve the range.

To create a reserved range:

  1. Login to NIOS GM web interface

  2. Navigate to Data Management → DHCP → Networks

    1513 Solutions Task 2-1.png
  3. In the Go to field, type in 172.31.100.0 and click on the first match
    1513 Solutions Task 2-2.png

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

  5. Here, we can see the existing DHCP Range object 172.31.100.5-172.31.100.35, as well as the reservation we just created

    1513 Solutions Task 2-4.png
  6. Click + from the dropdown and choose Range
    1513 Solutions Task 2-5.png

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

    1513 Solutions Task 2-6.png
  8. In step 2 provide Start and End IP addresses along with a name for the range and an optional comment, then click Next
    1513 Solutions Task 2-7.png

  9. In Step 3, choose None(Reserved Range) for Served by and click Save and Close
    1513 Solutions Task 2-8.png

  10. We can now see the reserved range along with the other child objects of the 172.31.100.0/24 network

    1513 Solutions Task 2-9.png