Protocol Reference Model of OSI
Protocol Reference Model of OSI
OSI
Introduction to the OSI layer
How OSI was created and why
Comparison with TCP/IP
Layers :
Application layer
Presentation layer
Session layer
Transport layer
Network layer
Data link layer
Physical layer
Conclusion
Resources
Open Systems Interconnection (OSI)
Each layer support the layers above it and
layers only
A layer service is independent of the
implementation
An attempt for a framework for developing
networking technologies
OSI became a tool for explaining the
Networking in general
Before OSI was created people created their
4. Data Encapsulation
a) PDU conception – each
protocol on the diff. layer
has its own format.
b) Headers are added
while a packet is going
down the stack at each
layer.
c) Trailers are usually
added on the second
layer.
Pretty similar to OSI
TCP/IP has less layers(four)
Main difference in layers is after layer 4
Applications and Services run on it
Enables human network to interface the underlying data network
Applications on that layer (E-mail clients, web browsers, Chats,
etc.) – top-stack applications (As people are on the top of the
stack)
Applications provide people with a way to create message
Application layer services establish an interface to the network
Protocols provide the rules and formats that govern how data is
treated
Protocols on the destination and the host must match
III The OSI Layers
7. Application Layer
◦ Session establishment,
maintenance and termination
(Deciding who sends, and
when.)
◦ Session support (security,
name recognition, logging )
Tracking the individual communication between applications on
the source and destination hosts
Segmenting data and managing each piece
Reassembling the segments into streams of application data
Identifying the different applications
Conversation Multiplexing
Segments
Connection-oriented conversations
Reliable delivery
Ordered data reconstruction
Flow control
TCP – Web Browser
UDP – Video Streaming Applications
The OSI Layers
4. Transport Layer
◦ Logical Addressing
◦ Routing (where the packet is
destinated to)
◦ Datagram Encapsulation
◦ Fragmentation and Reassembly
(handling too big packets )
◦ Error Handling and Diagnostics
( using status messages for
example )
End to end packet delivery
It is the role of the OSI Data Link layer to prepare Network layer packets
for transmission and to control access to the physical media.
Allows the upper layers to access the media using techniques such as
framing
Controls how data is placed onto the media and is received from the
media using techniques such as media access control and error detection
Frame - The Data Link layer PDU
Node - The Layer 2 notation for network devices connected to a common
medium
Media/medium - The physical means for the transfer of information
between two nodes
Network - Two or more nodes connected to a common medium
The Data Link layer is responsible for the exchange of frames between
nodes over the media of a physical network.
The OSI Layers
2. Data Link Layer
2.1. Logical Link Control (LLC )
◦ Establishment and control of logical
links between local devices on a
network.
2.2. Media Access Control (MAC)
◦ The procedures used by devices to
control access to the network
medium.
◦
• Frame sequencing
• Frame acknowledgment
• Addressing
• Frame delimiting
• Frame error checking
• PDU: frame
The role of the Physical layer is to encode the
binary digits that represent Data Link layer
frames into signals and to transmit and
receive these signals across the physical
media that connect network devices.
Copper cable
Fiber
Wireless
The OSI Layers
1. Physical Layer
• Definition of Hardware
Specifications (of cables,
connectors, wireless radio
transceivers, network interface
cards )
• Encoding and Signaling (bit
representation)
• Data Transmission and Reception
(half duplex, full duplex )
• Topology and Physical Network
Design (mesh, ring, bus)
• PDU: bit
OSI Summary
The way people learn Networking
A standard for software
A standard for hardware
Seven layers architecture
Each layer independent on the others
Similar to TCP/IP(TCP/IP explained)
OSI is used as a model for developing