A network lab with free simulators and virtual routers
Practise routers, switches, VLANs, routing, VPNs and firewalls with free simulators and virtual devices on your own computer, without buying equipment.
What you need
You do not need a rack of equipment to learn networking. There are two kinds of free tools, and each suits different courses:
- Simulators (such as Cisco Packet Tracer) imitate a limited set of devices and commands. They are light, easy and ideal for CCNA-style practice: switching, VLANs, routing, ACLs, DHCP, NAT.
- Emulators and virtual devices run the real network operating system as a virtual machine or container. They behave like the real thing, and are needed for vendor courses: MikroTik RouterOS (the free CHR image), Juniper (Juniper offers free lab virtual devices with registration), FRRouting and Linux routers, and containerlab for container-based topologies.
A graphical lab manager helps you wire them: GNS3 (free, you supply the device images) or EVE-NG Community Edition. On Linux, containerlab (containerlab.dev) builds topologies from a short text file.
Set it up
Packet Tracer. Create a free account with Cisco Networking Academy (netacad.com) and take the free introductory Packet Tracer course to download the program. Install and open it; drag two routers and two PCs onto the canvas and connect them.
MikroTik RouterOS CHR. Download the Cloud Hosted Router image from mikrotik.com, add it to VirtualBox as an existing disk of a new VM (Linux, 256 to 512 MB memory), give it two network adapters, and start it. The free licence limits the speed (1 Mbps) but allows every feature, which is plenty for learning. Sign in as admin with an empty password and set one straight away.
GNS3 or EVE-NG. Install GNS3 from gns3.com with its VM, or deploy EVE-NG Community as a VM. Import the device images you are entitled to use. Respect each vendor’s licence: do not download images from unofficial sources.
Linux routers (free and legal). Two or three Ubuntu VMs on internal networks, with IP forwarding on (sudo sysctl -w net.ipv4.ip_forward=1) and FRRouting (sudo apt install frr), let you practise OSPF, BGP and static routing with real commands.
Ubiquiti UniFi. The UniFi Network application can be self-hosted free to learn its interface, and Ubiquiti publishes an online demo; physical access points are only needed for radio behaviour.
Check that it works
- In Packet Tracer, a ping between two PCs through a router succeeds.
- Your CHR answers
/system resource printand you can reach its WebFig or Winbox from your computer. - On Linux routers,
ip routeshows the routes you expect, and a traceroute from one end shows each hop.
Practise safely
- Keep lab networks isolated from your home network (internal or host-only networks). A misconfigured virtual router can start handing out addresses or routes to real devices if it is bridged.
- Save a configuration or snapshot before each change;
exporton RouterOS,copy run starton Cisco. - Build with a plan: draw the topology and the address table first, then configure.
Go further
- Rebuild each lesson’s task on your lab from a blank device and compare with the browser lab’s model answer.
- Break the network on purpose (wrong mask, missing route, duplicate address), then diagnose it with ping, traceroute and the device’s show commands.
- Add a second path and practise failover; then capture the traffic with Wireshark to see it happen (see the Wireshark lab guide).
- Write your own checklist of the show commands that revealed each fault.
Courses that use this lab
Other lab guides
- A virtual machine lab on your own computer
- A Linux practice machine
- A packet-capture lab with Wireshark and tcpdump
- A network-services lab: DHCP, DNS, proxy, load balancer, time and failover
- A Windows Server and Active Directory lab
- A developer workstation: editor, Git, Python and Node
- A container and Kubernetes lab
- A monitoring lab with Prometheus and Grafana
- A security operations (SOC) practice lab
- An isolated security lab for authorised practice
- A cloud lab that cannot surprise you with a bill
- An embedded and microcontroller lab: simulators first, hardware second
- An electronics lab: simulate first, then build on a breadboard
- A Raspberry Pi lab, with or without a Pi
- A home automation lab with Home Assistant and MQTT
- An audio, video, streaming and show-control lab
- A data lab: Python, pandas and Jupyter on your own computer
- A machine learning lab: scikit-learn, notebooks and honest experiments
- An LLM lab: a free local model, embeddings and a test harness
- A TypeScript lab: Node.js, the compiler and a test runner
- A web deployment lab: Git, a free host and environment settings
Software changes quickly. Menu names and version numbers may differ a little from what you see; the ideas and the check at the end of each section stay the same. Always download from the project's own website, and read the licence terms for your situation.