Skip to main content
Skip table of contents

Configuring DHCP High Availability in Universal DDI (2572)

Scenario

You have already configured DHCP for the Techblue NYC Branch on a single NIOS-X server, but the branch now needs DHCP service redundancy so clients can still obtain leases if one service host becomes unavailable. Your goal is to create an Advanced Active/Passive HA pair by using the existing DHCP service instances, update the DHCP Config Profile to use both service instances, reassign the subnet and range to the HA Group, and then verify that the testing-linux client can still obtain a lease during a simulated host outage.

Estimated Completion Time

  • 25 to 35 minutes

Prerequisites

Learning Content

Tasks

  1. Create HA Group

  2. Update DHCP Config profile

  3. Reassociate subnet

  4. Reassociate range

  5. Validate client lease

  6. Test DHCP High Availability

Task 1: Create HA Group

Create an HA Group named Techblue NYC Branch DHCP HA by using Techblue DHCP Service 1 as the active service instance and Techblue DHCP Service 2 as the passive service instance. The HA Group will provide the redundancy used in the remaining tasks.

Task 2: Update DHCP Config Profile

Update the Techblue NYC Branch DHCP Config Profile so it applies to both DHCP service instances in the HA pair rather than only one service instance.

Task 3: Reassociate subnet

Reassociate the branch subnet 172.31.101.0/24 with the HA Group so the DHCP service for that subnet is no longer tied to a single service instance.

Task 4: Reassociate range

Reassociate the DHCP range 172.31.101.100-172.31.101.199 with the HA Group so the lease pool uses the redundant DHCP service design you created earlier.

Task 5: Validate client lease

Use testing-linux to confirm that a DHCP client can still obtain a lease from the updated configuration and identify which DHCP service instance offered the lease.

Task 6: Test DHCP High Availability

Simulate a failure of the DHCP service host that provided the lease and verify that the client can still receive a lease from the remaining online NIOS-X server.


Solutions

Task 1 Solution: Create HA Group

Start by creating the HA Group that will hold the two existing DHCP service instances. This gives you the redundancy object you need before you can update the profile, subnet, and range. After you create the HA Group, expect it to show a Degraded status at first. That is normal, and it remains in that state until you complete the remaining HA configuration steps.

  1. Log in to your lab’s jump-desktop.

  2. Use the Education Infoblox Portal credentials to sign in to the Infoblox Portal.

  3. Navigate to Network → IPAM/DHCP.

  4. Select the HA Groups tab.

  5. Click Create HA Group.

    image-20260519-052211.png
  6. In the name field, enter Techblue NYC Branch DHCP HA.

  7. Set HA Configuration Type to Advanced Active/Passive.

  8. Next to Advanced Active Service Instance 1, click Select Active Service Instance, choose Techblue DHCP Service 1, and click Select.

  9. Next to Advanced Passive Service Instance 2, click Select Passive Service Instance, choose Techblue DHCP Service 2, and click Select.

  10. Review the HA Group settings.

    image-20260519-052405.png
  11. Click Save & Close.

The HA Group will be in the Degraded state after its initial creation. It will remain Degraded until you have completed all configuration steps.

Task 2 Solution: Update DHCP Config Profile

The Techblue NYC Branch DHCP Config Profile already supplies branch-specific DHCP options, but an HA design requires the profile to apply to both DHCP service instances. Update the profile now so both members of the HA pair can serve the same client settings.

  1. Navigate to Network → IPAM/DHCP.

  2. Select the DHCP Config Profiles tab.

  3. Open the menu next to Techblue NYC Branch and click Edit.

    image-20260519-052537.png
  4. Under Select Service Instance, click Add.

  5. Select Techblue DHCP Service 1 and click Select. If you completed the earlier DHCP Services lab, this service instance may already be selected.

  6. Select Techblue DHCP Service 2 and click Select.

  7. Review the profile settings.

    image-20260519-052710.png
  8. Click Save & Close.

Task 3 Solution: Reassociate subnet

