0% found this document useful (0 votes)
31 views9 pages

Overview of the OSI Model Layers

The document describes the OSI model, which is a standard reference model for how information is transferred between applications running on different computers. It consists of 7 layers, with each layer performing a specific function. The physical layer deals with physical transmission of bits, the data link layer handles framing and error checking, the network layer handles addressing and routing, the transport layer handles segmentation and reliability, and the upper layers focus on establishing and managing communication sessions and data representation.

Uploaded by

roysayanccp05
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views9 pages

Overview of the OSI Model Layers

The document describes the OSI model, which is a standard reference model for how information is transferred between applications running on different computers. It consists of 7 layers, with each layer performing a specific function. The physical layer deals with physical transmission of bits, the data link layer handles framing and error checking, the network layer handles addressing and routing, the transport layer handles segmentation and reliability, and the upper layers focus on establishing and managing communication sessions and data representation.

Uploaded by

roysayanccp05
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

OSI model & function of each Layer:

 OSI stands for Open System Interconnection is a reference model that describes
how information from a software application in one computer moves through a
physical medium to the software application in another computer.
 OSI consists of seven layers, and each layer performs a particular network function.
 OSI model was developed by the International Organization for Standardization (ISO)
in 1984, and it is now considered as an architectural model for the inter-computer
communications.
 OSI model divides the whole task into seven smaller and manageable tasks. Each
layer is assigned a particular task.
 Each layer is self-contained, so that task assigned to each layer can be performed
independently.

Characteristics of OSI Model:

 The OSI model is divided into two layers: upper layers and lower layers.
 The upper layer of the OSI model mainly deals with the application related issues, and
they are implemented only in the software. The application layer is closest to the end
user. Both the end user and the application layer interact with the software
applications. An upper layer refers to the layer just above another layer.
 The lower layer of the OSI model deals with the data transport issues. The data link
layer and the physical layer are implemented in hardware and software. The physical
layer is the lowest layer of the OSI model and is closest to the physical medium. The
physical layer is mainly responsible for placing the information on the physical
medium.

7 Layers of OSI Model


There are the seven OSI layers. Each layer has different functions. A list of seven layers are
given below:
1. Physical Layer
2. Data-Link Layer
3. Network Layer
4. Transport Layer
5. Session Layer
6. Presentation Layer
7. Application Layer

1) Physical layer

 The main functionality of the physical layer is to transmit the individual bits from one
node to another node.
 It is the lowest layer of the OSI model.
 It establishes, maintains and deactivates the physical connection.
 It specifies the mechanical, electrical and procedural network interface specifications.

Functions of a Physical layer:


 Line Configuration: It defines the way how two or more devices can be connected
physically.
 Data Transmission: It defines the transmission mode whether it is simplex, half-
duplex or full-duplex mode between the two devices on the network.
 Topology: It defines the way how network devices are arranged.
 Signals: It determines the type of the signal used for transmitting the information.

2) Data-Link Layer

 This layer is responsible for the error-free transfer of data frames.


 It defines the format of the data on the network.
 It provides a reliable and efficient communication between two or more devices.
 It is mainly responsible for the unique identification of each device that resides on a
local network.
 It contains two sub-layers:
o Logical Link Control Layer
 It is responsible for transferring the packets to the Network layer of the
receiver that is receiving.
 It identifies the address of the network layer protocol from the header.
 It also provides flow control.
o Media Access Control Layer
 A Media access control layer is a link between the Logical Link Control layer
and the network's physical layer.
 It is used for transferring the packets over the network.

Functions of the Data-link layer


 Framing: The data link layer translates the physical's raw bit stream into packets known
as Frames. The Data link layer adds the header and trailer to the frame. The header which
is added to the frame contains the hardware destination and source address.
 Physical Addressing: The Data link layer adds a header to the frame that contains a
destination address. The frame is transmitted to the destination address mentioned in the
header.
 Flow Control: Flow control is the main functionality of the Data-link layer. It is the
technique through which the constant data rate is maintained on both the sides so that no
data get corrupted. It ensures that the transmitting station such as a server with higher
processing speed does not exceed the receiving station, with lower processing speed.
 Error Control: Error control is achieved by adding a calculated value CRC (Cyclic
Redundancy Check) that is placed to the Data link layer's trailer which is added to the
message frame before it is sent to the physical layer. If any error seems to occurr, then the
receiver sends the acknowledgment for the retransmission of the corrupted frames.
 Access Control: When two or more devices are connected to the same communication
channel, then the data link layer protocols are used to determine which device has control
over the link at a given time.

3) Network Layer

 conditions, the priority of service, and other factors.


 The Data link layer is responsible for routing and forwarding the packets.
 Routers are the layer 3 devices, they are specified in this layer and used to provide the
routing services within an internetwork.
 The protocols used to route the network traffic are known as Network layer protocols.
Examples of protocols are IP and Ipv6.
Functions of Network Layer:
 Internetworking: An internetworking is the main responsibility of the network layer. It
provides a logical connection between different devices.
 Addressing: A Network layer adds the source and destination address to the header of the
