SlideShare a Scribd company logo
OSI vs TCP/IP Model
 OSI Reference Model - internationally
standardised network architecture.
 OSI = Open Systems Interconnection: deals
with open systems, i.e. systems open for
communications with other systems.
1
Computer Network
Components
Computer with NIC (PCs, laptops,
handhelds)
Routers & switches (IP router, Ethernet
switch)
Links” Transmission media” (wired,
wireless)
Protocols (IP, TCP, CSMA/CD,
CSMA/CA)
Applications (services)
User
2
 A protocol is required when two entities need to
communicate.
 When communication is not simple, we may divide the
complex task of communication into several layers.
 The sending computer must:
 Recognize the data.
 Divide the data into manageable chunks.
 Add information to each chunk of data to determine the
location of the data and to identify the receiver.
 Add timing and error-checking information.
 Put the data on the network and send it on its way.
3
PROTOCOL LAYERS
• Established in 1947, the International Standards Organization (ISO) is a
multinational body dedicated to worldwide agreement on international
standards.
• Almost three-fourths of countries in the world are represented in the
ISO.
• An ISO standard that covers all aspects of network communications is
the Open Systems Interconnection (OSI) model.
• It was first introduced in the late 1970s.
4
THE OSI MODEL
OSI Model
Applicatio
n
7th
Layer
User Prepare message
Presentation
6th
Layer
Message is translated, encrypted and
minimized
Session
5th
Layer
Security checks message, adds checkpoints to
ensure that receiver receives whole message
Transport
4th
Layer
Message is analysed, combined if necessary
and broken into smaller pieces
Network
3rd
Layer
check the message, determine the address,
indicate fastest route to desination
Data Link
2nd
Layer
Message placed in special packet contains
message, sender and destination ID
Physical
1st
Layer
Data transferred
6
OSI layers
7
An exchange using the OSI model ( Encapsulation)
8
Summary of OSI Layers
 The TCP/IP protocol suite
was developed prior to the
OSI model.
 Therefore, the layers in the
TCP/IP protocol suite do
not match exactly with
those in the OSI model.
• Troubleshooting,
file sharing,
internet
Application
• Flow control, error
control
Transport
• IP addressing and
routing of network
traffic
Internet
• Interface with the
physical network
Network
Access
9
TCP/IP Model
Comparison between OSI and
TCP/IP
IOS Model
Application
Presentation
Session
Transport
Network
Data Link
Physical
TCP/IP Model
Application
Transport
Internet
Network
Access
11
A private internet
LAYERS IN THE OSI MODEL
Physical layer
 defines the procedures and functions that physical
devices and interfaces have to perform for
transmission occur.
 The physical layer is concerned with the following:
 Physical characteristics of interfaces and media:
 Representation of the bits
 Data rate, the number of bits sent each second.
 Line configuration, Point to point or multipoint
configuration.
 Physical topology
 Transmission Mode : Simplex, half duplex or full duplex
13
Communication at the physical layer
A
Physical
layer
Physical
layer
R1 R3 R4 B
Source Destination
Legend
011 ... 101
0
1
1
.
.
.
1
0
1
011 ... 101 011 ... 101
Link 3 Link 5 Link 6
Link 1
14
The unit of communication at the physical
layer is a bit.
Data Link Layer
 The data link layer transforms the physical layer, a raw
transmission facility, to a reliable link and is
responsible for node-to-node delivery.
 The Data Link layer is concerned with the following:
 Framing.
 Physical addressing, each node has its unique
address.
 Flow Control.
 Access Control.
 Error control, normally achieved through a trailer to the end
of the frame.
16
Communication at the data link layer
A
Physical Physical
Data link
Data link
R1 R3 R4 B
Source Destination Data
D Header
H
Legend
Link 1 Link 3 Link 5 Link 6
Frame
D2 H2
F
r
a
m
e
D
2
H
2
Frame
D2 H2
Frame
D2 H2
17
The unit of communication at the data link
layer is a frame.
Note
Network Layer
• Is responsible for the source-to-destination delivery of
a packet possible across multiple networks.
 Functions:
• Logical addressing.
• Routing, It determines which path the data should take
based on network conditions, priority of service, and
other factors.
19
The unit of communication at the network
layer is a datagram (Packet).
Transport Layer
 The transport layer is responsible for process-to-process delivery
of the entire message.
 Makes sure that the data arrives without errors, in the proper
sequence and in a reliable condition.
 Functions:
 Port addressing, The network layer gets each packet to the correct computer;
the transport layer gets the entire message to the correct process on that
computer.
 Segmentation and reassembly: a message is divided into transmittable
