Skip to main content
Skip table of contents

2571 - Creating DHCP Networks in Universal DDI

Scenario

We have an active DHCP service host with a DHCP Config Profile applied to it. However, no clients are being served IP addresses because we have not defined the network to be served. We need to configure and test this DHCP Network. 

Estimated Completion Time

  • 20 to 30 minutes

Prerequisites

Course References

  • 2170 DHCP Services

  • 2171 BloxOne DDI IP Address Spaces

Tasks

  1. Creating an IP Space

  2. Creating an IP Address Block

  3. Creating a Subnet

  4. Creating an IP Address Range

  5. Validating that a client can obtain an IP Address via DHCP 

Task 1: Creating an IP Space

Create an IP Space and name it Techblue Networks.

Task 2: Creating an IP Address Block

Create an IPv4 Address Block within the IP Space you created in Task 1. Set it to 172.31.0.0/16.

Normally, an IP space has more address blocks. For example, many enterprises may have an internal IP Space with 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. For the lab, we are only using one address block for simplicity.

Task 3: Creating a Subnet and assigning it to a DHCP Service Instance

Create a subnet 172.31.101.0/24 within the Address Block created in Task 2. Associate this subnet to the DHCP Service Instance Techblue DHCP Service 1 and the IP Space Techblue Networks created in Task 1.

Task 4: Creating an IP Address Range and assigning it to a DHCP Service Instance

Navigate to the subnet created in Task 3 and create an IPv4 Address Range 172.31.101.100 to 172.31.101.199. Associate this range with the DHCP Service Instance Techblue DHCP Service 1.

Task 5: Validating that a client can obtain an IP Address via DHCP

Once we've assigned the range to the active DHCP service instance to serve the clients, we should test that the clients are able to get an IP address from this range.



Solutions

Task 1 Solution: Creating an IP Space

  1. Log into your lab’s jump-desktop.

  2. Use your Education Infoblox Portal Credentials to log into the Infoblox Portal.

  3. Navigate to ConfigureNetworkingIPAM/DHCP.

  4. Click the Address Spaces horizontal tab.

  5. Click Create and select IP Space from the menu.

    Task1-1.png

  6. The Create IP Space window opens. Name it Techblue Networks.

    Task1-2.png

  7. Click Save & Close.

Task 2 Solution: Creating an Address Block

  1. Navigate to ConfigureNetworkingIPAM/DHCP.

  2. Click the Address Spaces horizontal tab.

  3. Click Create and select Address BlockIPv4 from the menu.

    Task2-1.png

  4. The Create IPv4 Address Block window opens. Enter the address block 172.31.0.0 and the mask 16.

    Task2-2.png

  5. Click Select IP Space. This brings up a new dialog.

  6. Click on IP Spaces to reveal all available IP spaces. Click on Techblue Networks and click Select.

    Task2-3.png

  7. Click Save & Close

Normally, an IP space has more address blocks. For example, many enterprises may have an internal IP Space with 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. For the lab, we are only using one address block for simplicity.

Task 3 Solution: Creating a Subnet and assigning it to a DHCP Service Instance

  1. Navigate to ConfigureNetworkingIPAM/DHCP.

  2. Click the Address Spaces horizontal tab.

  3. Click Create and select Subnet IPv4 from the menu.

    Task3-1.png

  4. The Create IPv4 Subnet window opens. Enter the subnet address 172.31.101.0 and the mask 24.

    Task3-2.png

  5. Click Select IP Space and choose Techblue Networks. Click Select.

    Task3-3.png

  6. Click Service Instance and select Techblue DHCP Service 1. Click Select. If you do not see the service instances listed below, review the lab Configuring DHCP Services in Universal DDI to make sure you have completed all the steps correctly.

    Task3-4.png

  7. Review your IPv4 Subnet setting. You should have Address, IP Space, and Service Instance configured as shown below.

    Task3-5.png

  8. Click Save & Close

Task 4 Solution: Creating an IP Address Range and assigning it to a DHCP Service Instance

  1. Navigate to ConfigureNetworkingIPAM/DHCP and click the Address Spaces horizontal tab.

  2. Navigate to the subnet by clicking on the IP Space Techblue Networks created in Task 1, then clicking on the IP Space 172.31.0.0/16 created in Task 2, then clicking on the Subnet 172.31.101.0/24 created in Task 3. Click Create and select Range from the drop-down menu.

    Task4-1.gif

  3. The Create IPv4 Range window opens. Enter the following information:

    • Start: 172.31.101.100

    • End: 172.31.101.199

    • Service Instance: Use parent Service Instance (default)

      Task4-2.png

  4. Click Save & Close

Task 5 Solution: Validating that a client can obtain an IP Address via DHCP

  1. Switch to the testing-linux Virtual Machine (which is a different VM than jump-desktop). Open a Terminal window.

  2. This client has not been configured with an IP address yet. You may confirm with the command ifconfig:

    Task5-1.png

  3. The DHCP client is available for the VM testing-linux. Enable it with the command sudo set-network-dhcp (If prompted for a password, use infoblox).

  4. You may need to wait a minute or two for the DHCP communication to complete. When the command completes, you may use the ifconfig command and compare the output to the previous one to note the IPv4 address received via DHCP:

    Task5-2.png

  5. You may also use the command sudo show-dhcp-lease to show the DHCP lease details:

    Task5-3.png

  6. Switch back to the VM jump-desktop to your web browser logged into the Infoblox Portal. You may navigate to the range you created in Task 4 and see that it now lists IP address 172.31.101.100 leased to the host test-linux.

    Task5-4.png


JavaScript errors detected

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

If this problem persists, please contact our support.