SlideShare a Scribd company logo
1 of 51
OSI Reference ModelOSI Reference Model
Prepared by
Siddique Ibrahim S P AP/CSE
Kumaraguru college of Technology
2
Objectives
 Data communication among
heterogeneous systems – difficulties and
solutions
 The need for layered architecture
 Design issues for the layers
 The OSI model
3
Network complexities
 Different types of hardware and software
 Different operating systems
 Different types of data to be transferred –
text, images, music, video, etc
 Data must be transferred without errors
 Many different paths may have to be taken
4
Network complexities
 Data formats and data exchange
conventions vary between manufacturers
E.g., ASCII, UNICODE, EBCDIC(Extended
Binary Coded Decimal Interchange Code),
etc.
5
Solution:
 This can be resolved only if computers
follow certain common set of rules or
protocols
6
What is a protocol?
 It is a formal description of message
formats and the rules that two computers
must follow in order to exchange
messages.
 This set of rules describes how data is
transmitted over a network.
7
Why are protocols needed?
 Protocols are needed for communication
between any two devices.
 In what format will the messages be transmitted?
 At what speed should messages be transmitted?
 What to do if errors take place?
 What to do if parts of a message are lost?
8
Protocols in daily life
 How does conversation take place between
human beings
 “Hello”
 “Goodbye”
 Handshake
 Letters
 “Dear Sir”
 “Yours faithfully”
 No splleing mistakes !
9
Network Model
 Network model - A method of describing and
analyzing data communications networks by
breaking the entire set of communications
process into a number of layers.
 Each layer has a specific function
10
Open Systems Interconnect (OSI)
Model
 Who made:
International Standards Organization (ISO)
 A Model of How Protocols and Networking
Components Could be Made
 “Open” means the concepts are non-
proprietary; can be used by anyone.
 OSI is not a protocol. It is a model for
understanding and designing a network
architecture that is flexible and robust.
11
Open Systems Interconnect (OSI)
Model
 The OSI model describes how data flows from one
computer, through a network to another computer
 The OSI model divides the tasks involved with
moving information between networked computers
into 7 smaller, more manageable sub-task .
 A task is then assigned to each of the seven OSI
layers.
 Each layer is reasonably self-contained so that the
tasks assigned to each layer can be implemented
independently.
13
7-layer OSI model
 Why so many layers?
To reduce complexity, networks are organized
as a stack of layers, one below the other.
Each layer performs a specific task. It
provides services to an adjacent layer
This is similar to the concept of a function in
programming languages – function does a
specific task
14
Layered Approach
Peers
15
Layered Approach
 The entities comprising the corresponding layers on
different machines are called peers
 It is the peers that communicate by using the protocols
 Actually, data is not transferred from layer n on one
machine to layer n on another machine
 Each layer passes data and control information to the
layer immediately below it, until the lowest layer is
reached
 Actual data communication takes place through the
lowest layer – the physical layer
16
Design Issues for the Layers
 Addressing
 Error control
 Order of messages must be preserved
 Flow control – fast sender and slow receiver !
 Disassembling, transmitting, and reassembling
large messages
 Multiplexing / de-multiplexing
 Routing
 OSI model did not fully implemented.
 TCP/IP was used and tested extensively
in the internet.
17
18
The Layers of the OSI Model
Application
Presentation
Session
Transport
Network
Data Link
Physical
19
The Layers of the OSI Model
Some Mnemonics
Application
Presentation
Session
Transport
Network
Data Link
Physical
All
People
Seem
To
Need
Data
Processing
Please
Do
Not
Tell
Secret
Passwords
Anytime
20
21
22
Physical layer
 Coordinates the functions required to carry
a bit stream over physical medium.
 It deals with a electrical and mechanical
specifications of the interface and
transmission medium(type of medium).
 It responsible for movements of individual
