In enterprise networking environments, a complete network outage often masks multiple underlying issues. One of the most deceptive scenarios involves a combination of Layer 2 switching failures and DHCP scope exhaustion. When users cannot reach the internet or internal servers, the root cause might not be a router failure but rather a switch port error preventing broadcast traffic or a depleted IP address pool blocking new connections. This lab guides IT students and junior engineers through a systematic troubleshooting methodology using Cisco Packet Tracer to isolate these specific faults. By mastering this workflow, practitioners learn to distinguish between physical connectivity issues, VLAN misconfigurations, and protocol-level exhaustion that silently halts network operations.
Prerequisites and Lab Topology Setup
Before initiating the troubleshooting process, it is essential to understand the lab environment and ensure all prerequisites are met. This exercise assumes you are running Cisco Packet Tracer (versions 8.x or higher) with basic familiarity in the Command Line Interface (CLI). The topology for this scenario includes a central router providing internet simulation, two core switches managing VLANs, and several end-user PCs connected to access switches.
To recreate the fault conditions safely without affecting your production lab, start by creating a new project. Configure the following baseline:
1. Router: Connect GigabitEthernet0/0 to the Internet cloud (Simulation Mode enabled for DHCP server).
2. Core Switch A: Configured with SVIs for VLAN 10 and VLAN 20.
3. Access Switch B: Connected to Core Switch A via a trunk link. Ports are assigned to specific VLANs.
4. End Devices: Three PCs connected to Access Switch B.
Common Error Check: Ensure all cables are copper (straight-through) for PC-to-switch connections and fiber or cross-over (depending on your version’s default logic, though Packet Tracer auto-selects correctly) for switch-to-switch links. Verify that the “Simulation Mode” toggle in the top toolbar is active before running any packet captures.
Step 1: Identify Symptoms via User Reports and Ping Tests
The first step in any outage investigation is gathering data from the affected parties and performing baseline connectivity tests. In this scenario, users on VLAN 10 report they can ping their default gateway but cannot access external websites or obtain an IP address upon reboot. Users on VLAN 20 report a complete lack of connectivity.
Open a command prompt on a PC in VLAN 10 and execute ping <gateway_IP>. If the response is successful, Layer 3 routing to the core is functional for that subnet. Next, attempt ping 8.8.8.8. A failure here indicates an issue beyond the local switch or router interface.
C:\Users\Student> ping 192.168.10.1
Reply from 192.168.10.1: bytes=32 time<1ms TTL=128
C:\Users\Student> ping www.google.com
Ping request could not find host www.google.com.
Analysis: The ability to ping the gateway but not the internet suggests a DNS issue or an upstream routing problem, but in our specific fault scenario, it often points to DHCP failure preventing the initial IP assignment if the device rebooted recently. However, if the PC already has a static IP configured for testing, we must look closer at Layer 2 forwarding.
Step 2: Isolate Layer 2 Switching Failures
Layer 2 failures often stem from disabled ports, incorrect VLAN assignments, or Spanning Tree Protocol (STP) blocking states. Navigate to the CLI of Access Switch B using enable and then configure terminal.
Check the status of the interface connected to the problematic PC:
SwitchB(config)# show interfaces status
Look for an entry showing “down” or “notconnect.” If a port is administratively down, use the no shutdown command. However, if the link light is on but traffic isn’t passing, check the VLAN assignment:
SwitchB(config-if)# switchport access vlan 10
SwitchB# show vlan brief
If the output shows the interface listed under a different VLAN than expected, move it to the correct one. Furthermore, verify STP status with show spanning-tree. If a port is in “blocking” or “listening” state for an extended period due to topology changes, traffic will be dropped.
Expected Result: After correcting VLAN mismatches and enabling ports, pinging the gateway from the PC should succeed consistently.
Step 3: Investigate DHCP Scope Exhaustion
While Layer 2 issues handle connectivity, DHCP exhaustion prevents new devices from joining the network or causes existing leases to fail upon renewal. In this lab, we simulate a scenario where the DHCP server pool is full because the lease time is set too short relative to the number of clients, or an IP helper-address is missing on the router for a remote VLAN.
Examine the DHCP configuration on the router or external DHCP server object in Packet Tracer:
Router(config)# ip dhcp pool VLAN10-POOL
Router(dhcp-config)# network 192.168.10.0 255.255.255.0
Router(dhcp-config)# default-router 192.168.10.1
Router(dhcp-config)# dns-server 8.8.8.8
To verify exhaustion, check the pool statistics:
Router# show ip dhcp binding
Router# show ip dhcp pool
The output will list how many addresses are currently bound versus available. If “available” is zero, new requests will be denied.
Fixing Exhaustion: To resolve this in a lab or production environment, you can either expand the subnet mask to include more hosts (e.g., changing /24 to /23) or increase the lease time:
Router(dhcp-config)# lease 168
Additionally, ensure the router interface connected to the switch has the correct IP helper address pointing to the DHCP server if they are on different subnets.
Step 4: Verification and Simulation Mode Analysis
Once corrections are applied, validation is critical. Switch Packet Tracer back to “Simulation Mode” to visualize packet flow. Click the “Play” button and observe the traffic flowing from a PC requesting an IP address via DHCP Discover/Offer/Acknowledge messages.
If the simulation shows DHCP requests being dropped at the router or switch, re-examine ACLs (Access Control Lists) or firewall rules on intermediate devices. Use show ip dhcp server statistics to view error logs indicating “no available addresses.”
Illustrative Output:
Simulation View:
Packet Type: DHCP Discover
Source MAC: AA:BB:CC:DD:EE:FF
Destination IP: 255.255.255.255
Status: Delivered to Server
Server Response: DHCP Offer (Address: 192.168.10.5)
Student Practice Task and Industry Application
For students, the assignment is to build this topology, intentionally introduce a VLAN mismatch on one switch port and deplete the DHCP pool by setting a 1-minute lease time on a small subnet. The goal is to reproduce the outage symptoms and then document the exact commands used to restore service.
In an industry context, this troubleshooting path applies directly to large-scale office migrations or cloud migration projects where thousands of devices rely on dynamic IP assignment. Network engineers often use automated scripts to monitor DHCP pool utilization; when usage exceeds 85%, alerts are triggered before exhaustion occurs. Understanding how to manually isolate these failures ensures that when automation fails or during initial network deployment, the engineer can restore functionality rapidly.
Conclusion and Common Mistakes
Troubleshooting a complete network outage requires a layered approach. By first confirming Layer 3 reachability via ping, then drilling down to Layer 2 switch configurations, and finally inspecting DHCP pool statistics, practitioners can pinpoint the exact failure vector. Common mistakes include assuming a router fault when a simple VLAN ACL or port shutdown is the culprit, or ignoring DHCP lease times which cause intermittent connectivity that mimics a hardware failure. Always verify policy terms regarding IP address management in real-world contracts, as some service level agreements mandate specific uptime guarantees that may be impacted by such exhaustion events. Remember that network behavior depends heavily on specific device models, IOS versions, and jurisdictional laws regarding data privacy when logging DHCP transactions.
Educational-use notice: This tutorial is for learning and controlled lab use only. Test carefully, use backups, and obtain authorization before making changes. Do not run unfamiliar commands on production systems. We accept no responsibility for misuse, damage, data loss, or production issues.

