Wiki DE Start in the browser

Wiki › Devices

Server

The device for services: DHCP, DNS, web server and mail server, also as a rack server in the data centre.

Layer
7 (Dienste)
See an example
2 demos

What for

A server provides services to other devices. In leyoNET every server can take on one or more of them; they are switched on under Advanced → Services:

Servicewhat it doesPage
DHCPhands out addresses, gateway and DNS serverDHCP
DNStranslates names into addresses (zone with A, AAAA, MX …)DNS
Webdelivers its own HTML pages and imagesHTTP
Mailmailboxes, sending and fetchingE-mail: SMTP, POP3 and IMAP

Variants

The shop offers the server as a tower and as a rack server. Rack servers can be mounted in a rack and appear as a rack unit in the rack view. Technically both are the same.

Static addresses

Servers usually have a static address so clients find them reliably (DNS records, gateway settings). The DHCP range must not contain this address, otherwise a client gets the same address: leyoNET marks duplicate addresses with a red exclamation mark.

How to do it in leyoNET

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

Server

A server provides services: DHCP, DNS, Web server and browser and E-mail. The shop offers it empty or preconfigured. The web server serves your own pages (index.html) plus a small image. The rack variant fits into a Racks.

Private and public addresses

  • Private (10/8, 172.16/12, 192.168/16): local only, to the Internet via NAT/PAT
  • CGNAT (100.64/10): assigned by the provider, who translates again (Carrier-grade NAT)
  • Public: globally unique

Press A to show all addresses in colour. A «Public network» area marks networks with public addresses, e.g. a DMZ.

See an example

  • Demo “DNS, TCP and HTTP” in leyoNETDemo “DNS, TCP and HTTP” in leyoNET
    Slow motion This is how it looks in the simulation: every dot is a frame on the cable.
    DNS, TCP and HTTP

    A notebook fetches a web page through a router.

    DNS query for www.schule.example, TCP handshake (SYN, SYN-ACK, ACK) and the HTTP request in the browser.

    Watch live Project file

  • Demo “Email: SMTP, POP3, IMAP” in leyoNETDemo “Email: SMTP, POP3, IMAP” in leyoNET
    Email: SMTP, POP3, IMAP

    Anna and Ben share a mail server.

    Anna sends via SMTP, Ben fetches the message via IMAP.

    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

  • ★★★☆☆ Open a web page via DNS · 3 goals · Worksheet (German)
  • ★★★★☆ UE02 network services: web server, DNS and fixed assignments · 19 goals · Worksheet (German)
  • ★★☆☆☆ A whole classroom · 2 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.