Lab: Configure DHCP on a Wireless Router using Packet Tracer
The objective is to connect PCs to the router, change DHCP settings, and enable clients to obtain their IP addresses automatically. I'll be using Packet Tracer software, three generic PCs, a wireless router, and Ethernet cables. Let's dive in and explore the world of network configuration, automation, and seamless connectivity.
Prerequisites:
- Packet Tracer software
- Three generic PCs
- One wireless router
- Straight-through Ethernet cables
Instructions:
- Open Packet Tracer and create a new network topology.
- Add three generic PCs to the workspace.
- Connect each PC to an Ethernet port on the wireless router using straight-through cables.
- Wait for the amber lights on the devices to turn green.
- Click on PC0, then click on the Desktop tab and select IP Configuration.
- Choose DHCP to receive an IP address from the DHCP-enabled router.
- Record the IP address of the default gateway (picture here
192.168.0.1
). - Close the IP Configuration window.
- You can close the window by selecting the
X
button to the right of IP Configuration.
-
Open a web browser on PC0.
-
Enter the recorded IP address of the default gateway into the URL field.
-
When prompted, enter the username "admin" and password "admin".
-
Scroll through the Basic Setup page to view the default settings, including the default IP address of the wireless router.
-
Notice that DHCP is enabled, the starting address of the DHCP range, and the range of addresses available to clients.
Note: The starting IP address here is 192.168.0.100
-
Within the Router IP Settings section, change the IP address to 192.168.5.1.
-
Scroll to the bottom of the page and click Save Settings.
-
If done correctly, the web page will display an error message. Close the web browser.
-
Click IP Configuration on PC0 to renew the assigned IP address. (Recall this from Part 2)
-
Click Static, then click DHCP to receive new IP address information from the wireless router.
-
Open the web browser again and enter the IP address 192.168.5.1 in the URL field.
-
When prompted, enter the username "admin" and password "admin".
-
Notice that the DHCP Server Start IP Address is updated to the same network as the Router IP.
-
Change the Starting IP Address from 192.168.5.100 to 192.168.5.126.
-
Scroll to the bottom of the page and click Save Settings. Close the web browser.
-
Click IP Configuration on PC0 to renew the assigned IP address.
-
Click Static, then click DHCP to receive new IP address information from the wireless router.
-
Select Command Prompt on PC0 and enter "ipconfig".
Note: Record the IP address for PC0.
Note: Record the IP address for PC1.
-
Click on PC2 and select the Desktop tab.
-
Select Command Prompt.
-
Enter "ipconfig" at the prompt to view the IP configuration.
-
At the prompt, enter "ping 192.168.5.1" to ping the wireless router.
-
Enter "ping 192.168.5.126" to ping PC0.
-
At the prompt, enter "ping 192.168.5.127" to ping PC1.
-
The pings to all devices should be successful.
I have successfully configured DHCP on a wireless router using Packet Tracer. I've learned how to connect PCs to the router, change the DHCP settings, and configure clients to obtain IP addresses automatically. DHCP simplifies network configuration by assigning IP addresses dynamically, ensuring efficient and automatic network connectivity. By using DHCP, it removes human error when entering the IP addresses manually to end devices. On the other hand, there are some devices that one would like to enter the IP address manually so that they remain static and unchanged such as routers, printers, FTP servers, and DHCP servers. This lab was part of Cisco's Networking Academy Networking Basics through the Skills for All curriculum and you can learn more here.