Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Networking

Routers, NAT, DHCP, DNS, VLANs and tunnels, built inside one virtual machine.

See the 9 lessons

No account needed: open a lesson and press Start lab.

Hands-on lessons

Each lesson is worked in a real lab, with a terminal beside it. Nothing to install.

Routing

Static routing lab

Ubuntu VM lab · 1 lesson

Build routes on a small network in your browser

  1. 1Static Routing Basics

OSPF lab

Ubuntu VM lab · 1 lesson

Bring up dynamic routing on three routers in your browser

  1. 1OSPF Basics

BGP lab

Ubuntu VM lab · 1 lesson

Connect two autonomous systems in your browser

  1. 1BGP Basics

Network services and tunnels

NAT gateway lab

Ubuntu VM lab · 1 lesson

Masquerade and port forwarding with nftables in your browser

  1. 1NAT Basics

DHCP and DNS lab

Ubuntu VM lab · 1 lesson

Configure dnsmasq for a small network in your browser

  1. 1DHCP and DNS Basics

VLAN lab

Ubuntu VM lab · 1 lesson

VLANs and inter-VLAN routing on one Ubuntu VM in your browser

  1. 1VLAN Basics

WireGuard lab

Ubuntu VM lab · 1 lesson

Build a VPN tunnel between two sites in your browser

  1. 1WireGuard Basics

Software-defined and simulated networks

Software-defined networking lab

Ubuntu VM lab · 1 lesson

Open vSwitch, Mininet and an OpenFlow controller on one VM

  1. 1SDN Basics

Network simulation lab

Ubuntu VM lab · 1 lesson

The ns-3 simulator on one private Ubuntu VM

  1. 1Network Simulation Basics

About Networking

These labs build real networks inside one Ubuntu virtual machine, so a student configures routers and hosts with the same tools a network engineer uses, with no rack of equipment and no simulator. They start with static routing on two routers and two hosts, then bring up OSPF on three routers with FRRouting and vtysh, and connect two autonomous systems with BGP.

Further labs cover a NAT gateway with masquerade and a port forward in nftables, DHCP leases, a fixed address and local names with dnsmasq, VLANs with 802.1Q subinterfaces on a router on a stick, and a WireGuard VPN tunnel between two sites. Several are checked by a script that tests whether the network really works, so a student knows when a route is right instead of guessing.

Every lab has a Basics lesson, free to read on this site, that explains the idea and gives the commands to try. The machine runs in the browser, so a school needs no lab room and nothing installed, and a broken network is fixed by starting again. A free account runs the labs, and a school or college sets them for a class.

Keep your lessons and progress

A free account keeps your lessons and progress, with enough free credit each month to follow most lessons. Teaching a class? Create an account for your college and set these labs for your students.

Create a free accountCreate an account for your college

Already have an account? Sign in