Basics
2024-10-21
Which concept had the biggest impact on the success of the Internet?
The concept of Freedom and Openness
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
Please go to the survey at
https://fra-uas.particifyapp.net/p/36002022
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.,
Can you think of different examples for computer networks?
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}}\]
Distance: Length of the network connection
Speed of light: \(299,792,458\) m/s
Velocity factor: Vacuum = 1, twisted pair cables = 0.6, optical fiber = 0.67, coaxial cables = 0.77
\[\mbox{Transmission delay} = \frac{\mbox{Message size}}{\mbox{Bandwidth}}\]
Transmission delay = 0, if the message consists only of a single bit
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?
Source: Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011
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:
Let’s go again to the survey at
https://fra-uas.particifyapp.net/p/36002022
You should now be able to answer the following questions:
Computer Networks - Basics - WS 24/25