Osi Model: (Type The Document Subtitle)
Osi Model: (Type The Document Subtitle)
subtitle]
[Type the abstract of the document here. The abstract is typically a short
summary of the contents of the document. Type the abstract of the
document here. The abstract is typically a short summary of the contents of
the document.]
Introduction
The layered model that dominated data communications and networking literature before
1990 was the Open Systems Interconnection (OSI) model. Everyone believed that the OSI
model would become the ultimate standard for data communications, but this did not
happen. The TCP/IP protocol suite became the dominant commercial architecture because it
was used and tested extensively in the internet; the OSI model was never fully
implemented.
An open system is a set of protocols that allows any two different systems to communicate
regardless of their underlying architecture. The purpose of the OSI model is to show how to
facilitate communication between different systems without requiring changes to the logic
of the underlying hardware and software.
The OSI model is not a protocol; it is a model for understanding and designing a network
architecture that is flexible, robust, and interoperable.
The OSI model is a layered framework for the design of network systems that allows
communication between all types of computer systems. It consists of seven separate but
related layers, each of which defines a part of the process of moving information across a
network.
SEVEN LAYERS OF OSI MODEL
APPLICATION
PRESENTATIO
N
SESSION
TRANSPORT
NETWORK
DATALINK
PHYSICAL
LAYERED ARCHITECTURE
THE OSI model is composed of seven ordered layers; physical (layer1), data link (layer2),
network (layer3), transport (layer4), session (layer5), presentation (layer6), application
(layer7).
In developing the model, the designers distilled the process of transmitting data to its most
fundamental elements. They identified which networking functions had related uses and
collected those functions into discrete groups that became the layers. Each layer defines a
family of functions distinct from those of the other layers. By defining and localizing
functionality in this fashion, the designers created an architecture that is both
comprehensive and flexible. Most importantly, the OSI model allows complete
interoperability between otherwise incompatible systems.
Within a single machine, each layer calls upon the services of the layer just below it. Layer 3,
for example, uses the services provided by layer 2 and provides services for layer 4.
Between machines, layer x on one machine communicates with layer x on another machine.
This communication is governed by an agreed-upon series of rules and conventions called
protocols. The processes on each machine that communicate at a given layer are called
peer-to-peer processes. Communication between machines is therefore a peer-to-peer
process using the protocols appropriate to a given layer.
LAYERS IN THE OSI MODEL
1. Physical Layer: The physical layer coordinates the functions required to
carry a bit stream over a physical medium. It deals with mechanical and electrical
specifications of the interface and transmission medium. It also defines the
procedures and functions that physical devices and interfaces have to perform for
transmission to occur.
a) Physical characteristics of interfaces and medium: The physical layer
defines the characteristics of the interface between the devices and the
transmission medium. It also defines the type of transmission medium.
b) Representation of bits: The physical layer data consists of a stream of
bits (sequence of 0s and 1s) with no interpretation. To be transmitted,
bits must be encoded into signals- electrical or optical. The physical layer
defines the type of encoding (how 0s and 1s are changed to signals).
c) Data rate: The transmission rate – the number of bits sent each second-
is also defined by the physical layer. In other words, the physical defines
the duration of bits, which is how long it lasts.
d) Synchronization of bits: The sender and receiver not only must use the
same bit rate but also must be synchronized at the bit level. In other
words, the sender and the receiver clocks must be synchronized.
e) Line configuration: The physical layer is concerned with the connection
of devices with the media. In a point-to-point configuration, two devices
are connected through a dedicated link. In a multipoint configuration, a
link is shared among several devices.
f) Physical topology: The physical topology defines how devices are
connected to make a network. Devices can be connected by using a
mesh topology (every device is connected to every other device),star
topology, ring topology etc.
g) Transmission mode: The physical layer also defines the directions of
transmission between two devices: simplex, half-duplex, or full-duplex.
2. Data link layer: The data link layer transforms the physical layer, a raw
transmission facility, to a reliable link. It makes physical layer appear error-free to the
upper layer (network layer).
a) Framing: The data link layer divides the stream of bits received from
the network layer into manageable data units called frames.
b) Physical addressing: If frames are to be distributed to different
systems on the network, the data link layer adds a header to the frame
to define the sender and/or receiver of the frame. If the frame is
intended for a system outside the sender’s network, the receiver
address is the address of the device that connects the network to the
next one.
c) Flow control: If the rate at which the data are absorbed by the receiver
is less than the rate at which data are produced at the sender, the data
link layer imposes a flow of control mechanism to avoid overwhelming
the receiver.
d) Error control: The data link layer adds reliability to the physical layer by
adding mechanisms to detect and retransmit damaged or lost frames.
It also uses a mechanism to recognize duplicate frames. Error control is
normally achieved through a trailer added to the end of the frame.
e) Access control: When two or more devices are connected to the same
link, data link layer protocols are necessary to determine which device
has control over the link at any given time.
5. Session layer: The services provided by the first three layer (physical, data
link and network) are not sufficient for some processes. The session layer is the
network dialog controller. It establishes, maintains, and synchronizes the interaction
among communicating systems.
a) Dialog control: The session layer allows two systems to enter
into a dialog. It allows the communication between two
processes to take place in either half-duplex (one way at a
time) or full-duplex (two ways at a time) mode.
b) Synchronization: The session layer allows a process to add
checkpoints, or synchronization points, to a stream of data.
For example, if a system is sending a file of 2000 pages, it is
advisable to insert checkpoints after every 100 pages to
ensure that each 100 page unit is received and acknowledged
independently. In this case if a crash happens during the
transmission of page 523, the only pages that need to be
resent after system recovery are 501 to 523 pages. Pages
previous to 501 need not be resent.