0xbythesecond / Configure-DHCP-on-Wireless-Router

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configure DHCP on Wireless Router

Lab: Configure DHCP on a Wireless Router using Packet Tracer

Packet Tracer - Configure DHCP on a Wireless Router

Objective:

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:

Part 1: Set up the network topology

  1. Open Packet Tracer and create a new network topology.
  2. Add three generic PCs to the workspace.
  3. Connect each PC to an Ethernet port on the wireless router using straight-through cables.
  • Select Straight Through Cable

Part 2: Observe the default DHCP settings

  1. Wait for the amber lights on the devices to turn green.
  1. Click on PC0, then click on the Desktop tab and select IP Configuration.
  • Select IP Configuration (PC0)
  1. Choose DHCP to receive an IP address from the DHCP-enabled router.
  • Configure DHCP Wireless Router (PC0)
  1. Record the IP address of the default gateway (picture here 192.168.0.1).
  2. Close the IP Configuration window.
  • You can close the window by selecting the X button to the right of IP Configuration.
  1. Open a web browser on PC0.

    • Select Web Browser PC0
  2. Enter the recorded IP address of the default gateway into the URL field.

    • image
  3. When prompted, enter the username "admin" and password "admin".

    • Login to router with default credentials (PC0)
  4. Scroll through the Basic Setup page to view the default settings, including the default IP address of the wireless router.

  5. 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

Part 3: Change the default IP address of the wireless router

  1. Within the Router IP Settings section, change the IP address to 192.168.5.1.

    • Change router ip address
  2. Scroll to the bottom of the page and click Save Settings.

  3. If done correctly, the web page will display an error message. Close the web browser.

    • Request timeout after changing default ip address
  4. Click IP Configuration on PC0 to renew the assigned IP address. (Recall this from Part 2)

  5. Click Static, then click DHCP to receive new IP address information from the wireless router.

    • DHCP update after start IP change
  6. Open the web browser again and enter the IP address 192.168.5.1 in the URL field.

  7. When prompted, enter the username "admin" and password "admin".

Part 4: Change the default DHCP range of addresses

  1. Notice that the DHCP Server Start IP Address is updated to the same network as the Router IP.

  2. Change the Starting IP Address from 192.168.5.100 to 192.168.5.126.

    • Change the Maximum Number of Users to 75.
    • Change start ip address
  3. Scroll to the bottom of the page and click Save Settings. Close the web browser.

  4. Click IP Configuration on PC0 to renew the assigned IP address.

  5. Click Static, then click DHCP to receive new IP address information from the wireless router.

  6. Select Command Prompt on PC0 and enter "ipconfig".

    • IPConfig PC0

Note: Record the IP address for PC0.

Part 5: Enable DHCP on the other PCs

  1. Click on PC1.
  2. Select the Desktop tab.
  3. Select IP Configuration.
  4. Click DHCP.
    • DHCP PC1

Note: Record the IP address for PC1.

  1. Close the configuration window.
  2. Enable DHCP on PC2 following the same steps as for PC1.
    • DHCP PC2

Part 6: Verify connectivity

  1. Click on PC2 and select the Desktop tab.

  2. Select Command Prompt.

  3. Enter "ipconfig" at the prompt to view the IP configuration.

    • IPConfig PC2
  4. At the prompt, enter "ping 192.168.5.1" to ping the wireless router.

  5. Enter "ping 192.168.5.126" to ping PC0.

  6. At the prompt, enter "ping 192.168.5.127" to ping PC1.

  7. The pings to all devices should be successful.

    • Ping other devices from PC2

Conclusion:

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.

About