segments, each having a sequence number
 Connection control: The transport layer can be either connectionless or
connection-oriented.
 Flow control
 Error control
21
Communication at transport layer
A
Physical Physical
Data link
Data link
R1 R3 R4
B
Network
Network
Transport Transport
Source Destination Data
D Header
H
Legend
Segment
D4 H4
Segment
D4 H4
22
The unit of communication at the transport
layer is a segment, user datagram, or a
packet, depending on the specific protocol
used in this layer.
Session Layer
 the session layer, allows two applications on different computers to open, use, and
close a connection called a session.
 (A session is a highly structured dialog between two workstations.)
 Functions:
 Dialog control
 It also makes sure the session is orderly, establishing which node transmits first, how long it can
transmit, and what to do in case of an error.
 It performs name-recognition and other functions, such as security, that are needed to allow
two applications to communicate over the network.
 Synchronization
 The session layer synchronizes user tasks by placing checkpoints in the data stream.
 The checkpoints break the data into smaller groups for error detection. It allows information of
different streams, perhaps originating from different sources, to be properly combined or
synchronized.
 An example application is web conferencing, in which the streams of audio and video must be
synchronous to avoid so-called lip synch problems. It ensures that the person displayed on
screen is the current speaker.
presentation layer
 The presentation layer is responsible for translation,
compression, and encryption.
 Deals with the actual formatting of the data.
 For example, data might be converted from EBCDIC to
ASCII formatting so that the receiving node can
understand it.
Application Layer
 This layer relates to the services that directly provide
user interfaces support user applications or services,
such as software for file transfers, database access, and
e-mail.
 In other words, it serves as a window through which
application processes can access network services.
 The application layer enables the user to access the
network.
 This would be the layer that a programmer uses to
allow his application to access a network service, such
as linking into a database.
26
Communication at application layer
A
Physical Physical
Data link
Data link
R1 R3 R4
B
Network
Network
Transport Transport
Application
Application Source Destination Data
D Header
H
Legend
Message
D5 D5
D5 D5
Message
27
The unit of communication at the
application layer is a message.
 Four levels of addresses are used in an internet
employing the TCP/IP protocols:
 physical address
 logical address
 port address
 application-specific address.
28
ADDRESSING
Each address is related to a one layer in the
TCP/IP architecture, as shown in Figure.
IOS Model
Application
Presentation
Session
Transport
Network
Data Link
Physical
TCP/IP Model
Application
Transport
Internet
Network
Access
Logic Address
Port Address
Application Spec. Address
Physical Address
30
Example 1: physical addresses
Data
87 10
1 packet
accepted
Data
87 10
4
31
As we will see later, most local area networks represent the
physical address in two ways:
• IPv4
• use a 32-bit (4-byte) physical address written as decimal
digits; every byte (2 hexadecimal digits) is separated by a
dot, as shown below
• IPv6 ( new version)
• use a 48-bit (6-byte) physical address written as 12
hexadecimal digits; every byte (2 hexadecimal digits) is
separated by a colon, as shown below:
Example 1
07:01:02:01:2C:4B
A 6-byte (12 hexadecimal digits) physical address
128.7.0.0
A 4-byte (a byte represent 8 bits called octet ) physical address
32
Example 2: logical addresses
Data
A P
20 10 Data
A P
20 10
Physical
addresses
changed
Data
A P
33 99
Data
A P
33 99
Physical
addresses
changed
Data
A P
95 66 Data
A P
95 66
33
The physical addresses will change from
hop to hop, but the logical addresses
remain the same.
Note
34
A Sender Receiver P
Internet
Example 3: port numbers
a Data
j
A P
H2
a Data
j
A P
a Data
j
Data
a Data
j
A P
H2
a Data
j
A P
a Data
j
Data
35
The physical addresses change from hop to
hop, but the logical and port addresses
usually remain the same.
Note
36
a port address is a 16-bit address represented by one decimal
number as shown.
Example 3
753
A 16-bit port address represented as one single number

More Related Content

Similar to OSI model.pptx

OSI model (7 LAYER )
OSI model (7 LAYER )OSI model (7 LAYER )
OSI model (7 LAYER )
AAKASH S
 
Osi , tcp/ip protocol and Addressing
Osi , tcp/ip protocol and Addressing Osi , tcp/ip protocol and Addressing
Osi , tcp/ip protocol and Addressing
marwan aldulaimy
 
