OSI model

OSI model

Learning objective:

12.6.1.2 describe the functions of the OSI network model levels


Description

OSI stands for Open Systems Interconnection


1. Physical Layer

Key words: bits, cable, Ethernet, Wi-Fi, Bluetooth, hub

The lowest layer of the OSI model is the physical layer. He is responsible for the physical connection between devices. The physical layer is responsible for the transfer of individual bits from one node to another.

Physical layer functions:

  • Data rate control.
  • Defines the network topology (bus, star, etc.).
  • Defines the data transmission mode (simplex, half duplex and full duplex).

2. Data Link Layer

Key words: frame, MAC address, switch

The Data Link layer is responsible for delivering a message from node to node. 

To deliver packets, the physical address of the device on the network is used - MAC address.

Data Link layer functions:

  • Framing allows the sender to transmit a set of bits that are meaningful to the receiver. This can be achieved by attaching special bit patterns to the start and end of the frame.
  • Physical addressing is performed by containing in the header of each frame the physical address (MAC address) of the sender and recipient.
  • An error control mechanism that detects and retransmits corrupted or lost frames.

3. Network Layer

Key words: packet, IP address, router

A segment of the network layer is called a packet.

The network layer is implemented by network devices such as routers.

The network layer works to transfer data from one host to another located on different networks. It also takes care of packet routing, i.e. about choosing the shortest path for transmitting a packet from among the available routes. For packet routing, the source and destination IP addresses are placed in the header of each packet.

Network layer functions:

  • Routing determines which route is suitable from source to destination using network layer protocols.
  • Logical addressing identifies each device on the internetwork with an IP address. This address makes each device unique and versatile.

4. Transport Layer

Key words: segment, TCP, UDP, port

The transport layer is called "the heart" of the OSI model.

The data in the transport layer are called segments.

The transport layer is controlled by the operating system. It is part of the OS and interacts with the application layer.

The transport layer receives data from the upper layers, performs segmentation, and controls flow and errors to ensure correct data transfer. It also adds the source and destination port number to its header and forwards the shared data to the network layer.

The port number is usually specified by default, or manually.

The functions of the transport layer are :

  • Segmentation: This layer accepts the message from the (session) layer, and breaks the message into smaller units. Each of the segments produced has a header associated with it. The transport layer at the destination station reassembles the message.
  • Service Point Addressing: In order to deliver the message to the correct process, the transport layer header includes a type of address called service point address or port address. Thus by specifying this address, the transport layer makes sure that the message is delivered to the correct process.

5. Session Layer

Key words: data, session, authentication

This layer is responsible for establishing a connection, maintaining sessions, authenticating, and also providing security.

Session layer functions:

  • Session establishment, maintenance, and termination: The layer allows two processes to establish, use, and terminate a connection.
  • Dialogue controller: The session layer allows two systems to initiate communication with each other in half-duplex or full-duplex mode.

6. Presentation Layer

Key words: data, translation, encryption, compression, types of files (mp3, avi, docx, jpg, etc.)

At the Presentation layer, data is retrieved from the application layer and processed according to the required format for transmission over the network.

Presentation layer functions:

  • Translation: for example, from ASCII to EBCDIC.
  • Encryption / Decryption: Data encryption translates data into another form or code. The encrypted data is known as cipher text, and the decrypted data is known as plain text. The key value is used for both encryption and decryption of data.
  • Compression: Reduces the number of bits that need to be transmitted over the network.

7. Application Layer

Key words: data, applications (browser, Skype, etc.), DNS, HTTP, POP, SMTP

The application layer produces data that needs to be transmitted over the network. This layer also serves as the interface between the user and services to access the network.
Example: Application - What's Up, Browsers, Skype Messenger, etc.

Application layers functions are:

  • The application layer provides the end user with software such as web browsers, email clients, and others.
  • It provides protocols that allow software to send and receive information and present meaningful data to users.
  • The application layer uses HTTP/ FTP/ POP/ SMTP/ DNS protocols
  • This layer provides various e-mail services
  • This application offers distributed database sources and access to global information about various objects and services.


Benefits of using the OSI model:

  • It will help you standardize your router, switch, motherboard, and other hardware.
  • Reduces complexity and standardizes interfaces
  • Helps ensure technology interoperability, accelerates evolution
  • Protocols can be replaced with new protocols as technology changes.
  • This is the standard model in computer networks.
  • Offers flexibility to adapt to different types of protocols.

Drawbacks of using the OSI model:

  • It takes time to configure the protocols.
  • You can only use it as a reference model.
  • Does not define any specific protocol.
  • In the OSI network layer model, some services are duplicated at many layers, such as the transport and data link layers.
  • Layers cannot work in parallel, since each layer must wait for data to be received from the previous layer.

Additionally TCP/IP stack


Questions:

  1. Explain what the OSI model is.
  2. How many layers does the OSI model consist of?
  3. Name the order of layer for transmitting data/ receiving data.
  4. State software layers in the OSI model.
  5. State hardware layers in the OSI model.

Exercises:

Ex. 1 

Ex. 2 

Quiz "Computer Networks Acronyms - A Level"

Ex. 3 

Game Noughts & Crosses "Computer Networks"

Ex. 4 Identify elements of TCP/IP stack

https://www.101computing.net/wp/wp-content/uploads/tcp-ip-stack-drag-and-drop.html

Ex 5. Distribute descriptions across the layers of the OSI model 

Extra exercises:

Римма https://learningapps.org/display?v=ph3zkpya321
Алихан https://learningapps.org/display?v=pi77dtbd221
Сабина https://learningapps.org/display?v=pewxv6okk21
Султан https://learningapps.org/display?v=pxxxa2ca521
Темирлан https://learningapps.org/display?v=p7uaroqbn21
Аружан https://learningapps.org/display?v=pe7fwfqm521
Аружан https://learningapps.org/display?v=p282za1ea21
Еламан https://learningapps.org/display?v=pgxfd1uoa21
Милана https://learningapps.org/display?v=p0ttakv3n21
Жангир https://learningapps.org/display?v=pm0mkiuft21


Exam questions:

Question 1. Explain the OSI reference model with its layered architecture. (Marks: 4)
  • Answer. Provides a way to understand how internetwork operates(1)
    7 layers(1): Application Layer, Presentation Layer, Session Layer, Transport Layer, Network Layer, Data link Layer, Physical Layer(1)
    Takes the task of internetworking and divides that up into what is referred to as a vertical stack (1) of 7 Layers
Question 2. Which layer of the Open System Interconnection (OSI) model is also known as the network interface layer? (Marks: 1)
  • Answer. Data link (1)
Question 3. Identify the layer according to the description: "This layer establishes, manages and terminates connections between applications. It sets up, coordinates, and terminates conversations, exchanges, and dialogues between the applications at each end." (Marks: 1)
  • Answer. Session Layer (1)
Категория: Types of networks | Добавил: bzfar77 (22.02.2021)
Просмотров: 12053 | Комментарии: 2 | Теги: Presentation layer, Transport layer, Data link layer, Session layer, Physical layer, Application layer, Network layer, OSI model, IP, UDP, tcp, Protocol | Рейтинг: 5.0/4
Всего комментариев: 2
avatar
0
1 aiganym200325 • 11:40, 02.03.2022
Здравствуйте, можете добавить Exam questions?
avatar
0
2 bzfar77 • 13:33, 16.04.2022
Добавил
avatar