Networking
Routers, NAT, DHCP, DNS, VLANs and tunnels, built inside one virtual machine.
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
OSPF lab
Ubuntu VM lab · 1 lesson
Bring up dynamic routing on three routers in your browser
BGP lab
Ubuntu VM lab · 1 lesson
Connect two autonomous systems in your browser
Network services and tunnels
NAT gateway lab
Ubuntu VM lab · 1 lesson
Masquerade and port forwarding with nftables in your browser
DHCP and DNS lab
Ubuntu VM lab · 1 lesson
Configure dnsmasq for a small network in your browser
VLAN lab
Ubuntu VM lab · 1 lesson
VLANs and inter-VLAN routing on one Ubuntu VM in your browser
WireGuard lab
Ubuntu VM lab · 1 lesson
Build a VPN tunnel between two sites in your browser
Software-defined and simulated networks
Software-defined networking lab
Ubuntu VM lab · 1 lesson
Open vSwitch, Mininet and an OpenFlow controller on one VM
Network simulation lab
Ubuntu VM lab · 1 lesson
The ns-3 simulator on one private Ubuntu VM
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