Skip to content

minired

A computer networking lab in the browser, on top of a real network. You build the topology with PCs, switches, routers and servers, start a real Mininet network and watch, step by step, every packet crossing every cable: how a switch floods an ARP, how a router picks the route, what a NAT translates or what an ACL drops.

The interface in English: OSI view of a switch flooding an ARP

Why minired

Teaching simulators such as Cisco Packet Tracer are great to get started, but they model the network: what you see is what the simulator decides to show. Mininet, on the other hand, brings up real Linux interfaces, namespaces and bridges, but it is driven from the command line and shows nothing.

minired brings both together:

  • Real traffic. Every packet shown was captured with tcpdump at both ends of the cable. If something could not be correlated, it is shown as such: packets are never invented.
  • The Packet Tracer experience. Simulation mode with an OSI view, simple and complex PDUs, link lights, the PC Desktop, an inspector for the tables and devices that can be powered on and off.
  • Real tools. A bash terminal on every device, FRRouting's vtysh, dnsmasq, nftables, Open vSwitch. What students learn is useful outside the classroom.
  • Three languages. The interface, the explanation of every packet and this documentation are available in Spanish, English and Portuguese.
  • Open. BSD-3-Clause code, no per-student licenses, designed for one Linux VM per student.

What you can practice

Topic Examples
Layer 2 ARP, MAC learning, flooding, access VLANs and 802.1Q trunks
Layer 3 Addressing, gateway, static routes, inter-VLAN (router-on-a-stick), OSPF with FRRouting
Services DHCP, DNS and HTTP with a lab server; the PC requests an IP and browses
Security NAT (PAT) and inbound ACLs with nftables, with visible counters
Troubleshooting TCP/UDP PDUs to a port (SYN-ACK, RST, port unreachable), TTL expired, links down, devices powered off

Each exercise has a ready-made example in the Examples menu.

PDU scenario and link lights

Complex PDU: TCP, UDP or ICMP with TTL

Screenshots

Most screenshots on this site show the interface in Spanish, the language it was first built in. The interface itself is fully available in English.

Project status

minired is under active development and is used in FOSSHLab courses. Every feature has automated tests, including root tests on a real Mininet network and end-to-end tests in the browser.

Not available yet: STP, LACP, IPv6 and editing the topology while the network is running.

Want to join?

We are looking for teachers, students and researchers to try it in class, propose exercises or contribute code. See Contribute.

Credits

minired runs on the educational fork mendezgarabetti/mininet of Mininet. The REDES101 course labs are at fosshlab/redes101. Licenses and acknowledgments are in the repository.