Creating DHCPv4 failover ranges in NIOS (1514)

Scenario

The network team has provisioned a new IPv4 subnet and has requested that a new range of 20 addresses in the subnet 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-only access to DHCP members and failover associations

  • 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 failover range

Login to the GM web interface and create the DHCPv4 range 172.31.110.17 – 172.31.110.36, enough for 20 IP addresses.

How do you know that this requires DHCP failover? And how do you find out which failover associations to use? Look at the network configuration to see which members are serving the network, then compare that to the DHCP Failover Associations to find out which one you should use for the range.

Task 2: Monitoring DHCPv4 failover association status

In the GM web interface, navigate to the DHCPv4 failover association and monitor its status change. Verify the status is Running OK.


Solutions

Task 1 Solution: Creating a DHCPv4 failover range

A Failover Range is a range that is served by an IPv4 DHCP Failover association and involves two DHCP servers. Creating the failover range object is like creating a regular range, except the failover range will be served by a Failover Association instead of individual DHCP servers. An important consideration while creating Failover ranges is to provide some buffer space for extra IP Addresses. This should be done to ensure service continuity in case one of the Failover peers fails and the service is restricted to just one server.

  1. Login to NIOS GM web interface.

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

  3. In the Go to field, type in 172.31.110.0 and click on the first match

    1514 Solutions Task 1-2.png
  4. Open the network object 172.31.110.0/24 by clicking on Open ()
    1514 Solutions Task 1-3.png

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

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

    1514 Solutions Task 1-5.png
  7. In step 2 provide Start and End IP addresses along with a name for the range and click Next. Here we are provisioning the range with an extra buffer of 30%. Instead of 20 IP Addresses, we are creating a range of 26.
    1514 Solutions Task 1-6.png

  8. In Step 3, if you choose Grid Member, you will see that there are two members assigned to the parent network
    1514 Solutions Task 1-7.png

  9. This gives us a hint as to which failover association we should assign this range to. Cancel the operation to check the failover configuration

  10. To verify, we can check for existing DHCP Failover configuration

  11. Navigate to Data Management → DHCP → Members → IPv4 DHCP Failover Associations
    1514 Solutions Task 1-8.png

  12. In the lab, there is only one Failover association, which we can Edit to make sure that it was created with ibsn1.techblue.net and ibns2.techblue.net
    1514 Solutions Task 1-9.png

  13. In the Object Editor window, we can see that ibns1.techblue.net is the DHCP Failover Primary and ibns2.techblue.net is the DHCP Failover Secondary in this D1-D2 failover association
    1514 Solutions Task 1-10.png

  14. We can now go back to the range object and assign it to this Failover Association to complete our range creation. Repeat steps 1 through 7.

  15. In step 3 of Add IPv4 Range Wizard, choose IPv4 DHCP Failover Association and click Select Association
    1514 Solutions Task 1-11.png

  16. Since there is only one Failover Association in the lab (D1-D2 failover), it will be selected by default
    1514 Solutions Task 1-12.png

  17. Finish by clicking Save and Close.

  18. Restart service when prompted.

  19. Once finished, we can see our failover range in the network object 172.31.110.0/24.
    1514 Solutions Task 1-13.png

Task 2 Solution: Monitoring DHCPv4 failover association status

Validate that the DHCP Failover Association comes up, and is Running OK.

  1. From the Data Management → DHCP → Members → IPv4 DHCP Failover Associations tab

  2. Validate the Status is Running OK. This could take a minute or two. You may also use the refresh icon

    Screenshot 2023-07-11 at 5.35.24 PM.png

    in the GM interface to refresh the screen.

    image-2023-6-22_16-21-32.png