Free tech learning for everyone, from basics to pro

Networking LabsLabsBeginner

Lab: getting started with Cisco Packet Tracer and a first topology

In short: Cisco Packet Tracer is a free network simulator you can use to practise switching and routing without buying hardware. In this lab you install it, build a small LAN with three PCs, a switch and a router, then prove it works with ping and simulation mode.

Aim and what you need

The aim of this lab is to get Packet Tracer running and build a working local area network (LAN) that you can reuse as the starting point for later labs. By the end you will be able to place devices, cable them, give them addresses and test reachability.

  • A Windows, macOS or Linux computer with about 1 GB of free disk space.
  • A free Cisco Networking Academy account. Packet Tracer is downloaded after you sign in and enrol on one of the free introductory courses that include it.
  • About 45 minutes.

Tip: Packet Tracer only simulates Cisco IOS. Most commands match real kit, but some advanced features are missing. That is fine for CCNA-level practice.

Topology and addressing

First Packet Tracer topologySwitch S12960, 24 portsPC0192.168.10.10PC1192.168.10.11Router R1gateway .1PC2192.168.10.12
Figure 1. The first topology: three PCs and a router all connect to one switch in the 192.168.10.0/24 network.
DeviceInterfaceIP addressGateway
R1 (1941)G0/0192.168.10.1/24n/a
PC0Fa0192.168.10.10/24192.168.10.1
PC1Fa0192.168.10.11/24192.168.10.1
PC2Fa0192.168.10.12/24192.168.10.1

Steps

Building any lab in Packet TracerPlace devicesdrag fromlibraryCable themcopperstraightAddressIP and maskTestping, simulateSave.pkt file
Figure 2. The same five-step routine works for every Packet Tracer lab, from a single switch to a campus.
  1. Install Packet Tracer, open it and sign in with your Networking Academy account.
  2. From the device library at the bottom, drag a 2960 switch, a 1941 router and three PCs onto the workspace.
  3. Choose the copper straight-through cable. Connect each PC's FastEthernet0 to switch ports Fa0/1, Fa0/2 and Fa0/3, and router G0/0 to switch G0/1.
  4. Click each PC, open Desktop then IP Configuration, and enter the address, mask 255.255.255.0 and gateway from the table.
  5. Click R1, open the CLI tab, answer no to the setup dialogue, and enter the commands below.
  6. Save the file as lab01-first-lan.pkt.
enable
configure terminal
hostname R1
interface g0/0
 ip address 192.168.10.1 255.255.255.0
 no shutdown
end
copy running-config startup-config

Verify

Open Desktop then Command Prompt on PC0 and run the commands below. Success means every ping gets replies (the first one may lose a packet while ARP resolves), and the router shows G0/0 as up/up.

ipconfig
ping 192.168.10.11
ping 192.168.10.1
show ip interface brief
show arp

Now switch to Simulation mode (bottom right), set the filter to ICMP and ARP, and ping again. Step through the events and watch the ARP broadcast flood every switch port, then the unicast ping travel only to the right PC. Seeing this is the best way to understand how a switch learns MAC addresses. Back in the switch CLI, show mac address-table lists what it learned.

Troubleshooting and clean-up

  • Red link lights: the router interface is still shut down, or you used the wrong cable type. Amber lights on a new switch port usually turn green after spanning tree finishes, about 30 seconds.
  • Ping to the router fails but PCs reach each other: check the router address and that no shutdown was entered.
  • Request timed out everywhere: check the subnet mask on each PC. A typo such as 255.255.0.0 on one device breaks things in confusing ways. Try the subnet calculator.
  • Use the realtime/simulation toggle to slow things down and spot where a packet stops.

Clean-up is simple: save the working file as a template, then use File, Save As for each new lab so you always keep a known-good copy. In exams and at work, this habit of documenting an addressing table before cabling saves a lot of time.

Practice

Why does the first ping from PC0 sometimes lose one packet?
PC0 must first send an ARP request to learn the destination MAC address; the first echo request can time out while that happens.
Which mode lets you watch individual packets step by step?
Simulation mode, with event filters such as ICMP and ARP.
What does no shutdown do on a router interface?
It administratively enables the interface; router interfaces are shut down by default.

Key takeaways

  • Packet Tracer is a free Cisco simulator available through a Networking Academy account.
  • Plan an addressing table before you place and cable devices.
  • Router interfaces need an IP address and no shutdown before they work.
  • Simulation mode shows ARP and ICMP moving through the network step by step.
  • Save a clean template file and copy it for each new lab.
Tracks your learning on this device only. See your progress on the learning paths.

About the author

Mohamed Fayas

Founder of FM TecHub. CCNA certified, with a BTEC HND in Network Engineering, and BEng (Hons) in Computer Networking and Cloud Security. He writes practical, plain-English guides on networking, security and cloud.

More about the author

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Stay up to date by email

New notes, tools and security news from FM TecHub, explained simply. Free.

We only use your email to send these updates. See our privacy policy.