2571 - Creating DHCP Networks in BloxOne DDI
Cloud Services Portal (CSP) is now Infoblox Portal
In early September, Cloud Services Portal (CSP) became Infoblox Portal with a new look-and-feel, and a new URL (https://portal.infoblox.com). As a result of this change, the layout and organization of several menus have been updated.
Unfortunately, this means that our video courseware and lab guides no longer match the new user interface. However, we are currently in the process of updating them, and they should be ready soon.
In the meantime, we have some resources to help you navigate the new interface:
We have created a mapping of the previous menu locations and their new breadcrumb location.
Additionally, you can find a walkthrough video of the new User Interface on Launchpad.
We apologize for any inconvenience this may cause and kindly ask for your patience as we work through this transition.
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 this DHCP Network and test it.
Estimated Completion Time
10 to 15 minutes
Prerequisites
Administrative access to the CSP
Lab 2801: Deploying BloxOne Hosts
Lab 2570: Configuring DHCP Services in BloxOne DDI
Course References
2170 DHCP Services
2171 BloxOne DDI IP Address Spaces
Tasks
Creating an IP Space
Creating an IP Address Block
Creating a Subnet
Creating an IP Address Range
Validating that a client can obtain an IP Address via DHCP
Task 1: Creating an IP Space
An initial IP Space needs to be created so we can apply this to the DHCP Service host. Name this IP Space Techblue Network.
Task 2: Creating an IP Address Block
Make an IP Address block in the IP Space Techblue Network. Use the network 172.31.0.0/16
Task 3: Creating a Subnet and assigning it to a DHCP Service Instance
Create a subnet 172.31.101.0/24 within the 172.31.0.0/16 network to contain the range. Apply this subnet to the DHCP Service Instance Techblue DHCP service 1
Task 4: Creating an IP Address Range and assigning it to a DHCP Service Instance
We want to serve the DHCP clients IP addresses from a range of 172.31.101.100 to 172.31.101.199. Create this within the 172.31.101.0/24 subnet and apply this subnet to 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
Switch to your CSP browser window and navigate to Manage → IPAM/DHCP
Select the Address Spaces tab
Click Create and select IP Space from the drop-down menu. Give the IP Space a Name: Techblue Network
Click Save & Close
Task 2 Solution: Creating an Address Block
Click the Address Space Techblue Network to go inside of the Address Space
Click Create and select Address Block → IPv4 from the drop-down menu
Specify the Address Block Address: 172.31.0.0/16
Specify the Address Block Name: Techblue Client Subnets
Ensure the IP Space is Techblue Network
HA Group Status will show as Unreachable until we assign a subnet to it.
Click Save & Close
Task 3 Solution: Creating a Subnet and assigning it to a DHCP Service Instance
Click the Address Block 172.31.0.0/16 to go inside of the Address Block
Click Create and select Subnet from the drop-down menu
Specify the Subnet Address: 172.31.101.0/24
Specify the Subnet Name: Techblue NYC Clients
Ensure the IP Space is Techblue Network
Next to Service Instance click Select Service Instance.
Select Service Instances from the list, and select your oph1 DHCP service Techblue DHCP service 1
Click Select on the bottom right
Click Save & Close
Task 4 Solution: Creating an IP Address Range and assigning it to a DHCP Service Instance
Click Subnet 172.31.101.0/24 to go inside of the Subnet
Click Create and select Range from the drop-down menu
Specify the Range Start: 172.31.101.100
Specify the Range End: 172.31.101.199
Next to Service Instance click Select Service Instance.
Select Service Instances from the list, and select your DHCP service Techblue DHCP service 1
Click Select
Click Save & Close
Task 5 Solution: Validating that a client can obtain an IP Address via DHCP
On the testing-linux Virtual Machine (which is a different VM than jump-desktop), open a Terminal window.
The DHCP client is available on the testing-linux terminal. Start the service with the command
sudo set-network-dhcp
You may need to wait a minute or two for the DHCP communication to complete. Enter the following command to show the leases on the network interface ens160:
sudo show-dhcp-lease
You should see the DHCP Lease information that has been assigned to the testing-linux machine. We can also see the DHCP Options you configured in the DHCP Config Profile, and the IP address of the DHCP server which offered the IP address.
Example:
training@testing-linux:~ $ sudo show-dhcp-lease
--- Raw DHCP Lease Information
lease {
interface "ens160";
fixed-address 172.31.101.100;
option subnet-mask 255.255.255.0;
option dhcp-lease-time 240;
option routers 172.31.101.1;
option dhcp-message-type 5;
option dhcp-server-identifier 10.100.0.110;
option domain-name-servers 10.100.0.110,10.200.0.110;
option ntp-servers 10.100.0.10;
option host-name "testing-linux";
option domain-name "techblue.net";
renew 4 2023/07/20 18:02:50;
rebind 4 2023/07/20 18:04:41;
expire 4 2023/07/20 18:05:11;
}
Switch to your CSP browser window, in IPAM/DHCP, within the IP Space, IP Address Block, and Subnet you created, click on the 172.31.101.100-172.31.100.199 range to go inside of the range. You should see the corresponding DHCP lease for testing-linux.