Wiki DE Start in the browser

Wiki › Crash course for teachers

Class network in the classroom

Every group builds a site and connects it to your infrastructure; the dashboard on the projector shows live who is really online.

See an example
See demo

The idea

Instead of everyone working alone on a network, the class becomes one network: every group builds its site (router, switch, PCs) and connects it to the shared class infrastructure, a provider and a head office with a web server. Whoever sets up addresses, default route and NAT correctly is online. The projector shows it to everyone.

What is a seat, what is its goal?

A seat is a site in the class network, like a branch office of a company, built by one person or group. The seat number (1–62) determines the addresses. The goal of every seat is always the same: the site is connected to the provider, reaches the hub, and the hub reaches the site (“online” on the dashboard). The class network exercises build on this:

ExerciseGoal of the seatDashboard
Connect the site to the hubuplink, WAN address, default route, NAT; the PC opens the hub's web pageonline
Site with DHCP and the hub's nameadditionally DHCP on the router with the hub's DNS; opens zentrale.verbund.exampleonline
Publish your own web server in the class networkadditionally port forwarding, the hub opens the site's web pageservices reachable
Visit the neighbour's web pagepublish the web server and open the page of another site via its WAN addressservices reachable
VPN to the partner siteown LAN 10.10.<seat>.0/24, IPsec tunnel to a partner, the PC reaches the partner's PC privately (IPsec VPN)online
Troubleshooting a federation sitefinished site with 5 faults, different at every seat; find and fix them allfaults fixed n/5, then done
Seat nTransit networkWAN addressProvider (gateway)
1203.0.113.4/30203.0.113.6203.0.113.5
2203.0.113.8/30203.0.113.10203.0.113.9
n203.0.113.(4·n)/30203.0.113.(4·n+2)203.0.113.(4·n+1)

In the template the hub (198.51.100.10) has a web page and is the DNS server for zentrale.verbund.example and www.verbund.example.

Running it in a lesson

  1. Admin console → class → “Enable class network”, “Load template”.
  2. Learners join with the class code, their seat number and a group (e.g. “Team Red”).
  3. On the router: section “Class network” → “Connect to the class infrastructure”, then “Fill in addresses”. Every seat n gets its own transit network 203.0.113.(4·n)/30.
  4. Open the dashboard (admin console → class → dashboard), full screen on the projector.

Every 20 seconds the dashboard computes the whole network in your browser and checks by ping and web page: not connected, connected, online, services reachable, done. Nobody can report “done” – only what works turns green. Messages between sites fly across the map as a dot of light.

Teaching notes

  • Tell the class in two sentences at the start: “We are a company, I am the head office, you are the branches. Your branch is done when it is green on the projector.” Show the box “Your seat in the class network” and the steps in it.
  • The first quarter of an hour belongs to connecting: the class sees live how one site after another turns green. That motivates.
  • Then the class network exercises in the catalog, e.g. publishing your own web server via port forwarding (NAT and PAT). Every class network exercise shows the box “Your seat in the class network” in the task window, with seat number, transit network, WAN address, provider and hub for exactly this seat, and states the goal in one sentence.
  • Troubleshooting together: clicking a site in the dashboard shows its network, the class helps find the mistake.
  • Troubleshooting race: Everyone opens «Troubleshooting a federation site». Each seat has 5 different faults, so copying does not help. On the projector five boxes fill up per site («faults fixed n/5»); whoever has them all turns green.

In detail: class network (in German).

How to do it in leyoNET

The same text as in the app’s help (F1 key).

Class network

In short for the class: the whole class builds one company network together. The teacher runs the hub (server 198.51.100.10 with web page and DNS) and the provider. Each person or group has a seat and builds its own site there, like a branch office. The goal of every seat: the site is connected to the provider, reaches the hub, and the hub reaches the site. The seat then turns green on the projector.

| Seat n | Transit network | WAN address of your site | Provider (gateway) | |---|---|---|---| | 1 | 203.0.113.4/30 | 203.0.113.6 | 203.0.113.5 | | 2 | 203.0.113.8/30 | 203.0.113.10 | 203.0.113.9 | | n | 203.0.113.(4·n)/30 | 203.0.113.(4·n+2) | 203.0.113.(4·n+1) |

The addresses of your seat are shown in every class network task in the box «Your seat in the class network».

In the class network (web version) each person or group builds their own site and connects it to the teacher's shared class infrastructure: a provider and a hub with a web server (198.51.100.10).

  • Join: under «Session», join with the class code and give your seat number (1–62) and optionally a group (no personal names).
  • Connect: select a modem, internet box, router or firewall → «Class network» → «Connection to the class infrastructure». For a router, choose the WAN port and «Fill in addresses»: WAN address 203.0.113.(4·seat+2)/30, gateway 203.0.113.(4·seat+1), default route and NAT.
  • Simulation: your network runs together with the infrastructure (and, if enabled, with the other sites). Only your own network is saved.
  • Map and messages: under Tools → Class network you see the map (if enabled). Messages are only sent when your site reaches the hub.

For teachers: in the admin console, on the class, «Enable class network», «Load template» and open the dashboard for the projector. The dashboard checks in your browser every 20 seconds with ping and web page which sites are really online; clicking a site watches it. The levels: not connected, connected, online, services reachable, done (all goals met). In the exercise «Troubleshooting a federation site» every seat has 5 different faults; the tile shows «faults fixed n/5».

Matching network exercises are in the exercise catalogue (see Tasks).

See an example

  • Demo “Class network: sites at the hub” in leyoNETDemo “Class network: sites at the hub” in leyoNET
    Class network: sites at the hub

    This is the class network put together: four learners' sites connect to the provider of the class infrastructure via their own transit networks (/30), with the hub and its web server in the middle.

    A PC of Team Red pings the hub (through NAT), then the hub fetches Team Blue's web page via its WAN address (port forward). The teacher's dashboard checks who is online the same way.

    Watch live Project file

“Watch live” opens the network in leyoNET, the simulation runs in a loop. In the app you find it under File → Demo networks, with a step-by-step tour.

Practise

  • ★★☆☆☆ Connecting your site to the hub · 3 goals · class network · Worksheet (German)
  • ★★★☆☆ Site with DHCP and the hub's name · 4 goals · class network · Worksheet (German)
  • ★★★☆☆ Publishing your own web server in the class network · 3 goals · class network · Worksheet (German)
  • ★★★☆☆ Visit the neighbour's web page · 2 goals · class network · Worksheet (German)
  • ★★★★☆ VPN to the partner site · 2 goals · class network · Worksheet (German)
  • ★★★★☆ Troubleshooting a federation site · 9 goals · class network · Worksheet (German)
  • ★★★★☆ Site under fire · 4 goals · class network · Worksheet (German)

In leyoNET under Tools → Exercise catalogue. Every exercise checks itself.

Read on

Found a mistake or have an idea? Source of this page on GitHub.