leyoNET Wiki
Networking for reference – with examples you can watch and try right away in the leyoNET network simulator. For learners from the first year of vocational training to university, with series for the Swiss ICT modules 117, 129 and 145 and a crash course for teachers.
Crash course for teachers
In short steps from the first network to exams and the class network.
- Crash course: ready in 30 minutesThe fastest way for teachers: what leyoNET is, how to start it and what to begin with in the first lesson.
- The first network in 10 minutesTwo PCs, a switch and a ping: shop, cabling, configuring and switching to the simulation.
- Understanding the simulation and the packet listWhat happens in the simulation, how to find packets, unpack them layer by layer and save them as a capture for Wireshark.
- Choosing feature profilesFive profiles from the first year of training to university, your own selection and a feature file for the whole class.
- Documenting networksAreas with network and VLAN, notes, racks, floors, snapshots and reference prices: how a network plan is created that can also be handed in.
- Exercises and worksheets in classThe exercise catalog with over 70 self-checking exercises, the worksheets that go with them and how to evaluate a whole class’s submissions.
- Creating your own tasksPut learning goals together in a form, let leyoNET suggest goals from a model solution and share the task as a file.
- Running examsExam file and key, variants per seat, exam mode, Safe Exam Browser, web version with seat codes and automatic evaluation.
- Web version: sessions, classes and watchingWork saved under a code, class sessions, watching work live, the admin console at /admin with statistics and two-factor sign-in.
- Class network in the classroomEvery group builds a site and connects it to your infrastructure; the dashboard on the projector shows live who is really online.
- Frequently asked questionsPrivacy, internet access, saving, devices in the classroom and what leyoNET deliberately cannot do.
Swiss ICT modules
The series for the Swiss ICT modules 117, 129 and 145: goals, theory and exercises in the right order.
- Module 117: IT and network infrastructureThe series for the Swiss ICT module 117 “IT and network infrastructure for a small company”: from the first switch via routers and transit networks to DHCP, DNS and a web server.
- Module 129: Putting LAN components into operationThe series for the Swiss ICT module 129: subnetting with VLSM, static routing with NAT and SSH, dynamic routing with RIP and OSPF, and protocol analysis with a packet list like in Wireshark.
- Module 145: Operating and extending a networkThe series for the Swiss ICT module 145: VLANs, trunks, router on a stick, layer 3 switch with ACL, DHCP with relay and network design with three-tier and collapsed core.
- IPv6 basic courseA course in seven units: address structure, address types, ICMPv6, Neighbor Discovery and SLAAC, DHCPv6 with DNS, a lab and dual stack. With videos, theory and reflection questions on leyonet.ch.
Basics
Layer model, numbers and addresses, cabling, routing and network design: the foundation for everything else, based on the standards.
- OSI model and encapsulationSeven layers that describe every network connection, and why a packet is built like a Russian doll.
- TCP/IP modelFour layers according to RFC 1122 instead of seven according to ISO/IEC 7498-1: how the two models fit together and why the internet is built on the TCP/IP model.
- Structure of frames and packetsHow Ethernet frames, IPv4 and IPv6 packets, TCP segments and UDP datagrams nest inside each other, field by field according to the standards, with real bytes from leyoNET.
- Ethernet and MAC addressesHow frames are addressed in the local network, how a switch learns where to send them, and what happens when a MAC address appears twice.
- Collision and broadcast domain, duplexWho hears whom? Collision domain and broadcast domain, hub, switch and router compared, CSMA/CD, half and full duplex and autonegotiation.
- Number systems and addressesConverting and reading binary, decimal and hexadecimal, and how MAC addresses, IPv4 and IPv6 addresses are written according to the standards.
- Subnetting and VLSMSplit a network into smaller ones, read masks and prefixes, compute host range and broadcast – evenly or as needed.
- Special address rangesPrivate networks, loopback, link-local, CGNAT and documentation addresses: which IPv4 and IPv6 ranges are reserved and what for, according to RFC 6890.
- How routing worksDefault gateway, routing table, longest prefix and administrative distance – and when to route statically, automatically or dynamically.
- Route selection: prefix, distance and metricWhich route wins? Longest prefix, administrative distance and metric in the right order, with the metrics of RIP, OSPF and BGP.
- Ports and servicesHow ports distinguish programs on a device, which ranges exist according to RFC 6335 and which port numbers you should know.
- Network design: core, distribution, accessWhy large networks are built in layers, when a collapsed core is enough and what a data centre with leaf-spine looks like.
- Cables, fibre and radioTwisted pair, fibre with SFP modules, coax, telephone line, radio and serial – which medium for what and how to recognise it in leyoNET.
- Structured cablingCategories and classes of twisted pair cables, the 100-metre rule, fibre types and the structure of building cabling according to ISO/IEC 11801.
- Power over EthernetPower over the twisted-pair cable according to IEEE 802.3: types 1 to 4, classes 0 to 8, the switch's budget and what happens when it is not enough.
- Data rate, throughput and delayBits and bytes, kilo and kibi, why 1 Gbit/s never gives 125 MB/s of payload and what makes up the delay of a packet.
- Troubleshooting: method and toolsSystematic instead of guessing: bottom-up through the layers, the most important commands on PC and router, and typical symptoms with their cause.
- IT security: attacks and defenceSort threats with STRIDE and recognise and fend off typical attacks in the simulation: ARP spoofing, rogue DHCP server, SYN flood, port scan, guessing passwords; proof with syslog.
Devices
Every device from the shop: what it is for, what it can do and how to set it up in leyoNET.
- PC and notebookEnd devices with a desktop: command line, web browser, e-mail and network settings – static or via DHCP.
- ServerThe device for services: DHCP, DNS, web server and mail server, also as a rack server in the data centre.
- IP phoneDesk phone for voice over IP, powered via PoE (class 2), with a static address or via DHCP.
- IP cameraSurveillance camera on the network, powered via PoE: dome camera class 3, pan/tilt camera with heater class 4.
- Client groupOne symbol for many identical computers, e.g. a whole classroom – handy for practising DHCP ranges and network sizes.
- SwitchConnects devices in the same network, learns MAC addresses, separates networks with VLANs and prevents loops with spanning tree.
- Layer 3 switchA switch that also routes: VLAN interfaces (SVIs) as gateways, routing between VLANs, DHCP relay, OSPF and VXLAN.
- RouterConnects networks: routing table, default gateway, NAT, DHCP relay, dynamic routing, VPN and command line.
- FirewallA dedicated device that filters out of the box: zones WAN, LAN, DMZ and OPT, stateful rules and protection of the firewall itself.
- Access pointSets up a Wi-Fi network: SSID, band, channel and WPA2 password, several access points for roaming and mesh across floors.
- ModemHandles the access line: cable (DOCSIS), fibre (GPON), VDSL, ADSL or mobile – routing happens behind it.
- Home router (CPE)The provider’s device for the home: modem, router with NAT, DHCP server and small switch in one box.
- Internet (provider)Stands for the provider and the rest of the internet: public addresses, routing between customers, DNS, CGNAT and DS-Lite.
Protocols
Every protocol with its sequence, packet structure, an example to watch and the standard.
Layer 1 – Physical
- Wi-FiWireless networks according to 802.11: SSID, joining with authentication, association and 4-way handshake, signal strength, roaming and mesh.
- Access technologies: DOCSIS, GPON, DSL and LTEHow a connection to the provider is set up – over coax, fibre, telephone line or mobile – and what the modem negotiates.
Layer 2 – Data link
- ARPHow a device finds the MAC address for an IP address in its own network – with a broadcast request, a reply and a cache.
- VLANs and trunksOne switch, several separate networks: access ports, trunks with 802.1Q tag, native VLAN and routing between VLANs.
- Spanning tree (STP)Redundant cables without a broadcast storm: root bridge, port roles, blocked ports and what happens without STP.
- Rapid Spanning Tree (RSTP)The fast variant of STP: proposal and agreement instead of waiting, a prepared backup port and failover in milliseconds.
- Port channel and LACPBundling several cables into one logical link: more bandwidth, resilience and no blocked port.
- Switch security: port security and DHCP snoopingFending off attacks inside your own LAN: MAC flooding, DHCP starvation and rogue DHCP servers, forged senders, and what the switch does about them.
- VXLANExtending VLANs across a routed network: Ethernet frames in UDP 4789, VNI instead of VLAN number, VTEPs on layer 3 switches.
- Serial lines: HDLC, PPP and PPPoEPoint-to-point links between routers without ARP, the encapsulation HDLC or PPP with LCP and IPCP, and PPPoE with DSL.
Layer 3 – Network
- Quality of Service (DiffServ, 802.1p)Prefer important traffic when a line is full: DSCP in the IP header, PCP in the VLAN tag, priority queues.
- IPv4Addresses, masks and the IPv4 header: how a packet finds its destination across many networks, with TTL, checksum and private addresses.
- ICMP, ping and tracerouteEcho request and reply, “destination unreachable” and “TTL expired”: how ping and traceroute work.
- IPv6128-bit addresses, prefixes, link-local, neighbor discovery instead of ARP and automatic addresses with SLAAC.
- Neighbor Discovery (NDP) and SLAACHow IPv6 devices find neighbours and routers without ARP and without broadcast: the five NDP messages, solicited-node multicast, duplicate address detection and SLAAC.
- NAT and PATBringing private networks to the internet: port address translation (PAT), port forwarding, static SNAT and DNAT, 1:1 NAT and CGNAT at the provider.
- DS-LiteIPv4 through a provider’s IPv6-only network: the home router tunnels, the AFTR translates with CGNAT.
- Static routingEntering routes by hand: destination network, mask and next hop, default route, outbound and return path and the most common mistakes.
- OSPFLink-state routing: neighbours via hello, a database of all links, shortest paths by Dijkstra – for IPv4 (OSPFv2) and IPv6 (OSPFv3).
- ECMP (equal-cost paths)If several paths with the same cost lead to the destination, the router uses all of them. It does not spread each packet but each flow.
- VRFSeveral separate routing tables on one router: two customers with the same addresses over the same device without seeing each other.
- VRRP (redundant gateway)Two routers share a virtual gateway address. If the master fails, the backup takes over, and the computers notice nothing.
- Firewall rules (packet filter)Rules from top to bottom, default rule, stateful or stateless – how a router or firewall decides what may pass.
- Access control lists (ACL)Named lists with permit and deny on a switch port or VLAN interface: stateless, first match applies, implicit deny at the end.
- IPsec VPNConnecting two sites securely over the internet: IKEv2 negotiates the tunnel, ESP wraps the packets.
Layer 4 – Transport
- TCPReliable connections between programs: ports, three-way handshake, sequence and acknowledgement numbers, retransmission and teardown.
- UDPThe fast, connectionless transport for DNS, DHCP and RIP: no handshake, no acknowledgement, just ports and a checksum.
- Load balancerA load balancer spreads the clients' connections over several identical servers and takes failed ones out of the game.
Layer 7 – Application
- DHCPHanding out addresses automatically: discover, offer, request, ack, lease time, fixed assignments and DHCP relay across routers.
- DHCPv6IPv6 addresses from a server: solicit, advertise, request, reply – when to use DHCPv6 instead of SLAAC.
- DNSTranslating names into addresses: zones, records (A, AAAA, CNAME, MX, PTR …), forwarding, cache and nslookup.
- HTTPHow the browser fetches a web page: URL, DNS, TCP connection, GET request, status code and response – byte by byte.
- E-mail: SMTP, POP3 and IMAPHow a mail travels from the sender via mail servers and MX records into the mailbox, and how it is fetched.
- SSHManaging routers and switches remotely: user, password and management network, instead of standing next to them with a console cable.
- Telephony over IP (SIP and RTP)How an IP phone sets up a call (SIP, SDP), carries the voice (RTP with G.711) and how quality is measured (loss, delay, jitter).
- RIP and RIPngDistance vector routing: routers tell their neighbours which networks they reach in how many hops – simple, but with limits.
- BGPRouting between providers and organisations: autonomous systems, neighbours over TCP 179, announced networks and the AS path.
- SyslogDevices report events to a central syslog server: format following RFC 5424, transport over UDP 514. This makes it possible to prove later what happened when and where.