Osi Model
Osi Model
Physical Layer :
The physical layer is the bottom layer of the OSI model. It is responsible for creating
physical connections between devices. The physical layer store bits of information.
• Bit synchronization : The bit transmission layer provides a clock that allows bit
synchronization. This clock controls both the transmitter and receiver and
guarantees bit-level synchronization.
• Physical Topology: The physical layer defines the placement of devices /
nodes in the network. Bus, star, or mesh topology.
• Transmission mode: The physical layer also determines how data is
transmitted between the two connected devices. Simplex, half-duplex, and
full-duplex transmission modes are available.
The data link layer is responsible for the transfer of messages from node to node.
The main purpose of this layer is to ensure that there are no errors in sending data
from one node to another over the physical layer.
• Framing: The data link layer is responsible for framing. This allows the sender
to deliver a set of bits related to the recipient to the recipient. This can be
achieved by adding a unique bit pattern at the beginning and end of the
frame.
• Physical addressing: After the frames are created, the data link layer adds the
sender and / or receiver’s physical address (MAC address) to the header of
each frame.
• Error control: The data link layer implements error control by detecting broken
or lost frames and re-transmitting them
• Flow control: Because the data rate needs to be consistent on both sides, the
data gets corrupted, so flow control adjusts the amount of data that can be
sent before the acknowledgment.
• When many devices share a single communication channel, the MAC sub-
layer helps determine which device the data link layer controls the channel at
any given time.
Network Layer :
The network layer is responsible for data transmission between hosts on different
networks.
Transport layer :
The transport layer provides services to the application layer and at the same time
receives services from the network layer. A segment is a unit of data in the transport
layer.
• This layer receives a message from the (session) layer and divides it into
smaller pieces.
• The transport layer header provides the form of an address, called a service
point address or port address, for delivering messages to related processes.
Session layer :
This layer is usually part of an operating system (OS) and converts incoming and
outgoing data from one presentation format to another — for example, from clear
text to encrypted text at one end and back to clear text at the other.
Application Layer :
The application layer implemented by network applications is at the top of the stack
of layers in the OSI model.
• This layer also acts as a window for application services to connect to the
network and present the received information to the user.
• It is also responsible for file transfer access and file management.
• It is in charge of postal service.
• It is also responsible for directory services