The subnet is still associated with a single DHCP service instance from the earlier DHCP network configuration. Reassociate it with the HA Group now so the subnet uses the redundant DHCP service design instead of relying on only one service instance.

  1. Navigate to Network → IPAM/DHCP.

  2. Select the Address Spaces tab.

  3. Open Techblue Networks, then 172.31.0.0/16, then 172.31.101.0/24.

  4. Alternatively, you can use Global Search to jump directly to 172.31.101.0/24.

  5. Click the drop-down next to 172.31.101.0/24 and choose Edit.

    image-20260519-053207.png
  6. Click Select Service Instance.

  7. Click HA Groups and choose Techblue NYC Branch DHCP HA.

    image-20260519-053030.png
  8. Click Save & Close.

Task 4 Solution: Reassociate range

The DHCP range must also use the HA Group. Updating only the subnet is not enough for this lab, because the lease pool itself is still tied to a single DHCP service instance until you reassign the range.

  1. In the Infoblox Portal, navigate to range 172.31.101.100-172.31.101.199. If you are continuing from the previous task, it may already be on screen.

  2. Otherwise, navigate to Network → IPAM Network → DHCP, select the Address Spaces tab, and open Techblue Networks → 172.31.0.0/16 → 172.31.101.0/24.

  3. Alternatively, you can use Global Search to jump directly to 172.31.101.0/24.

  4. Open the menu next to the range and choose Edit.

    image-20260519-053339.png
  5. Click Select Service Instance.

  6. Click HA Groups and choose Techblue NYC Branch DHCP HA.

    image-20260519-053439.png
  7. Click Save & Close.

Task 5 Solution: Validate client lease

Before you test failover, confirm that the updated HA configuration can still serve a DHCP client normally. The lease details also tell you which DHCP service instance responded, which you need for the failover test in the next task.

  1. On testing-linux, open a terminal window.

  2. Run sudo set-network-dhcp. If prompted for a password, use infoblox.

  3. Run sudo show-dhcp-lease to display the lease information for interface ens160.

    image-20260519-053645.png
  4. Review the lease details and confirm that testing-linux received DHCP lease information.

  5. In the lease output, note the value of option dhcp-server-identifier. This shows which DHCP service instance handed the client the lease.

  6. Switch to your lab’s jump-desktop.

  7. Log in to Infoblox Portal.

  8. In Network → IPAM/DHCP, access range 172.31.101.100-172.31.101.199 and verify that the lease for testing-linux appears in the range view.

    image-20260519-054106.png

Task 6 Solution: Test DHCP High Availability

Now simulate the loss of the DHCP service host that offered the lease. Because you set the lease time to 4 minutes in the earlier DHCP Config Profile lab, you can watch the current lease expire and confirm that the remaining online NIOS-X server takes over. This verifies that the HA design is working as intended.

  1. On testing-linux, open a terminal window and run sudo show-dhcp-lease again.

  2. Note the IP address shown in option dhcp-server-identifier. This is the NIOS-X server that provided the current lease.

    image-20260519-054249.png
  3. Using the VM control UI, click the left-most icon on the bar and select View all VMs.

  4. Locate the VM tile for the NIOS-X server that provided the lease.

  5. Open Power Options for this VM and select Power Off.

  1. Give the host time to power off completely.

  2. On testing-linux, open a terminal window again.

  3. Run sudo show-dhcp-lease several times while the 4-minute lease expires.

  4. Confirm that the lease information is still assigned to testing-linux and that the value of option dhcp-server-identifier changes to the remaining online NIOS-X server.

    image-20260519-060107.png
  5. Return the offline NIOS-X server to service by opening View all VMs again, selecting the powered-off host, and clicking Run this VM.

  6. Confirm that the NIOS-X server is back online and connected.

  7. Switch to jump-desktop and, in the Infoblox Portal, navigate to Network → Services & Servers → Servers to verify the NIOS-X server status.

    image-20260519-060411.png
JavaScript errors detected

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

If this problem persists, please contact our support.