OSI Layers

  1. Physical layer, the actual cable or ether the information travels trough.
  2. The link layer. This contains two sublayers, the medium access control (MAC) layer and the logical link layer LLC. This handles node to node communications on the network. Can have error correction and defines flow control between the nodes.
    1. MAC layer - controls which nodes that are allowed to access the medium and which are allowed to transmit data.
    2. LLC layer - Identifies and encapsulates network layer protocols and error checks and synchronizes frames.
  3. The network layer connects different networks to each other and thus allows data transfer between nodes of different networks. This handles routing and can potential set a MTU (maximum transmission unit ).
  4. The transport layer provides the needed protocols for transferring large amounts of data and this is where UDP and TCP work. This layer is also responsible to segment data whose size exceeds the network layers MTU. ARP and many other protocols operate on this layer.
  5. The Session Layer describes a session between computers (>=2). Sessions are used when data is expected to be sent over a longer time span, examples are FTP and streaming. The layer is also responsible for gracefully end sessions.
  6. The presentation layer formats data to an correct format for other protocols and underlying layers, this layer also handles compression and encryption and their inverses.
  7. The Application Layer is the closest layer to end users as other programs which uses the Internet builds their programs on this layer, common protocols at this layer are HTTP, FTP, SMB/CIFS, TFTP and SMTP.

Link protocols

Some other important tasks delegated to link protocols are the ability to:

  1. Frame the incoming or the data for sending (Adding or removing flags between data-frames).
  2. Error detection, link protocols shall also be able to detect bit errors using redundant bits.
  3. Error Handling, the protocols should be able to handle detected bit errors.
  4. Flow control, should ensure that the sender gets frames in a correct rate and is not overran by frames.


OSI vs TCP/IP models

The OSI model has 7 different layers which covers more than TCP/IP.

TCP/IP do not cover layer 1 or 2 but can handle all layers above OSI 2. Layer 3 and 4 are have the same meaning in TCP/IP model while layer 5,6,7 in OSI are all collectively grouped into the application layer in TCP/IP.

Tenta 2022 Score: 0 Flashcards

Ange nät-id för IP-adressen

Lite datorkom flashcards Score: 0 Flashcards

Hur fungerar Bellman-Ford algoritmen?

Övningar 1 Score: 0 Flashcards

Hur Manchester kodar man 8 nollor?

Test Quiz
Score: 0 Passing Score: 3

Vad är 0x5a4b?

Edited: 21 december 2022
By ludde127