DE Start in the browser

Network simulator for teaching Build, simulate and understand networks.

leyoNET is a free network simulator for teaching computer networks. Cable up devices, assign addresses, and watch every packet travel across the wire – from the first ARP to the reply.

  • Free and open source
  • Works offline
  • No account, no tracking
PC 1 and switch in network 192.168.1.0/24, router, server in network 192.168.2.0/24 Classroom 192.168.1.0/24 Server 192.168.2.0/24 eth0 P1 P2 eth0 eth1 eth0 PC 1 192.168.1.10/24 Switch 1 Router 1 Server 192.168.2.20/24
No.From → ToProtocolInfo

    C:\> ping 192.168.2.20

    Animation: PC 1 asks for the router via ARP, sends an ICMP echo request through switch and router to the server and receives the reply.

    What it looks like

    Real screenshots, no mock-ups. Everything runs in a browser window, no installation needed.

    leyoNET: company network with three data centres and an office, the web browser in the Lucerne office shows the page from Zurich behind the load balancer
    Showcase: three data centres with core, distribution and access, connected via fibre, cable and VDSL, linked with IPsec. The Lucerne office fetches the web page in Zurich via DNS, spread by a load balancer over two web servers. Live at app.leyonet.ch/?schaufenster.

    leyoNET in numbers

    exercises with automatic checking
    70+
    ready-made demo networks, many step by step
    45
    device types from notebook to provider
    12
    cited standards: RFC, IEEE 802, ITU-T
    64
    automated tests before every release
    680+

    Made for the classroom

    From the first year of vocational training to university. Teachers decide what is visible – and leyoNET does the marking.

    Five profiles, one program

    Beginners only see PCs, a switch, a router and DHCP. Each profile adds more – up to BGP. Teachers share their selection as a file.

    1. P1 Getting started PCs, switch, router, server, DHCP
    2. P2 Basics Wi-Fi, internet, DNS, web, static routes
    3. P3 Advanced VLANs, trunks, STP, NAT, firewall, loopbacks, command line
    4. P4 Professional OSPF, RIP, IPv6 with OSPFv3, layer 3 switch, ACLs, LACP, VPN, hex view, pcap
    5. P5 University everything, including BGP, VRF and VXLAN

    Exercises that check themselves

    Every exercise has learning goals such as “PC 1 reaches the web server”. One click on “Check” shows what is fulfilled and gives hints for the rest. Each exercise comes with a fillable worksheet as PDF (in German), plus whole series for the Swiss ICT modules 117, 129 and 145: all worksheets (ZIP). Teachers receive the model solutions by e-mail on request (address in the legal notice).

    Create your own tasks in a form – or from a finished solution: leyoNET suggests the goals with points.

    Exams without a pile of marking

    Every seat gets its own code, an exam sheet to print and, if you like, its own variant. Work is saved every 20 seconds. Once submitted, nothing can be changed; the admin console shows live who is working and who submitted when.

    Extra time per seat with one click. The evaluation computes points and the grade on the Swiss scale, with partial points, follow-on errors and room for manual corrections.

    Training: Three short videos introduce learners (German, English subtitles), plus all fillable worksheets with network plans.

    Watch the videos Worksheets

    New: IPv6 basics online course. Seven units with videos, theory, quizzes, exercises with solutions and labs in leyoNET, free and without an account.

    Go to the IPv6 course

    New: leyoNET DC

    The datacenter simulator: a datacenter in 3D to build yourself. Set up racks, mount devices, cable and configure – computed by the same core as leyoNET. With seven levels and class network tasks for the whole class.

    leyoNET DC: server room with notebooks at the desk and graffiti

    The whole class in one network

    Each group builds its own site and connects it to the teacher’s class infrastructure. leyoNET simulates the whole network: whoever addresses, routes and configures NAT correctly is online – and the head office fetches the site’s web page.

    • Dashboard for the projector: map and tiles show live who is connected, online or done. Only what really works in the simulation turns green.
    • Messages between sites: they are only sent if your own site reaches the head office.
    • Seat and group instead of names: “Team Red” on seat 1 is enough.
    • Own access keys for schools and teachers, without accounts and without personal data. Exercises and whole modules can be shown or hidden per class.
    Map of the class network: eight sites around the head office, the links light up as soon as a site is online Head office 0 / 8 online Team Red1 not connected Team Blue2 not connected Seat 33 not connected Bern4 not connected Team Yellow5 not connected Basel6 not connected Seat 77 not connected Team Green8 not connected
      One site after another is connected, goes online and serves its web page; messages fly via the head office to other sites.

      What really happens in the network

      Every frame consists of real bytes, encoded according to the standards. The packet view unpacks it layer by layer, the hex view highlights every field, and after export Wireshark opens the same capture.

      • Display filters like in Wireshark: icmp and ip.dst == 192.168.2.20
      • Command line for routers and switches in the style of FRRouting, with Tab and ?
      • Slow motion and single step: packets travel across the cables as dots
      • Damage cables, shut down ports, troubleshoot
      1. 7Application
        • HTTP/1.1
        • DNS
        • DHCP
        • DHCPv6
        • SMTP
        • POP3
        • IMAP
        • SSH
      2. 4Transport
        • TCP
        • Three-way handshake
        • Sequence numbers
        • Retransmission
        • UDP
      3. 3Network
        • IPv4
        • IPv6
        • ICMP
        • NAT and PAT
        • CGNAT
        • DS-Lite
        • OSPF and OSPFv3
        • RIP and RIPng
        • BGP
        • VRF
        • IPsec with IKEv2
        • Firewall
      4. 2Data link
        • Ethernet
        • ARP
        • Neighbor Discovery
        • VLAN 802.1Q
        • LACP
        • VXLAN
        • Spanning tree
        • Wi-Fi 802.11
        • PPP
        • PPPoE
      5. 1Physical
        • Twisted pair
        • Fibre
        • Radio
        • Coax with DOCSIS
        • DSL
        • GPON
        • LTE
        • Serial

      No accounts. No cookies. No tracking.

      leyoNET only stores network configurations, never names. The file loads nothing from the internet, not even a font. The single file and the desktop app transmit nothing at all; the web version only stores technical data without names and deletes it automatically. What exactly is stored is described in the privacy policy (in German).

      The source code is open (AGPL-3.0). Before release, every version is checked for trackers, external resources, security headers and licences.

      Source code on GitHub

      leyoNET stays free. If you would like to support its development, you can do so voluntarily via Patreon.

      <!-- leyonet.html -->
      Content-Security-Policy:
        default-src 'none';
        connect-src 'none';
        img-src data: blob:;
        form-action 'none';
      
      ✓ no cookies
      ✓ no tracker
      ✓ no external resources

      From the classroom

      Mark teaches networking. For years he and his classes pulled cables, sent pings and conjured up broadcast storms – mostly on purpose. At some point it was clear: a more modern tool was needed, one that simply runs in the browser and can still be installed locally.

      Together with his brother Mika he built the foundation; since then, idea after idea from the classroom has been added. It is programmed with the help of artificial intelligence – the ideas, the experience and the responsibility lie with Mark and Mika.

      And the name? “leyo” are the initials of Mark’s children. The logo shows an “l” and a “y” made of network nodes: “ly” for “love you”. Every good network needs strong connections.

      Get started

      The same program everywhere. Version 1.14.0.

      The files come directly from GitHub. Checksums (SHA-256) for comparison: SHA256SUMS.txt. All versions and changes: GitHub Releases. The installers are not signed yet. On first start Windows shows “Windows protected your PC”: More info → Run anyway. On the Mac, start it the first time with right-click → Open or under System Settings → Privacy & Security → Open Anyway. If macOS reports the app as “damaged”, run xattr -cr /Applications/leyoNET.app in the Terminal.