OSI - OSI Reference Model and TCP (Transmission Control Protocol)
OSI - OSI Reference Model and TCP (Transmission Control Protocol)OSI - OSI Reference Model and TCP (Transmission Control Protocol)
OSI - OSI Reference Model and TCP (Transmission Control Protocol)
Dktechnozone.in
 
Lecture 2 -_understanding_networks_with_presenter_notes
Lecture 2 -_understanding_networks_with_presenter_notesLecture 2 -_understanding_networks_with_presenter_notes
Lecture 2 -_understanding_networks_with_presenter_notes
Serious_SamSoul
 
unit-1fon (1).pptx
unit-1fon (1).pptxunit-1fon (1).pptx
unit-1fon (1).pptx
DeepVala5
 
osi-tcp ppt 1.pptx........................
osi-tcp ppt 1.pptx........................osi-tcp ppt 1.pptx........................
osi-tcp ppt 1.pptx........................
swarnimprateek
 
Assignment3
Assignment3Assignment3
Assignment3
MahfujurRahman63
 
Osi model
Osi modelOsi model
Osi model
dhawal mehta
 
Bt0072 computer networks 1
Bt0072 computer networks  1Bt0072 computer networks  1
Bt0072 computer networks 1
Techglyphs
 
OSI reference Model
OSI reference ModelOSI reference Model
OSI reference Model
Johnson Ubah
 
Protocols
ProtocolsProtocols
Protocols
Aashima Wadhwa
 
Osi model 7 Layers
Osi model 7 LayersOsi model 7 Layers
Osi model 7 Layers
Siddique Ibrahim
 
Lecture 3- tcp-ip
Lecture  3- tcp-ipLecture  3- tcp-ip
Lecture 3- tcp-ip
Saman M. Almufti
 
Bhargava Presentation.ppt
Bhargava Presentation.pptBhargava Presentation.ppt
Bhargava Presentation.ppt
EnumulaBhargava1
 
Bhargava Presentation.ppt
Bhargava Presentation.pptBhargava Presentation.ppt
Bhargava Presentation.ppt
EnumulaBhargava1
 
Week2 lec2-bscs1
Week2 lec2-bscs1Week2 lec2-bscs1
Week2 lec2-bscs1
syedhaiderraza
 
Internet basics and Cloud Computing- Manish Jha
Internet basics and Cloud Computing- Manish JhaInternet basics and Cloud Computing- Manish Jha
Internet basics and Cloud Computing- Manish Jha
manish jha
 
Manish Jha- Research Scholar- Internet Basics Requriement
Manish Jha- Research Scholar- Internet Basics RequriementManish Jha- Research Scholar- Internet Basics Requriement
Manish Jha- Research Scholar- Internet Basics Requriement
Manish Jha
 

Similar to OSI model.pptx (20)

OSI model (7 LAYER )
OSI model (7 LAYER )OSI model (7 LAYER )
OSI model (7 LAYER )
 
Osi , tcp/ip protocol and Addressing
Osi , tcp/ip protocol and Addressing Osi , tcp/ip protocol and Addressing
Osi , tcp/ip protocol and Addressing
 
OSI - OSI Reference Model and TCP (Transmission Control Protocol)
OSI - OSI Reference Model and TCP (Transmission Control Protocol)OSI - OSI Reference Model and TCP (Transmission Control Protocol)
OSI - OSI Reference Model and TCP (Transmission Control Protocol)
 
Lecture 2 -_understanding_networks_with_presenter_notes
Lecture 2 -_understanding_networks_with_presenter_notesLecture 2 -_understanding_networks_with_presenter_notes
Lecture 2 -_understanding_networks_with_presenter_notes
 
unit-1fon (1).pptx
unit-1fon (1).pptxunit-1fon (1).pptx
unit-1fon (1).pptx
 
osi-tcp ppt 1.pptx........................
osi-tcp ppt 1.pptx........................osi-tcp ppt 1.pptx........................
osi-tcp ppt 1.pptx........................
 
Assignment3
Assignment3Assignment3
Assignment3
 
Osi model
Osi modelOsi model
Osi model
 
Ccna introduction
Ccna introductionCcna introduction
Ccna introduction
 
Bt0072 computer networks 1
Bt0072 computer networks  1Bt0072 computer networks  1
Bt0072 computer networks 1
 
OSI reference Model
OSI reference ModelOSI reference Model
OSI reference Model
 
Protocols
ProtocolsProtocols
Protocols
 
Osi model 7 Layers
Osi model 7 LayersOsi model 7 Layers
Osi model 7 Layers
 
Lecture 3- tcp-ip
Lecture  3- tcp-ipLecture  3- tcp-ip
Lecture 3- tcp-ip
 
