Wiki DE Start in the browser

Wiki › Crash course for teachers

Documenting networks

Areas with network and VLAN, notes, racks, floors, snapshots and reference prices: how a network plan is created that can also be handed in.

See an example
See demo

Why documentation belongs to it

A network nobody understands cannot be operated. In leyoNET, documentation is part of the network: areas, colours and descriptions are stored in the same file as the configuration and can be assessed in exercises and exams.

The tools

  • Areas: coloured surfaces with title, network address (leyoNET computes mask, host range and broadcast), VLAN and note. An area with a VLAN colours the switch ports of that VLAN.
  • Notes: text boxes with title, paragraphs, lists and bold, e.g. for a VLAN plan.
  • Racks: 19-inch cabinets on the canvas. Drag devices into them and they are stacked as rack units. View → Rack view (key R) shows all racks with front panels, link LEDs, colour tags and patch cables.
  • Ports: every interface has a colour and a description (“Uplink core”), like the labels in a real rack.
  • Floors: devices and areas lie on floors; Wi-Fi signals get weaker across floors.
  • Snapshots: named intermediate states, automatically before every start of the simulation.
  • Export: File → “Export network documentation (CSV)” gives the address plan and the links as a table, “Export configuration as text” the configuration of all routers, switches and firewalls.
  • Costs: reference prices for all devices and cables, total in CHF; exercises can require a budget.

A good example

The showcase shows a fully documented data centre network: an area with its network per site, racks by layer (core, distribution, access), ports in the VLAN colours, turquoise for trunks and a VLAN plan as a note. This is exactly how learners should hand in their own networks.

How to do it in leyoNET

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

Areas

Areas document the network: subnets, VLANs, rooms, zones and public networks. Draw with B or drag from the shop. A VLAN area takes the VLAN's colour. Dragging moves only the area; devices inside come along if they are selected too. Select several areas and devices with a frame (Select, move, copy).

Text box: in the shop under Areas → Text box there is a box for free text: info, assignment, legend. Blank line = new paragraph, «- » = list, bold, command; IP addresses are highlighted. The text shows right on the canvas, the bottom right corner enlarges the box.

Racks

Switches, routers, rack servers and modems can be mounted in a rack. R shows the front view with all ports; in Design you can re-plug there directly. Patch cables between devices in the same rack are drawn as coloured cables across the front; cables to devices outside are listed below the ports. Hovering a port highlights its cable. On the canvas, mounted devices carry a label with their name; cables between them run as patch cables along the right side of the rack, with port and LED at the outlet.

Floors

Large networks can be spread over floors. Cables between floors appear as risers.

Snapshots

A snapshot records a checkpoint. One is created automatically when the simulation starts and every five minutes while things change. Any snapshot can be restored in Design (undo with Ctrl+Z). Snapshots are saved with the project.

Costs

Every device, cable and module has a typical price. View → Costs shows the list and total in CHF, EUR or USD. Tasks can require a budget, which is handy for practising quotes.

Prices are indicative and exclude VAT.

Export network documentation and configuration

File → Export network documentation (CSV) saves two tables for Excel or LibreOffice: the address plan (per port: device, IP address, mask, network, gateway, DNS server, MAC address and VLAN) and the links (which port is connected to which, with the medium).

File → Export configuration as text saves the configuration of all routers, switches and firewalls in one text file, as “show running-config” shows it. This is useful as an appendix to the documentation and for comparing two versions.

Both files are created in the browser from the current network. See also Areas and Command line.

See an example

  • Demo “Company network: data centres and office” in leyoNETDemo “Company network: data centres and office” in leyoNET
    Company network: data centres and office

    The leyoNET showcase: three data centres and an office, connected via IPsec. Zurich is built in three tiers (core, distribution, access), Bern with combined core and distribution, Basel as a collapsed core; everything redundant with port channels (LACP) and Rapid Spanning Tree, mounted in racks with VLAN colours. The Lucerne office is connected via mobile broadband and shows everyday use: firewall with zones, PoE switch, IP phones on the PBX in Zurich (QoS), camera, WLAN and DHCP. Central services: DNS, PBX, syslog and a load balancer in front of two web servers in Zurich, mail in Bern.

    In a loop: Zurich pings Bern through the tunnel, phone 401 calls 402 (via the PBX in Zurich), monitoring opens the web page in Basel, PC Anna and PC Ben open web.zuerich (the load balancer spreads them over two web servers), a notebook on the WLAN pings the mail server, Anna sends Ben an e-mail, Bern queries DNS, Basel pings monitoring.

    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

  • ★★☆☆☆ Document VLANs · 2 goals · Worksheet (German)
  • ★☆☆☆☆ Office on a budget · 3 goals · 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.