frame. Addressing is used to identify the device on the internet.
 Routing: Routing is the major component of the network layer, and it determines the best
optimal path out of the multiple paths from source to the destination.
 Packetizing: A Network Layer receives the packets from the upper layer and converts
them into packets. This process is known as Packetizing. It is achieved by internet
protocol (IP).

4) Transport Layer

 The Transport layer is a Layer 4 ensures that messages are transmitted in the order in
which they are sent and there is no duplication of data.
 The main responsibility of the transport layer is to transfer the data completely.
 It receives the data from the upper layer and converts them into smaller units known as
segments.
 This layer can be termed as an end-to-end layer as it provides a point-to-point connection
between source and destination to deliver the data reliably.
The two protocols used in this layer are:
 Transmission Control Protocol
o It is a standard protocol that allows the systems to communicate over the internet.
o It establishes and maintains a connection between hosts.
o When data is sent over the TCP connection, then the TCP protocol divides the data
into smaller units known as segments. Each segment travels over the internet using
multiple routes, and they arrive in different orders at the destination. The transmission
control protocol reorders the packets in the correct order at the receiving end.
 User Datagram Protocol
o User Datagram Protocol is a transport layer protocol.
o It is an unreliable transport protocol as in this case receiver does not send any
acknowledgment when the packet is received, the sender does not wait for any
acknowledgment. Therefore, this makes a protocol unreliable.
Functions of Transport Layer:
o Service-point addressing: Computers run several programs simultaneously due to
this reason, the transmission of data from source to the destination not only from one
computer to another computer but also from one process to another process. The
transport layer adds the header that contains the address known as a service-point
address or port address. The responsibility of the network layer is to transmit the data
from one computer to another computer and the responsibility of the transport layer is
to transmit the message to the correct process.
o Segmentation and reassembly: When the transport layer receives the message from
the upper layer, it divides the message into multiple segments, and each segment is
assigned with a sequence number that uniquely identifies each segment. When the
message has arrived at the destination, then the transport layer reassembles the
message based on their sequence numbers.
o Connection control: Transport layer provides two services Connection-oriented
service and connectionless service. A connectionless service treats each segment as an
individual packet, and they all travel in different routes to reach the destination. A
connection-oriented service makes a connection with the transport layer at the
destination machine before delivering the packets. In connection-oriented service, all
the packets travel in the single route.
o Flow control: The transport layer also responsible for flow control but it is performed
end-to-end rather than across a single link.
o Error control: The transport layer is also responsible for Error control. Error control
is performed end-to-end rather than across the single link. The sender transport layer
ensures that message reach at the destination without any error.

5) Session Layer

o It is a layer 3 in the OSI model.


o The Session layer is used to establish, maintain and synchronizes the interaction
between communicating devices.
Functions of Session layer:
o Dialog control: Session layer acts as a dialog controller that creates a dialog between
two processes or we can say that it allows the communication between two processes
which can be either half-duplex or full-duplex.
o Synchronization: Session layer adds some checkpoints when transmitting the data in
a sequence. If some error occurs in the middle of the transmission of data, then the
transmission will take place again from the checkpoint. This process is known as
Synchronization and recovery.

6) Presentation Layer

o A Presentation layer is mainly concerned with the syntax and semantics of the
information exchanged between the two systems.
o It acts as a data translator for a network.
o This layer is a part of the operating system that converts the data from one
presentation format to another format.
o The Presentation layer is also known as the syntax layer.

Functions of Presentation layer:


o Translation: The processes in two systems exchange the information in the form of
character strings, numbers and so on. Different computers use different encoding
methods, the presentation layer handles the interoperability between the different
encoding methods. It converts the data from sender-dependent format into a common
format and changes the common format into receiver-dependent format at the
receiving end.
o Encryption: Encryption is needed to maintain privacy. Encryption is a process of
converting the sender-transmitted information into another form and sends the
resulting message over the network.
o Compression: Data compression is a process of compressing the data, i.e., it reduces
the number of bits to be transmitted. Data compression is very important in
multimedia such as text, audio, video.
7) Application Layer

o An application layer serves as a window for users and application processes to access
network service.
o It handles issues such as network transparency, resource allocation, etc.
o An application layer is not an application, but it performs the application layer
functions.
o This layer provides the network services to the end-users.

Functions of Application layer:


o File transfer, access, and management (FTAM): An application layer allows a user
to access the files in a remote computer, to retrieve the files from a computer and to
manage the files in a remote computer.
o Mail services: An application layer provides the facility for email forwarding and
storage.
o Directory services: An application provides the distributed database sources and is
used to provide that global information about various objects.

OSI Model in a Nutshell

Layer Layer Name Responsibility Information Device


No Form (Data
Unit)
7 Application Helps in identifying the Message –
Layer client and synchronizing
communication.
6 Presentation Data from the application Message –
Layer layer is extracted and
manipulated in the
required format for
transmission.
5 Session Establishes Connection, Message Gateway
Layer Maintenance, Ensures
Authentication, and
Ensures security.
4 Transport Take Service from Segment Firewall
Layer Network Layer and
provide it to the
Application Layer.
3 Network Transmission of data from Packet Router
Layer one host to another,
located in different
networks.
2 Data Link Node to Node Delivery of Frame Switch, Bridge
Layer Message.
1 Physical Establishing Physical Bits Hub, Repeater,
Layer Connections between Modem, Cables
Devices.