bits from one hop(node) to the next.
23
24
Physical layer
• Specifications for the physical
components of the network.
• Functions of Physical Layer:
• Bit representation – encode bits(0’s and 1’s)
into electrical or optical signals
• Transmission rate – The number of bits sent
each second
• Physical characteristics of transmission
media
• Synchronizing the sender and receiver
clocks(both are not have same bit rate).
• Line Configuration The physical layer is
concerned with the connection of devices to
the media.(point-to-point (or) multipoint)
• Transmission mode – simplex, half-duplex,
full duplex
• Physical Topology – how devices are
connected – ring, star, mesh, bus topology
Application
Presentation
Session
Transport
Network
Data Link
Physical
25
Physical Layer
26
Data Link Layer
Responsible for delivery of data between two
systems on the same network(hop to hop delivery)
Main functions of this layer are:
• Framing – divides the stream of bits
received from network layer into
manageable data units called frames.
• Physical Addressing – Add a header to the
frame to define the physical address of the
source and the destination
machines(MAC).
• Flow control – If the receiver is less than
rate of at which data are produced in the
sender.[The flow control mechanism to
avoid overwhelming the receiver]
Application
Presentation
Session
Transport
Network
Data Link
Physical
MAC(Medium Access control)
27
MAC(Medium Access control)
28
MAC(Medium Access control)
29
MAC(Medium Access control)
30
31
Data Link Layer
• Error Control – Adds relaibility mechanisms
to detect and retransmit damaged or lost
frames. This is achieved by adding a trailer
to the end of a frame
Also, recognize duplicate frames.
• Access Control –When two (or) more
devices connected to the same link, then
this layer protocol determine which devices
has control over the link at any given time.
Application
Presentation
Session
Transport
Network
Data Link
Physical
32
Data Link Layer
33
Data Link Layer
34
Network Layer
Main functions of this layer are:
• Responsible for delivery of packets
across multiple(sou to des delivery)
networks[Note: if two systems are
connected to the same link there is
no need for a n/w layer]
• Logical Addressing:The physical
addressing implemented by the
data link layer handles the
addressing problem locally(MAC)
• When it passes the boundary the n/w
layer adds a header to the packet(IP)
coming from the upper layer(include
logical address of sender and receiver)
Application
Presentation
Session
Transport
Network
Data Link
Physical
35
Network Layer
Main functions of this layer are:
• Routing – Independent networks
(or) large n/w, the connecting
device(Router or switch)
• Router the packets to the final
destrination.
• Network layer is responsible only
for delivery of individual packets
and it does not recognize any
relationship between those packets.
Application
Presentation
Session
Transport
Network
Data Link
Physical
36
Network Layer
37
Network Layer
38
Transport Layer
• Responsible for source-to-
destination delivery of the entire
message.
Main functions of this layer are:
• Segmentation and reassembly –
divide message into smaller
segments, add sequence number
them and transmit. Reassemble
these messages at the receiving
end.
• Error control – make sure that the
entire message arrives without
errors – else retransmit.
Application
Presentation
Session
Transport
Network
Data Link
Physical
39
Transport Layer
Service point addressing:
Compuer often run several programs at a same
time.
Sou-to-des not only from one computer to next.
The transport layer header must therefore include
a address called service point address[port
address]
Connection control:
Connectionless- Each segment as a individual
& delivery to the destination.
Connection oriented- Fist establish a
connection with the transport layer at the
destination before the packets send.
After all data packets delivered, then the
connection is terminated.
Application
Presentation
Session
Transport
Network
Data Link
Physical
40
Transport Layer
A port is identified for each address and protocol by
a 16-bit number, commonly known as the port
number.
A port number is a 16-bit unsigned integer, thus
ranging from 1 to 65535 (port number 0 is
reserved and can't be used).
Transport Layer protocols, such as the
Transmission Control Protocol (TCP) and the
User Datagram Protocol (UDP), specify a source
and destination port number in their packet
headers.
Transport Layer
41
42
Transport Layer
43
Session Layer
First three layers not sufficient for
some processes.session layer
establishes, maintains and
synchronizes the interaction among
communicating systems.
Main functions of this layer are:
• Dialog control – allows two systems
to enter into a dialog, keep a track of
whose turn it is to transmit
• Synchronization – adds check points
(synchronization points) into stream
of data.
Application
Presentation
Session
Transport
Network
Data Link
Physical
44
Session Layer
H5
syn syn syn
From Presentation Layer
To Transport Layer
Session Layer
From Transport Layer
To Presentation Layer
H5
syn syn syn
Session Layer
45
Presentation Layer
Responsibilities of this layer are:
• Translation
• Different computers use different
encoding systems (bit order
translation)
• Convert data into a common format
before transmitting.
• Syntax represents info such as
character codes - how many bits to
represent data – 8 or 7 bits
• Compression – reduce number of
bits to be transmitted
Application
Presentation
Session
Transport
Network
Data Link
Physical
46
Presentation Layer
• Encryption – transform data into an
unintelligible format at the sending
end for data security
• Decryption – at the receiving end
Application
Presentation
Session
Transport
Network
Data Link
Physical
47
Application Layer
•Contains protocols that allow the
users to access the network (FTP,
HTTP, SMTP, etc)
• Does not include application
programs such as email, browsers,
word processing applications, etc.
• Protocols contain utilities and
network-based services that support
email via SMTP, Internet access via
HTTP, file transfer via FTP, etc
Application
Presentation
Session
Transport
Network
Data Link
Physical
48
Application Layer
To Presentation Layer From Presentation Layer
49
Summary of Functions of Layers
Application
Presentation
Session
Transport
Network
Data Link
Physical
To allow access to
network resources
To establish, manage
& terminate sessions
To move packets from
source to destination
To transmit bits over
a medium & provide
electrical specs.
To translate, encrypt
and compress data
To provide reliable
end-to-end message
delivery
To organise bits into
frames
 Lyer 1-3-are the network support layer.
 (they deal with the physical aspects of
moving data from one device to another)
 Layer4- links the two subgroups
 Layer 6-7-can be thought of as the user
support layers(Allow interoperability
among unrelated software system)
50
51
References
 “Computer Networks”,
Tanenbaum A (PHI)
 “Data Communications and Networking”,
Forouzan B (TMH)
 “Local Area Networks”,
Keiser (TMH)
52

More Related Content

What's hot

What's hot (20)

Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
 
IOT System Management with NETCONF-YANG.pptx
IOT System Management with NETCONF-YANG.pptxIOT System Management with NETCONF-YANG.pptx
IOT System Management with NETCONF-YANG.pptx
 
OSI Model
OSI ModelOSI Model
OSI Model
 
TCP - IP Presentation
TCP - IP PresentationTCP - IP Presentation
TCP - IP Presentation
 
02 protocol architecture
02 protocol architecture02 protocol architecture
02 protocol architecture
 
OSI 7 Layer Model
OSI 7 Layer ModelOSI 7 Layer Model
OSI 7 Layer Model
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
 
OSI Model
OSI ModelOSI Model
OSI Model
 
Physical layer ppt
Physical layer pptPhysical layer ppt
Physical layer ppt
 
computer network OSI layer
computer network OSI layercomputer network OSI layer
computer network OSI layer
 
Unicast multicast & broadcast
Unicast multicast & broadcastUnicast multicast & broadcast
Unicast multicast & broadcast
 
OSI Network model ppt
OSI Network model pptOSI Network model ppt
OSI Network model ppt
 
Chapter 1: Introduction to Data Communication and Networks
Chapter 1: Introduction to Data Communication and NetworksChapter 1: Introduction to Data Communication and Networks
Chapter 1: Introduction to Data Communication and Networks
 
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSComputer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
 
Introduction to TCP/IP
Introduction to TCP/IPIntroduction to TCP/IP
Introduction to TCP/IP
 
TCP/ IP
TCP/ IP TCP/ IP
TCP/ IP
 
5. protocol layering
5. protocol layering5. protocol layering
5. protocol layering
 
Osi model
Osi modelOsi model
Osi model
 
Multiple Access Protocal
Multiple Access ProtocalMultiple Access Protocal
Multiple Access Protocal
 

Viewers also liked

Viewers also liked (7)

Datapath Design of Computer Architecture
Datapath Design of Computer ArchitectureDatapath Design of Computer Architecture
Datapath Design of Computer Architecture
 
Micro programmed control
Micro programmed controlMicro programmed control
Micro programmed control
 
Basic networking
Basic networkingBasic networking
Basic networking
 
Getting started into mySQL
Getting started into mySQLGetting started into mySQL
Getting started into mySQL
 
Mysql grand
Mysql grandMysql grand
Mysql grand
 
Micro programmed control
Micro programmed controlMicro programmed control
Micro programmed control
 
Hardwired control
Hardwired controlHardwired control
Hardwired control
 

Similar to OSI Reference Model Explained

THE COMPLETE OSI MODEL
THE COMPLETE OSI MODEL THE COMPLETE OSI MODEL
THE COMPLETE OSI MODEL AMIT GUPTA
 
Skr+3200+chapter+2+(kweh)
Skr+3200+chapter+2+(kweh)Skr+3200+chapter+2+(kweh)
Skr+3200+chapter+2+(kweh)Ammar Shafiq
 
Cisco ccna certification knowledge to pass the exam
Cisco ccna certification knowledge to pass the examCisco ccna certification knowledge to pass the exam
Cisco ccna certification knowledge to pass the examle_dung762
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA Aiman Hud
 
OSI Model of Networking
OSI Model of NetworkingOSI Model of Networking
OSI Model of NetworkingMukesh Tekwani
 
computer network and chapter 7 OSI layers.pptx
computer network and chapter 7 OSI layers.pptxcomputer network and chapter 7 OSI layers.pptx
computer network and chapter 7 OSI layers.pptxgadisaAdamu
 
Unit_I_Computer Networks 4.pdf
Unit_I_Computer Networks 4.pdfUnit_I_Computer Networks 4.pdf
Unit_I_Computer Networks 4.pdfArumugam90
 
Reference models in Networks: OSI & TCP/IP
Reference models in Networks: OSI & TCP/IPReference models in Networks: OSI & TCP/IP
Reference models in Networks: OSI & TCP/IPMukesh Chinta
 
CN unit 1 part 2 2023.ppt
CN unit 1 part 2 2023.pptCN unit 1 part 2 2023.ppt
CN unit 1 part 2 2023.pptmohanravi1986
 
Osi reference model and the tcp
Osi reference model and the tcpOsi reference model and the tcp
Osi reference model and the tcpAgrippa Mungazi
 
Osi reference model
Osi reference modelOsi reference model
Osi reference modelSagar Gor
 
osireferencemodel-170703104058 (1).pdf
osireferencemodel-170703104058 (1).pdfosireferencemodel-170703104058 (1).pdf
osireferencemodel-170703104058 (1).pdfFira253524
 
Complete Osi Model Explained
Complete Osi Model ExplainedComplete Osi Model Explained
Complete Osi Model ExplainedVivek chan
 
BAPANKAR15800121011 SOFT.pptx
BAPANKAR15800121011 SOFT.pptxBAPANKAR15800121011 SOFT.pptx
BAPANKAR15800121011 SOFT.pptxBapanKar2
 

Similar to OSI Reference Model Explained (20)

THE COMPLETE OSI MODEL
THE COMPLETE OSI MODEL THE COMPLETE OSI MODEL
THE COMPLETE OSI MODEL
 
Skr+3200+chapter+2+(kweh)
Skr+3200+chapter+2+(kweh)Skr+3200+chapter+2+(kweh)
Skr+3200+chapter+2+(kweh)
 
OSI Network Reference Model
OSI Network Reference ModelOSI Network Reference Model
OSI Network Reference Model
 
PC 106 PPT-06
PC 106 PPT-06PC 106 PPT-06
PC 106 PPT-06
 
chapter 4.pptx
chapter 4.pptxchapter 4.pptx
chapter 4.pptx
 
Cisco ccna certification knowledge to pass the exam
Cisco ccna certification knowledge to pass the examCisco ccna certification knowledge to pass the exam
Cisco ccna certification knowledge to pass the exam
 
OSI model.pptx
OSI model.pptxOSI model.pptx
OSI model.pptx
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
OSI Model of Networking
OSI Model of NetworkingOSI Model of Networking
OSI Model of Networking
 
computer network and chapter 7 OSI layers.pptx
computer network and chapter 7 OSI layers.pptxcomputer network and chapter 7 OSI layers.pptx
computer network and chapter 7 OSI layers.pptx
 
Unit_I_Computer Networks 4.pdf
Unit_I_Computer Networks 4.pdfUnit_I_Computer Networks 4.pdf
Unit_I_Computer Networks 4.pdf
 
COMPUTER NETWORK_OSI & TCP/IP
COMPUTER NETWORK_OSI & TCP/IPCOMPUTER NETWORK_OSI & TCP/IP
COMPUTER NETWORK_OSI & TCP/IP
 
Reference models in Networks: OSI & TCP/IP
Reference models in Networks: OSI & TCP/IPReference models in Networks: OSI & TCP/IP
Reference models in Networks: OSI & TCP/IP
 
CN unit 1 part 2 2023.ppt
CN unit 1 part 2 2023.pptCN unit 1 part 2 2023.ppt
CN unit 1 part 2 2023.ppt
 
Osi reference model and the tcp
Osi reference model and the tcpOsi reference model and the tcp
Osi reference model and the tcp
 
Osi reference model
Osi reference modelOsi reference model
Osi reference model
 
osireferencemodel-170703104058 (1).pdf
osireferencemodel-170703104058 (1).pdfosireferencemodel-170703104058 (1).pdf
osireferencemodel-170703104058 (1).pdf
 
OSI TCP.pptx
OSI TCP.pptxOSI TCP.pptx
OSI TCP.pptx
 
Complete Osi Model Explained
Complete Osi Model ExplainedComplete Osi Model Explained
Complete Osi Model Explained
 
BAPANKAR15800121011 SOFT.pptx
BAPANKAR15800121011 SOFT.pptxBAPANKAR15800121011 SOFT.pptx
BAPANKAR15800121011 SOFT.pptx
 

More from Siddique Ibrahim (20)

List in Python
List in PythonList in Python
List in Python
 
Python Control structures
Python Control structuresPython Control structures
Python Control structures
 
Python programming introduction
Python programming introductionPython programming introduction
Python programming introduction
 
Data mining basic fundamentals
Data mining basic fundamentalsData mining basic fundamentals
Data mining basic fundamentals
 
Virtualization Concepts
Virtualization ConceptsVirtualization Concepts
Virtualization Concepts
 
Networking devices(siddique)
Networking devices(siddique)Networking devices(siddique)
Networking devices(siddique)
 
pipelining
pipeliningpipelining
pipelining
 
interface
interfaceinterface
interface
 
Interrupt
InterruptInterrupt
Interrupt
 
Interrupt
InterruptInterrupt
Interrupt
 
DMA
DMADMA
DMA
 
Io devies
Io deviesIo devies
Io devies
 
Stack & queue
Stack & queueStack & queue
Stack & queue
 
Metadata in data warehouse
Metadata in data warehouseMetadata in data warehouse
Metadata in data warehouse
 
Data extraction, transformation, and loading
Data extraction, transformation, and loadingData extraction, transformation, and loading
Data extraction, transformation, and loading
 
Aggregate fact tables
Aggregate fact tablesAggregate fact tables
Aggregate fact tables
 
PHP variables
PHP  variablesPHP  variables
PHP variables
 
Php hypertext pre-processor
Php   hypertext pre-processorPhp   hypertext pre-processor
Php hypertext pre-processor
 
Cryptography basices
Cryptography basicesCryptography basices
Cryptography basices
 
Secondary storage devices
Secondary storage devicesSecondary storage devices
Secondary storage devices
 

Recently uploaded

Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 

Recently uploaded (20)

Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 

OSI Reference Model Explained

  • 1. OSI Reference ModelOSI Reference Model Prepared by Siddique Ibrahim S P AP/CSE Kumaraguru college of Technology
  • 2. 2 Objectives  Data communication among heterogeneous systems – difficulties and solutions  The need for layered architecture  Design issues for the layers  The OSI model
  • 3. 3 Network complexities  Different types of hardware and software  Different operating systems  Different types of data to be transferred – text, images, music, video, etc  Data must be transferred without errors  Many different paths may have to be taken
  • 4. 4 Network complexities  Data formats and data exchange conventions vary between manufacturers E.g., ASCII, UNICODE, EBCDIC(Extended Binary Coded Decimal Interchange Code), etc.
  • 5. 5 Solution:  This can be resolved only if computers follow certain common set of rules or protocols
  • 6. 6 What is a protocol?  It is a formal description of message formats and the rules that two computers must follow in order to exchange messages.  This set of rules describes how data is transmitted over a network.
  • 7. 7 Why are protocols needed?  Protocols are needed for communication between any two devices.  In what format will the messages be transmitted?  At what speed should messages be transmitted?  What to do if errors take place?  What to do if parts of a message are lost?
  • 8. 8 Protocols in daily life  How does conversation take place between human beings  “Hello”  “Goodbye”  Handshake  Letters  “Dear Sir”  “Yours faithfully”  No splleing mistakes !
  • 9. 9 Network Model  Network model - A method of describing and analyzing data communications networks by breaking the entire set of communications process into a number of layers.  Each layer has a specific function
  • 10. 10 Open Systems Interconnect (OSI) Model  Who made: International Standards Organization (ISO)  A Model of How Protocols and Networking Components Could be Made  “Open” means the concepts are non- proprietary; can be used by anyone.  OSI is not a protocol. It is a model for understanding and designing a network architecture that is flexible and robust.
  • 11. 11 Open Systems Interconnect (OSI) Model  The OSI model describes how data flows from one computer, through a network to another computer  The OSI model divides the tasks involved with moving information between networked computers into 7 smaller, more manageable sub-task .  A task is then assigned to each of the seven OSI layers.  Each layer is reasonably self-contained so that the tasks assigned to each layer can be implemented independently.
  • 12. 13 7-layer OSI model  Why so many layers? To reduce complexity, networks are organized as a stack of layers, one below the other. Each layer performs a specific task. It provides services to an adjacent layer This is similar to the concept of a function in programming languages – function does a specific task
  • 14. 15 Layered Approach  The entities comprising the corresponding layers on different machines are called peers  It is the peers that communicate by using the protocols  Actually, data is not transferred from layer n on one machine to layer n on another machine  Each layer passes data and control information to the layer immediately below it, until the lowest layer is reached  Actual data communication takes place through the lowest layer – the physical layer
  • 15. 16 Design Issues for the Layers  Addressing  Error control  Order of messages must be preserved  Flow control – fast sender and slow receiver !  Disassembling, transmitting, and reassembling large messages  Multiplexing / de-multiplexing  Routing
  • 16.  OSI model did not fully implemented.  TCP/IP was used and tested extensively in the internet. 17
  • 17. 18 The Layers of the OSI Model Application Presentation Session Transport Network Data Link Physical
  • 18. 19 The Layers of the OSI Model Some Mnemonics Application Presentation Session Transport Network Data Link Physical All People Seem To Need Data Processing Please Do Not Tell Secret Passwords Anytime
  • 19. 20
  • 20. 21
  • 21. 22
  • 22. Physical layer  Coordinates the functions required to carry a bit stream over physical medium.  It deals with a electrical and mechanical specifications of the interface and transmission medium(type of medium).  It responsible for movements of individual bits from one hop(node) to the next. 23
  • 23. 24 Physical layer • Specifications for the physical components of the network. • Functions of Physical Layer: • Bit representation – encode bits(0’s and 1’s) into electrical or optical signals • Transmission rate – The number of bits sent each second • Physical characteristics of transmission media • Synchronizing the sender and receiver clocks(both are not have same bit rate). • Line Configuration The physical layer is concerned with the connection of devices to the media.(point-to-point (or) multipoint) • Transmission mode – simplex, half-duplex, full duplex • Physical Topology – how devices are connected – ring, star, mesh, bus topology Application Presentation Session Transport Network Data Link Physical
  • 25. 26 Data Link Layer Responsible for delivery of data between two systems on the same network(hop to hop delivery) Main functions of this layer are: • Framing – divides the stream of bits received from network layer into manageable data units called frames. • Physical Addressing – Add a header to the frame to define the physical address of the source and the destination machines(MAC). • Flow control – If the receiver is less than rate of at which data are produced in the sender.[The flow control mechanism to avoid overwhelming the receiver] Application Presentation Session Transport Network Data Link Physical
  • 30. 31 Data Link Layer • Error Control – Adds relaibility mechanisms to detect and retransmit damaged or lost frames. This is achieved by adding a trailer to the end of a frame Also, recognize duplicate frames. • Access Control –When two (or) more devices connected to the same link, then this layer protocol determine which devices has control over the link at any given time. Application Presentation Session Transport Network Data Link Physical
  • 33. 34 Network Layer Main functions of this layer are: • Responsible for delivery of packets across multiple(sou to des delivery) networks[Note: if two systems are connected to the same link there is no need for a n/w layer] • Logical Addressing:The physical addressing implemented by the data link layer handles the addressing problem locally(MAC) • When it passes the boundary the n/w layer adds a header to the packet(IP) coming from the upper layer(include logical address of sender and receiver) Application Presentation Session Transport Network Data Link Physical
  • 34. 35 Network Layer Main functions of this layer are: • Routing – Independent networks (or) large n/w, the connecting device(Router or switch) • Router the packets to the final destrination. • Network layer is responsible only for delivery of individual packets and it does not recognize any relationship between those packets. Application Presentation Session Transport Network Data Link Physical
  • 37. 38 Transport Layer • Responsible for source-to- destination delivery of the entire message. Main functions of this layer are: • Segmentation and reassembly – divide message into smaller segments, add sequence number them and transmit. Reassemble these messages at the receiving end. • Error control – make sure that the entire message arrives without errors – else retransmit. Application Presentation Session Transport Network Data Link Physical
  • 38. 39 Transport Layer Service point addressing: Compuer often run several programs at a same time. Sou-to-des not only from one computer to next. The transport layer header must therefore include a address called service point address[port address] Connection control: Connectionless- Each segment as a individual & delivery to the destination. Connection oriented- Fist establish a connection with the transport layer at the destination before the packets send. After all data packets delivered, then the connection is terminated. Application Presentation Session Transport Network Data Link Physical
  • 39. 40 Transport Layer A port is identified for each address and protocol by a 16-bit number, commonly known as the port number. A port number is a 16-bit unsigned integer, thus ranging from 1 to 65535 (port number 0 is reserved and can't be used). Transport Layer protocols, such as the Transmission Control Protocol (TCP) and the User Datagram Protocol (UDP), specify a source and destination port number in their packet headers.
  • 42. 43 Session Layer First three layers not sufficient for some processes.session layer establishes, maintains and synchronizes the interaction among communicating systems. Main functions of this layer are: • Dialog control – allows two systems to enter into a dialog, keep a track of whose turn it is to transmit • Synchronization – adds check points (synchronization points) into stream of data. Application Presentation Session Transport Network Data Link Physical
  • 43. 44 Session Layer H5 syn syn syn From Presentation Layer To Transport Layer Session Layer From Transport Layer To Presentation Layer H5 syn syn syn Session Layer
  • 44. 45 Presentation Layer Responsibilities of this layer are: • Translation • Different computers use different encoding systems (bit order translation) • Convert data into a common format before transmitting. • Syntax represents info such as character codes - how many bits to represent data – 8 or 7 bits • Compression – reduce number of bits to be transmitted Application Presentation Session Transport Network Data Link Physical
  • 45. 46 Presentation Layer • Encryption – transform data into an unintelligible format at the sending end for data security • Decryption – at the receiving end Application Presentation Session Transport Network Data Link Physical
  • 46. 47 Application Layer •Contains protocols that allow the users to access the network (FTP, HTTP, SMTP, etc) • Does not include application programs such as email, browsers, word processing applications, etc. • Protocols contain utilities and network-based services that support email via SMTP, Internet access via HTTP, file transfer via FTP, etc Application Presentation Session Transport Network Data Link Physical
  • 47. 48 Application Layer To Presentation Layer From Presentation Layer
  • 48. 49 Summary of Functions of Layers Application Presentation Session Transport Network Data Link Physical To allow access to network resources To establish, manage & terminate sessions To move packets from source to destination To transmit bits over a medium & provide electrical specs. To translate, encrypt and compress data To provide reliable end-to-end message delivery To organise bits into frames
  • 49.  Lyer 1-3-are the network support layer.  (they deal with the physical aspects of moving data from one device to another)  Layer4- links the two subgroups  Layer 6-7-can be thought of as the user support layers(Allow interoperability among unrelated software system) 50
  • 50. 51 References  “Computer Networks”, Tanenbaum A (PHI)  “Data Communications and Networking”, Forouzan B (TMH)  “Local Area Networks”, Keiser (TMH)
  • 51. 52

Editor's Notes

  1. Addressing – specify with which machine to communicate Error detecting and error correcting codes can be used provided same mechanism is being used at both ends Order of messages must be preserved. Messages may arrive out of order – i.e. not in the sequence. The protocol must allow the receiver to reassemble the pices properly, in the required sequence. Flow control – A fast sender should not swamp a slow receiver. Some kind of feedback is required between sender and receiver in order to limit the data transfer rate. Arbitrarily long messages must be broken down into smaller messages. These small messages are then transmitted and reassembled at the receiving end. Multiplexing/de-multiplexing – use a single connection for multiple, unrelated conversations Routing – if multiple paths exist between source and destination, which path to use. Various factors may come into play – urgency, speed, volume of data, etc.
  2. 1. This layer is concerned with issues such as signal durations, voltage levels (what voltage represents a 0 and what represents a 1), types of connectors, assignment of pins on connectors