OSI Model: Networking
OSI Model: Networking
OSI Model
OSI consists of seven layers, and each layer performs a particular network
function→
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:-
● Line Configuration: It defines the way how two or more devices can be
connected physically.
● Signals: It determines the type of the signal used for transmitting the
information.
2.Data-Link Layer:-
● The Data-link layer is the second layer from the bottom in the OSI (Open
System Interconnection) network architecture model. It is responsible for
the node-to-node delivery of data. Its major role is to ensure error-free
transmission of information and it defines the format of the data on the
network.
● 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
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 occur, then the receiver sends the
acknowledgement 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:-
● Network layer is the third layer in the OSI model of computer networks.
It’s main function is to transfer network packets from the source to the
destination. It is involved both at the source host and the destination host.
At the source, it accepts a packet from the transport layer, encapsulates it
in a datagram and then deliver the packet to the data link layer so that it
can further be sent to the receiver. At the destination, the datagram is
decapsulated, the packet is extracted and delivered to the corresponding
transport layer.
the header of the frame. Addressing is used to identify the device on the
internet.
determines the best optimal path out of the multiple paths from source to
the destination.
● Packetizing:The process of encapsulating the data received from upper
4.Transport Layer:-
the order in which they are sent and there is no duplication of data.
completely.
● It receives the data from the upper layer and converts them into smaller
○ When data is sent over the TCP connection, then the TCP protocol
5.Session Layer:-
● The Session Layer is the 5th layer in the Open System Interconnection
6.Presentation Layer:
(OSI) model. This layer is also known as Translation layer, as this layer
serves as a data translator for the network.
The data which this layer receives from the Application Layer is
extracted and manipulated here as per the required format to transmit
over the network.
The main responsibility of this layer is to provide or define
the data format and encryption.
The presentation layer is also called as Syntax layer since it is
responsible for maintaining the proper syntax of the data which it either
receives or transmits to other layer(s).
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.
7.Application Layer:-
● The Application Layer is topmost layer in the Open System
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.
addressing, flow control and error control are offered by multiple layers.