Free CCNA | DHCP | Day 39 Lab | CCNA 200-301 Complete Course

3 min read 3 months ago
Published on Nov 25, 2025 This response is partially generated with the help of AI. It may contain inaccuracies.

Table of Contents

Introduction

In this tutorial, we will cover how to configure DHCP (Dynamic Host Configuration Protocol) as part of the CCNA 200-301 curriculum. This hands-on lab will help you understand how DHCP works, allowing devices on a network to automatically receive IP addresses and other network configuration settings.

Step 1: Setting Up the Network

  • Launch Packet Tracer: Open Cisco Packet Tracer on your computer.
  • Create a New Project: Start a new project to build your lab environment.
  • Add Devices:
    • Include a router and several end devices (PCs or laptops) in your workspace.
    • Connect the devices using appropriate cables (usually copper straight-through cables).

Step 2: Configuring the Router for DHCP

  • Access Router CLI: Click on the router and open the CLI (Command Line Interface).
  • Enter Configuration Mode: Type the following commands:
    enable
    configure terminal
    
  • Define the DHCP Pool: Create a DHCP pool with a specific name (e.g., “LAN_Pool”):
    ip dhcp pool LAN_Pool
    
  • Set the Network and Subnet: Specify the network range for the DHCP pool:
    network 192.168.1.0 255.255.255.0
    
  • Set the Default Gateway: Define the default gateway:
    default-router 192.168.1.1
    
  • Set the DNS Server (optional): Specify a DNS server:
    dns-server 8.8.8.8
    
  • Exit Configuration: Type exit to leave the DHCP pool configuration.

Step 3: Configuring the Router Interface

  • Select the Router Interface: Enter the interface configuration for the router's connected interface (e.g., FastEthernet 0/0):
    interface FastEthernet0/0
    
  • Assign an IP Address: Set the IP address for the interface:
    ip address 192.168.1.1 255.255.255.0
    
  • Enable the Interface: Activate the interface with:
    no shutdown
    
  • Exit Interface Configuration: Type exit to return to the global configuration mode.

Step 4: Testing DHCP Configuration

  • Power On End Devices: Turn on the PCs or laptops connected to the router.
  • Obtain IP Address: On each device, configure the network settings to obtain an IP address automatically (usually found under network settings).
  • Verify IP Address:
    • On a PC, open Command Prompt and type:
    ipconfig
    
    • Ensure the device has received an IP address from the DHCP pool.

Conclusion

You have successfully configured DHCP on a Cisco router using Packet Tracer. This process enables devices on your network to automatically receive IP addresses, simplifying network management. For further learning, consider exploring additional DHCP features like reservations or troubleshooting techniques, and practice with different network topologies. Happy networking!