OSI Model
OSI Model
T HAIDUWA
1
Outline
Definition
7 Layers of the OSI Reference Model
Communications Protocols in the OSI model
OSI Model vs TCP/IP Reference Models
2
OSI Reference Model
3
Purpose of the OSI Reference Model
4
Layered Tasks: An example from the everyday
life
5
OSI Model Layers
6
7 Layers of the OSI model
7
Sender Layers & Receiver Layers
8
Application Layer
9
Presentation Layer
10
Session Layer
11
Transport Layer
12
Network Layer
13
Data Link Layer
14
Physical Layer
15
Principles OSI Reference Model
The principles that were applied to arrive at the
seven layers can be briefly summarized are as
follows:
1. A layer should be created where different abstraction is needed.
2. Each layer should performs a well define function.
3. Functions of the layers must be chosen toward defining
internationally standardized protocols.
4. The layer boundaries should be chosen to minimize the information
flow across the interfaces.
5. The number of layers should be large enough to avoid complexity.
16
Why Layered Communication?
17
Issues Resolved by Layers
Error correction
Flow control
Addressing
Multiplexing
Naming
Congestion control
Mobility
Routing
Fragmentation
Security
18
Communications Protocols in the
OSI Model
Common protocols in OSI Model include:
• Physical Layer: Ethernet, USB, etc.
• Data Link Layer: Ethernet, Wi-Fi (802.11), Point-to-
Point Protocol (PPP)
• Network Layer: IP (IPv4 and IPv6)
• Transport Layer: TCP, UDP,
• Session Layer: NetBIOS, RPC
• Presentation Layer: SSL/TLS, JPEG, MPEG
• Application Layer: HTTP/S, FTP, SMTP, POP3,
IMAP
19
TCP/IP Reference Model defined
The TCP/IP model is another widely used networking
reference model.
The overall idea was to allow one application on one
computer to talk to (send data packets) another application
running on different computer.
It is the network model used in the current Internet
architecture.
20
Cont’d
21
TCP/IP Reference Model Layers
1. Host-to-Network Layer
2. Internet Layer
3. Transport Layer
4. Application Layer
22
Host-to-Network Layer
23
Transport Layer
24
Internet Layer
The internet layer defines an official packet format and
protocol called IP (Internet Protocol).
The job of the internet layer is to deliver IP packets where
they are supposed to go.
The internet layer permit hosts to inject packets into any
network and have them travel independently to the
destination.
They may even arrive in a different order than they were sent.
Packet routing avoid congestion, for these reasons, it is
reasonable to say that the TCP/IP internet layer is similar in
functionality to the OSI network layer.
25
Application Layer
The TCP/IP model does not have session or presentation layers.
On top of the transport layer there is only the application layer.
It contains all the higher-level protocols:
Virtual Terminal (TELNET) : a two-way communication protocol which
allows connecting to a remote machine and run applications on it.
File Transfer (FTP): a protocol that allows File transfer amongst computer
users connected over a network. It is reliable, simple and efficient.
Electronic Mail (SMTP): a protocol which is used to transport electronic
mail between a source and destination, directed via a route.
Domain Name System (DNS): a hierarchical decentralized naming
system for computers, services, or other resources connected to the
Internet or a private network.
HTTP,
HTTP etc.
26
TCP/IP Model vs. OSI Model
27
Comparison between the OSI &
TCP/IP Model
Differences:
OSI Model: Seven layers, offers more detailed and comprehensive layering,
facilitating clearer separation of functions while the TCP/IP model: did not originally
clearly distinguish between service, interface, and protocol
OSI model: supports both connectionless and connection-oriented communication
in the network layer, but only connection-oriented communication in the transport
layer, where it counts while TCP/IP model: has only one mode in the network layer
(connectionless) but supports both modes in the transport layer, giving the users a
choice.
TCP/IP Model: Four layers, more closely aligned with real-world networking
protocols, and is the foundation of the modern internet. OSI Model is a standard
model for all computer systems.
Similarities:
o Both are based on the concept of a stack of independent protocols.
o Both models serve as conceptual tools to understand network protocols and
communication.
o The functionality of the layers are roughly similar.
28