Network Protocol and OSI Model
Network Protocol and OSI Model
Theory Notes
What is a protocol?
Network protocols are sets of established rules that dictate how to format, transmit and receive
data so computer network devices, from servers and routers to endpoints, can communicate
regardless of the differences in their underlying infrastructures, designs or standards.
To successfully send and receive information, devices on both sides of a communication exchange
must accept and follow protocol conventions. Support for network protocols can be built into
software, hardware or both.
Network protocols break larger processes into discrete, narrowly defined functions and tasks
across every level of the network. In the standard model, known as the Open Systems
Interconnection (OSI) model, one or more network protocols govern activities at each layer in
the telecommunication exchange.
OSI model
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.
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.
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.
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.
3. Network layer
It is a layer 3 that manages device addressing, tracks the location of devices on the network.
It determines the best path to move data from source to the destination based on the
network 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.
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.
5. Session layer
6. Presentation layer
A Presentation layer is mainly concerned with the syntax and semantics of the information
exchanged between the two systems.
It acts as a data translator for a network.
This layer is a part of the operating system that converts the data from one presentation
format to another format.
The Presentation layer is also known as the syntax layer.
7. Application layer
An application layer serves as a window for users and application processes to access network
service.
It handles issues such as network transparency, resource allocation, etc.
An application layer is not an application, but it performs the application layer functions.
This layer provides the network services to the end-users.