Bhargava Presentation.ppt
Bhargava Presentation.pptBhargava Presentation.ppt
Bhargava Presentation.ppt
 
Bhargava Presentation.ppt
Bhargava Presentation.pptBhargava Presentation.ppt
Bhargava Presentation.ppt
 
Week 2
Week 2Week 2
Week 2
 
Week2 lec2-bscs1
Week2 lec2-bscs1Week2 lec2-bscs1
Week2 lec2-bscs1
 
Internet basics and Cloud Computing- Manish Jha
Internet basics and Cloud Computing- Manish JhaInternet basics and Cloud Computing- Manish Jha
Internet basics and Cloud Computing- Manish Jha
 
Manish Jha- Research Scholar- Internet Basics Requriement
Manish Jha- Research Scholar- Internet Basics RequriementManish Jha- Research Scholar- Internet Basics Requriement
Manish Jha- Research Scholar- Internet Basics Requriement
 

Recently uploaded

Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 

Recently uploaded (20)

Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 

OSI model.pptx

  • 1. OSI vs TCP/IP Model  OSI Reference Model - internationally standardised network architecture.  OSI = Open Systems Interconnection: deals with open systems, i.e. systems open for communications with other systems. 1
  • 2. Computer Network Components Computer with NIC (PCs, laptops, handhelds) Routers & switches (IP router, Ethernet switch) Links” Transmission media” (wired, wireless) Protocols (IP, TCP, CSMA/CD, CSMA/CA) Applications (services) User 2
  • 3.  A protocol is required when two entities need to communicate.  When communication is not simple, we may divide the complex task of communication into several layers.  The sending computer must:  Recognize the data.  Divide the data into manageable chunks.  Add information to each chunk of data to determine the location of the data and to identify the receiver.  Add timing and error-checking information.  Put the data on the network and send it on its way. 3 PROTOCOL LAYERS
  • 4. • Established in 1947, the International Standards Organization (ISO) is a multinational body dedicated to worldwide agreement on international standards. • Almost three-fourths of countries in the world are represented in the ISO. • An ISO standard that covers all aspects of network communications is the Open Systems Interconnection (OSI) model. • It was first introduced in the late 1970s. 4 THE OSI MODEL
  • 5. OSI Model Applicatio n 7th Layer User Prepare message Presentation 6th Layer Message is translated, encrypted and minimized Session 5th Layer Security checks message, adds checkpoints to ensure that receiver receives whole message Transport 4th Layer Message is analysed, combined if necessary and broken into smaller pieces Network 3rd Layer check the message, determine the address, indicate fastest route to desination Data Link 2nd Layer Message placed in special packet contains message, sender and destination ID Physical 1st Layer Data transferred
  • 7. 7 An exchange using the OSI model ( Encapsulation)
  • 9.  The TCP/IP protocol suite was developed prior to the OSI model.  Therefore, the layers in the TCP/IP protocol suite do not match exactly with those in the OSI model. • Troubleshooting, file sharing, internet Application • Flow control, error control Transport • IP addressing and routing of network traffic Internet • Interface with the physical network Network Access 9 TCP/IP Model
  • 10. Comparison between OSI and TCP/IP IOS Model Application Presentation Session Transport Network Data Link Physical TCP/IP Model Application Transport Internet Network Access
  • 12. LAYERS IN THE OSI MODEL Physical layer  defines the procedures and functions that physical devices and interfaces have to perform for transmission occur.  The physical layer is concerned with the following:  Physical characteristics of interfaces and media:  Representation of the bits  Data rate, the number of bits sent each second.  Line configuration, Point to point or multipoint configuration.  Physical topology  Transmission Mode : Simplex, half duplex or full duplex
  • 13. 13 Communication at the physical layer A Physical layer Physical layer R1 R3 R4 B Source Destination Legend 011 ... 101 0 1 1 . . . 1 0 1 011 ... 101 011 ... 101 Link 3 Link 5 Link 6 Link 1
  • 14. 14 The unit of communication at the physical layer is a bit.
  • 15. Data Link Layer  The data link layer transforms the physical layer, a raw transmission facility, to a reliable link and is responsible for node-to-node delivery.  The Data Link layer is concerned with the following:  Framing.  Physical addressing, each node has its unique address.  Flow Control.  Access Control.  Error control, normally achieved through a trailer to the end of the frame.
  • 16. 16 Communication at the data link layer A Physical Physical Data link Data link R1 R3 R4 B Source Destination Data D Header H Legend Link 1 Link 3 Link 5 Link 6 Frame D2 H2 F r a m e D 2 H 2 Frame D2 H2 Frame D2 H2
  • 17. 17 The unit of communication at the data link layer is a frame. Note
  • 18. Network Layer • Is responsible for the source-to-destination delivery of a packet possible across multiple networks.  Functions: • Logical addressing. • Routing, It determines which path the data should take based on network conditions, priority of service, and other factors.
  • 19. 19 The unit of communication at the network layer is a datagram (Packet).
  • 20. Transport Layer  The transport layer is responsible for process-to-process delivery of the entire message.  Makes sure that the data arrives without errors, in the proper sequence and in a reliable condition.  Functions:  Port addressing, The network layer gets each packet to the correct computer; the transport layer gets the entire message to the correct process on that computer.  Segmentation and reassembly: a message is divided into transmittable segments, each having a sequence number  Connection control: The transport layer can be either connectionless or connection-oriented.  Flow control  Error control
  • 21. 21 Communication at transport layer A Physical Physical Data link Data link R1 R3 R4 B Network Network Transport Transport Source Destination Data D Header H Legend Segment D4 H4 Segment D4 H4
  • 22. 22 The unit of communication at the transport layer is a segment, user datagram, or a packet, depending on the specific protocol used in this layer.
  • 23. Session Layer  the session layer, allows two applications on different computers to open, use, and close a connection called a session.  (A session is a highly structured dialog between two workstations.)  Functions:  Dialog control  It also makes sure the session is orderly, establishing which node transmits first, how long it can transmit, and what to do in case of an error.  It performs name-recognition and other functions, such as security, that are needed to allow two applications to communicate over the network.  Synchronization  The session layer synchronizes user tasks by placing checkpoints in the data stream.  The checkpoints break the data into smaller groups for error detection. It allows information of different streams, perhaps originating from different sources, to be properly combined or synchronized.  An example application is web conferencing, in which the streams of audio and video must be synchronous to avoid so-called lip synch problems. It ensures that the person displayed on screen is the current speaker.
  • 24. presentation layer  The presentation layer is responsible for translation, compression, and encryption.  Deals with the actual formatting of the data.  For example, data might be converted from EBCDIC to ASCII formatting so that the receiving node can understand it.
  • 25. Application Layer  This layer relates to the services that directly provide user interfaces support user applications or services, such as software for file transfers, database access, and e-mail.  In other words, it serves as a window through which application processes can access network services.  The application layer enables the user to access the network.  This would be the layer that a programmer uses to allow his application to access a network service, such as linking into a database.
  • 26. 26 Communication at application layer A Physical Physical Data link Data link R1 R3 R4 B Network Network Transport Transport Application Application Source Destination Data D Header H Legend Message D5 D5 D5 D5 Message
  • 27. 27 The unit of communication at the application layer is a message.
  • 28.  Four levels of addresses are used in an internet employing the TCP/IP protocols:  physical address  logical address  port address  application-specific address. 28 ADDRESSING
  • 29. Each address is related to a one layer in the TCP/IP architecture, as shown in Figure. IOS Model Application Presentation Session Transport Network Data Link Physical TCP/IP Model Application Transport Internet Network Access Logic Address Port Address Application Spec. Address Physical Address
  • 30. 30 Example 1: physical addresses Data 87 10 1 packet accepted Data 87 10 4
  • 31. 31 As we will see later, most local area networks represent the physical address in two ways: • IPv4 • use a 32-bit (4-byte) physical address written as decimal digits; every byte (2 hexadecimal digits) is separated by a dot, as shown below • IPv6 ( new version) • use a 48-bit (6-byte) physical address written as 12 hexadecimal digits; every byte (2 hexadecimal digits) is separated by a colon, as shown below: Example 1 07:01:02:01:2C:4B A 6-byte (12 hexadecimal digits) physical address 128.7.0.0 A 4-byte (a byte represent 8 bits called octet ) physical address
  • 32. 32 Example 2: logical addresses Data A P 20 10 Data A P 20 10 Physical addresses changed Data A P 33 99 Data A P 33 99 Physical addresses changed Data A P 95 66 Data A P 95 66
  • 33. 33 The physical addresses will change from hop to hop, but the logical addresses remain the same. Note
  • 34. 34 A Sender Receiver P Internet Example 3: port numbers a Data j A P H2 a Data j A P a Data j Data a Data j A P H2 a Data j A P a Data j Data
  • 35. 35 The physical addresses change from hop to hop, but the logical and port addresses usually remain the same. Note
  • 36. 36 a port address is a 16-bit address represented by one decimal number as shown. Example 3 753 A 16-bit port address represented as one single number