Common questions

Powered by AI

Error control ensures data transmission reliability across both the Data Link and Transport Layers, but their approaches differ. The Data Link Layer maintains error control at a node-to-node level by adding CRC codes to frames, detecting errors, and enabling retransmissions of corrupted frames . This local error handling is limited to the same network segment and relies on immediate acknowledgments (or lack thereof) to detect transmission loss or corruption. Conversely, the Transport Layer performs end-to-end error control by utilizing mechanisms such as segment sequencing and acknowledgment processes over long distances and across different networks . This comprehensive approach ensures that data is delivered accurately and completely from the source application to the receiving application.

The Transport Layer and the Data Link Layer both have responsibilities for data transmission but concentrate on different aspects and scopes. The Transport Layer ensures data reliability by handling segmentation and reassembly, maintaining proper sequencing of data segments, and managing flow control and error control on an end-to-end basis. This layer uses protocols like TCP to ensure data is accurately delivered across the network from source to destination . In contrast, the Data Link Layer deals with node-to-node data transfer, framing packets for transmission, ensuring error detection via CRC, and performing physical addressing and access control at a much more local level on the same network .

Flow control in the Data Link Layer is concerned with regulating data flow to prevent congestion between nodes on the same network. It ensures that the data rate is consistent and that faster sending devices do not overwhelm slower receiving devices by implementing techniques like buffering or windowing at the frame level . In contrast, the Transport Layer manages flow control across the entire network path from source to destination, dealing with segments. It ensures end-to-end data integrity and sufficient buffer time for processing different network path speeds and capacities, often using more sophisticated error-correction and sequencing methods, such as those provided by TCP . This difference highlights the more localized focus of the Data Link Layer versus the broader, more comprehensive scope of the Transport Layer's flow control.

Segmentation and reassembly in the Transport Layer enhance efficient management of large data transmissions by breaking down extensive data streams into smaller, manageable chunks called segments. Each segment is then individually routed and transmitted across the network in the most efficient way possible . On reaching the destination, these segments are reassembled back into the original complete message using their sequence numbers, ensuring accurate and ordered data delivery . This process reduces network congestion, enables error management per segment, and facilitates the utilization of available bandwidth, resulting in smoother and more efficient handling of data transmissions across diverse networks.

The Network Layer employs several mechanisms to ensure optimal routing of data across an internetwork, including addressing, routing, and packetizing. Addressing mechanisms identify source and destination addresses to facilitate accurate data delivery . The Network Layer also determines the best path for data using routing algorithms considering factors like shortest path, network traffic conditions, and service priorities . Packetizing involves encapsulating packets with necessary network information to assist in their direction across appropriate network paths, ensuring efficient delivery from source to destination.

The Application Layer simplifies interactions between user applications and network services by providing an interface for access to network functionalities. It facilitates end-user services such as email, file transfer, and directory services while handling issues like network transparency and resource allocation . By acting as a platform where applications can seamlessly request network services, the Application Layer eliminates the need for end-users to manage the complexities of the underlying network processes, making network services more accessible and easier to use.

The OSI model enhances interoperability between different computer systems primarily through the functions provided by the Presentation Layer, which is responsible for data translation, encryption, and compression. The Presentation Layer acts as a data translator for the network by ensuring interoperability between different encoding methods used by various computers. It converts data from a sender-dependent format into a common format and then into a receiver-dependent format, thus facilitating seamless communication between different systems .

The Physical Layer's functions are fundamental to the operation of the entire OSI model because it handles the transmission of raw bit streams over a physical medium, which is the foundational activity for any network communication. It is charged with defining electrical, mechanical, and procedural specifications, including line configuration, network topology, signal types, and transmission modes (simplex, half-duplex, full-duplex). Without a reliable physical connection and accurate signal transmission/detection, none of the higher layer processes functioning within the OSI model could consistently or effectively take place. Thus, the Physical Layer's role is vital, providing the necessary groundwork upon which all further data encapsulation and communication processes rely.

The Presentation Layer is significant in securing data exchange due to its encryption function, which ensures data privacy during transmission. It transforms data into a format that is not easily readable by unauthorized parties by encoding sender-transmitted information into ciphered data before transmission and decoding it back to readable format at the receiving end . This security measure is crucial for protecting sensitive information as it travels across potentially insecure networks, thus preventing data breaches and ensuring the confidentiality of communications.

The Session Layer contributes to communication efficiency and reliability by establishing, maintaining, and synchronizing sessions between devices. It acts as a dialog controller allowing data exchange in half-duplex or full-duplex modes and incorporates synchronization points. These checkpoints enable recovery from errors by allowing retransmission from specific points if an error occurs during data transmission . Thus, it optimizes communication by managing sessions and ensuring that communications can resume smoothly after interruptions.

You might also like