1532 - Obtaining a DHCP Address
Scenario
In this lab, you will work with a Windows client that currently has no DHCP lease. Your task is to manually obtain a DHCP lease for the client, providing it with a valid IP address from the DHCP server. This exercise will demonstrate using ipconfig commands to release and renew DHCP leases on a Windows system.
Estimate Completion Time
15 to 20 minutes
Course References
1310 What are DHCP Leases?
2310 Exploring DHCP Lease Timers and States
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:

Username: training
Password: infoblox
Initiate lab
To initiate the lab, double-click the Launch Lab icon on the Desktop.

Launch Lab
Choose the lab number from the list and click OK.

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.

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.

Tasks
Log in to the VM testing-windows to complete the tasks below:
Task 1: Initial Client Status Check
Verify the current status of the Windows client’s IP settings using the ipconfig
command.
Task 2: Request a DHCP Address
Use the ipconfig /renew
command to obtain a new DHCP address for the Windows client. Then, use the ipconfig
command to confirm the new IP address.
Task 3: Release the DHCP Address
Use the ipconfig /release
command to release the DHCP address currently assigned to the Windows client. Then, use the ipconfig
command to verify that the IP address has been released.
Solutions
Task 1 Solution: Initial Client Status Check
Log in to the VM testing-windows
Open Command Prompt
Open the Command Prompt by pressing Win + R, typing cmd, and pressing Enter.
Verify the Windows Client's Current IP Address
In the Command Prompt, type
ipconfig
and press the ENTER key.Review the output for the current network configuration.
Expected Output
The output should display the current IP address. If the address is in the range 169.254.x.x, it indicates that the client does not have a DHCP lease.
Note: If an IP address is already assigned, run the following command to release the current IP configuration and ensure a fresh start: ipconfig /release
This will release the existing DHCP lease and allow you to obtain a new one in subsequent tasks.
Task 2 Solution: Request a DHCP Address
To request a new DHCP address:
Use the command
ipconfig /renew
and press ENTER in the Command Prompt.This command requests a new IP address from the DHCP server.
After the process is complete, use the command
ipconfig
again to verify that the client has received a new IP address.
Note: The IP address shown in the screenshot may differ from the IP address that the DHCP server provides to the Windows client during this lab.
Task 3 Solution: Release the DHCP Address
To release the DHCP address:
Use the command
ipconfig /release
and press ENTER in the Command Prompt.This command releases the currently assigned IP address, returning the client to a 169.254.x.x address.
Allow a minute for the IP address release process to complete and the network settings to update.
To confirm that the IP address has been released, use the command
ipconfig
again.