Basics
2023-10-20
Graphic by courtesy of Prof. Dr. Roland Kaiser, Hochschule RheinMain
1972: First public demo (remote login)
using the Network Control Protocol (NCP)
main use: terminal sessions, file transfer, Electronic Mail
1974: Basics of TCP/IP written on paper by Cerf/Kahn (IP=Internet Protocol, TCP=Transmission Control Protocol), standardization in the following years
1982: Transition towards IP version 4 (IPv4)
from 1983:: Dissemination of TCP/IP due to Berkeley UNIX 4.2 BSD, source code publicly available
Amount of AS (Autonomous Systems, admin. routing domain)
Doubling every five years (currently, more than 100,000)
Stable core
Major growth at the fringe
Traffic rate
Users
2021: two third of the world population is “online”
More than doubled during the last ten years
Strongest growth outside the EU, Japan, and USA
Please go to the survey at
https://pingo.coactum.de/137261
The general task of a computer network is to enable communication among the participants.
What do we need for a computer network?
A network service provides resources to other devices in the network
Distinguished by their role:
Provides a network service
Uses (consumes) a network service
If each communication partner is server and client both,
the participants are called peers
(\(\Longrightarrow\) Peer-to-Peer networks)
Different transmission media exists to setup a computer network.
A protocol is the set of all previously made agreements between communication partners, e.g.,
One-to-one communication, i.e., one host sends information to exactly one other host
One-to-all communication, i.e., one host sends information to all other hosts in the network
Group communication, i.e., one host sends information to all hosts in a given group
One-to-any communication, i.e., one hosts sends information to one host in a given group
Network services may operate connection-oriented or connectionless.
the service operates stateful
the service operates stateless
Given a communication channel with two (or more) endpoints:
Main factors, influencing the performance of a computer network:
The latency of a network is the time, a message needs to travel from one end of the network to the most distant end
Latency = Propagation delay + Transmission delay + Waiting time
\[\mbox{Propagation delay} = \frac{\mbox{Distance}}{\mbox{Speed of light}*\mbox{Velocity factor}}\]
\[\mbox{Transmission delay} = \frac{\mbox{Message size}}{\mbox{Bandwidth}}\]
Transmission delay = 0, if the message consists only of a single bit
Waiting times are caused by network devices (e.g., Switches)
They need to cache received data first before forwarding it
Waiting time = 0, if the network connection between sender and destination is just a single line or a single channel
Source: Larry L. Peterson, Bruce S. Davie. Computernetzwerke. dpunkt (2008)
\[100,000,000\,\mbox{Bits/s} \times 0.01\,\mbox{s} = 1,000,000\,\mbox{Bits}\]
You need information about someone/something:
What do you do?
Which problems are to solve?
Which steps are necessary to realize an IT project?
Let’s go again to the survey at
https://pingo.coactum.de/137261
Graphic by courtesy of Prof. Dr. Thomas C. Schmidt, HAW Hamburg
Number | Layer | Protocols (Examples) |
4 | Application Layer | HTTP, FTP, SMTP, POP3, DNS, SSH, Telnet |
3 | Transport Layer | TCP, UDP |
2 | Internet Layer | IPv4, IPv6, IPX |
1 | Link Layer | Ethernet, WLAN, ATM, FDDI, PPP, Token Ring |
Described in RFC 1122 (TCP/IP)
Central concepts of the OSI model are:
Define what the layer does, i.e., its semantics
Define how to access it
Describe how the layer is implemented
Transmits the ones and zeros
Physical connection to the network
Conversion of data into signals
Protocol and transmission medium specify among others:
How is the information encoded on the transmission medium?
Can transmission take place simultaneously in both directions?
At sender site: Signals are modulated onto the medium
At receiver site: Signals are demodulated from the medium
Devices: Repeater, Hub (Multiport Repeater)
Ensures error-free data exchange of frames between devices in physical networks
Handles transmission errors with checksums
Controls the access to the transmission medium (e.g., via CSMA/CD or CSMA/CA)
Specifies physical network addresses (MAC addresses)
Forwards packets between logical networks (over physical networks)
For this internetworking, the network layer defines logical addresses (most commonly IP addresses)
Each IP packet is routed independently to its destination (\(\rightarrow\) connectionless)
At sender site: Packs the data of the Application Layer into segments
At receiver site: Unpacks the segments inside the packets from the network layer
Addresses processes with port numbers
Combination of TCP/IP = de facto standard for computer networks
Many network applications do not require a dedicated session layer protocol.
The functionality of the presentation layer is often implemented as part of the application layer.
Contains all protocols, that interact with the application programs (e.g., browser or email program)
Here is the actual payload (e.g., HTML pages or emails), formatted according to the used application protocol
Some Application Layer protocols: HTTP, FTP, SMTP, POP3, DNS, SSH, Telnet
wikipedia.org
(CC0)
pixabay.com
(CC0)
Examples: (original) Ethernet, CAN, I²C, SPI
Examples:
Examples:
Examples:
Examples:
Examples:
You should now be able to answer the following questions:
Computer Networks - Basics - WS23/24