SlideShare a Scribd company logo
1 of 28
Protocol Architecture
The “Common Language”
Copyright by Jorg Liebeherr 98, 99
Need for Protocols
 Protocols are a set of rules and
conventions. By enforcing that
communicating parties adhere to a
common protocol, communication
is made possible.
Copyright by Jorg Liebeherr 98, 99
Network Architecture
 A Network Architecture is a
structured set of protocols that
implement the exchange of
information between computers
Copyright by Jorg Liebeherr 98, 99
Programming the
Communication
 Any complex programming task is made
simpler by using several levels of abstraction
 Abstraction hides the programming details of
lower levels
 Communication tasks give rise to standard
abstractions
 Committees such as the IETF (Internet
Engineering Task Force) are in charge for
standardizing the abstractions related to
internet communication
Copyright by Jorg Liebeherr 98, 99
The Levels of Abstraction
 Multiple levels of communication abstractions
have been defined by standardization bodies
 Each level is enforced by a corresponding
protocol
 Each level uses the abstract services of the
level below
 Abstraction achieves separation of concerns
 A protocol needn’t know how the lower-level
abstractions are implemented and what the higher
level abstractions are.
Copyright by Jorg Liebeherr 98, 99
Layered Network Architecture
 In a Layered Network Architecture, the
services are grouped in a hierarchy of layers.
 A protocol of layer N uses only services of layer N-1.
 A protocol of layer N provides services only to layer
N+1.
A
C
E
B
D E
B layer 3
layer 2
layer 1
not layered layered
A
C
D
Copyright by Jorg Liebeherr 98, 99
Service Primitives
N+1 Layer
Entity
N+1 Layer
Entity
N Layer
Entity
N Layer
Entity
N+1 Layer Protocol
X. Request X. Indication X. Response
X. Confirm
 Assume that some protocol implements
service “X”.
Copyright by Jorg Liebeherr 98, 99
Service Primitives
Recall: A layer N+1 protocol entity sees the
lower layers only as an abstract service
provider
N+1 Layer
Entity
N+1 Layer
Entity
N+1 Layer Protocol
X. Request X. Indication
X. Confirm
Service Provider
X. Response
Copyright by Jorg Liebeherr 98, 99
Example: Sending a Letter
Bob’s
mailbox
Bob Alice
Alice’s
mailbox
Postman
Logical flow of information
Copyright by Jorg Liebeherr 98, 99
(Un-)Acknowledged Service
 Unconfirmed service:
 Acknowledged service:
US Mail
L.Request L.Indicate
L.Indicate
L.Confirm
US Mail
L.Request L.Indicate
Copyright by Jorg Liebeherr 98, 99
Protocol Architectures
 There are only few protocol
architectures that are relevant
today:
 OSI Reference Model
 TCP/IP Protocols Suite
 ATM Protocol Stack
Copyright by Jorg Liebeherr 98, 99
OSI Reference Model
 The OSI model defines seven layers:
Layer 7: Application Layer
Layer 6: Presentation Layer
Layer 5: Session Layer
Layer 4: Transport Layer
Layer 3: Network Layer
Layer 2: Data Link Layer
Layer 1: Physical Layer
Interconnection Media
Copyright by Jorg Liebeherr 98, 99
OSI Layers
Phy sical
Lay er
Phy sical
Lay er
Phy sical
Lay er
Phy sical
Lay er
Data Link
Lay er
Data Link
Lay er
Data Link
Lay er
Data Link
Lay er
Network
Lay er
Session
Lay er
Session
Lay er
Transport
Lay er
Transport
Lay er
Application
Lay er
Application
Lay er
Presentation
Lay er
Presentation
Lay er
Network
Lay er
Network
Lay er
Network
Lay er
Application
HOST
NODE
HOST
NODE
Application
Copyright by Jorg Liebeherr 98, 99
OSI Layers and Encapsulation
Phy sical
Lay er
Phy sical
Lay er
Data Link
Lay er
Data Link
Lay er
Network
Lay er
Session
Lay er
Session
Lay er
Transport
Lay er
Transport
Lay er
Application
Lay er
Application
Lay er
Presentation
Lay er
Presentation
Lay er
Network
Lay er
Application Application
AH
PH
SH
TH
NH
DH
Bits
Data
AH Data
PH AH Data
SH PH AH Data
TH SH PH AH Data
NH TH SH PH AH Data
Data
Application
Data
Header of
Application
Layer
Copyright by Jorg Liebeherr 98, 99
OSI Model in a Switched
Communication Network
Transport
Session
Presentation
Application
Transport
Session
Presentation
Application
Physical
Data Link
Network
Physical
Data Link
Network
Physical
Data Link
Network
Physical
Data Link
Network
Physical
Data Link
Network
Physical
Data Link
Network
Station (Host)
Node (Router)
Copyright by Jorg Liebeherr 98, 99
A Tour of the OSI Layers
 Physical Layer (Layer 1):
 Converts bits into electrical or optical
signals
 Transmits these signals over the hardware
communication medium
 Example: RS-232
Copyright by Jorg Liebeherr 98, 99
A Tour of the OSI Layers
 Data Link Layer (Layer 2):
 Reliably transfers frames over a link
 Performs synchronization, error control,
flow control
 Example: PPP
Copyright by Jorg Liebeherr 98, 99
A Tour of the OSI Layers
 Network Layer (Layer 3):
 Moves packets inside the network
 Performs routing, addressing, switching,
congestion control
 Example: IP
Copyright by Jorg Liebeherr 98, 99
A Tour of the OSI Layers
 Transport Layer (Layer 4):
 Controls delivery of data between hosts
 Connection management, error control,
flow control, multiplexing, TCP, UDP.
Copyright by Jorg Liebeherr 98, 99
A Tour of the OSI Layers
 Session Layer (Layer 5):
 Support the dialog between cooperating
application programs
 Session management, synchronization
 Example: RPC
Copyright by Jorg Liebeherr 98, 99
A Tour of the OSI Layers
 Presentation Layer (Layer 6):
 Data conversion into application format
 Encryption/decryption
 Secure sockets
Copyright by Jorg Liebeherr 98, 99
A Tour of the OSI Layers
 Application Layer (Layer 7):
 Provides network access to application
programs
 Everything is application specific
 Example: File Transfer, Electronic Mail
Copyright by Jorg Liebeherr 98, 99
TCP/IP Protocol Suite
 The TCP/IP protocol suite
was first defined in 1974
 The TCP/IP protocol suite
is the protocol
architecture of the
Internet
 The TCP/IP suite has four
layers:
Application, Transport,
Internet, and Network
Interface Layer
Application
Layer
Transport
Layer
Internet
Network
Interface
telnet, ftp, email
TCP, UDP
IP, ICMP, IGMP
Device Drivers
Copyright by Jorg Liebeherr 98, 99
Example: File Transfer
FTP
program
TCP
IP
Ethernet
Driver
Ethernet
Driver
Ethernet
Driver
IP
FTP
program
TCP
IP
Ethernet
Driver
FTP protocol
TCP protocol
IP protocol IP protocol
Ethernet
protocol
Ethernet
protocol
Host A Router Host B
Copyright by Jorg Liebeherr 98, 99
Encapsulation in the TCP/IP
Suite
Application
TCP
IP
Ethernet
Driver
User data
User data
Application
Header
Application data
TCP Header
Application data
TCP Header
IP Header
Application data
TCP Header
IP Header
Ethernet
Header
Ethernet
Trailer
IP datagram
TCP segment
Ethernet frame
Copyright by Jorg Liebeherr 98, 99
TCP/IP Protocol Suite
Application
Layer
Network
Layer
Link Layer
IP
ARP
Hardware
Interface
RARP
Media
ICMP IGMP
Transport
Layer
TCP UDP
User
Process
User
Process
User
Process
User
Process
Copyright by Jorg Liebeherr 98, 99
Comparison of OSI Model and
TCP/IP Suite
Application
Presentation
Session
Transport
Network
Data Link
Physical
Application
Transport
Internetwork
Network
Access
Physical
OSI TCP/IP
Copyright by Jorg Liebeherr 98, 99
Quiz
 Name one function of the network layer

More Related Content

Similar to 40-Net-intro2.ppt

02 Network Models(강의용)
02 Network Models(강의용)02 Network Models(강의용)
02 Network Models(강의용)
guestafa80f
 
ETE405-lec7.pptx
ETE405-lec7.pptxETE405-lec7.pptx
ETE405-lec7.pptx
mashiur
 
osi-tcp ppt 1.pptx........................
osi-tcp ppt 1.pptx........................osi-tcp ppt 1.pptx........................
osi-tcp ppt 1.pptx........................
swarnimprateek
 
The TCP/IP and OSI models
The TCP/IP and OSI modelsThe TCP/IP and OSI models
The TCP/IP and OSI models
Jake Weaver
 
ETE405-lec7.ppt
ETE405-lec7.pptETE405-lec7.ppt
ETE405-lec7.ppt
mashiur
 
CCNA 200-301 Chapter 1-Introduction to TCP IP Networking.pptx
CCNA 200-301 Chapter 1-Introduction to TCP IP Networking.pptxCCNA 200-301 Chapter 1-Introduction to TCP IP Networking.pptx
CCNA 200-301 Chapter 1-Introduction to TCP IP Networking.pptx
BabarYunus1
 
CSC1202_3_The_OSI_Reference_Model_-_V2.pdf
CSC1202_3_The_OSI_Reference_Model_-_V2.pdfCSC1202_3_The_OSI_Reference_Model_-_V2.pdf
CSC1202_3_The_OSI_Reference_Model_-_V2.pdf
BoostHub
 

Similar to 40-Net-intro2.ppt (20)

Lecture 02 networking
Lecture 02 networkingLecture 02 networking
Lecture 02 networking
 
02 Network Models(강의용)
02 Network Models(강의용)02 Network Models(강의용)
02 Network Models(강의용)
 
osi and tcpip.ppt
osi and tcpip.pptosi and tcpip.ppt
osi and tcpip.ppt
 
Osi and tcpip
Osi and tcpipOsi and tcpip
Osi and tcpip
 
osi-tcp.ppt
osi-tcp.pptosi-tcp.ppt
osi-tcp.ppt
 
Tcp/Ip Model
Tcp/Ip ModelTcp/Ip Model
Tcp/Ip Model
 
Automation Networking By Shivam Singh
Automation Networking By Shivam SinghAutomation Networking By Shivam Singh
Automation Networking By Shivam Singh
 
Network model on Computer Communication - M1
Network model on Computer Communication  - M1Network model on Computer Communication  - M1
Network model on Computer Communication - M1
 
ETE405-lec7.pptx
ETE405-lec7.pptxETE405-lec7.pptx
ETE405-lec7.pptx
 
osi-tcp ppt 1.pptx........................
osi-tcp ppt 1.pptx........................osi-tcp ppt 1.pptx........................
osi-tcp ppt 1.pptx........................
 
The TCP/IP and OSI models
The TCP/IP and OSI modelsThe TCP/IP and OSI models
The TCP/IP and OSI models
 
ETE405-lec7.ppt
ETE405-lec7.pptETE405-lec7.ppt
ETE405-lec7.ppt
 
Ch4 Protocols.pptx
Ch4 Protocols.pptxCh4 Protocols.pptx
Ch4 Protocols.pptx
 
Avani
AvaniAvani
Avani
 
Ch4 Protocols.pptx
Ch4 Protocols.pptxCh4 Protocols.pptx
Ch4 Protocols.pptx
 
Chapter 5 introduction to computer communication networks
Chapter 5   introduction to computer communication networksChapter 5   introduction to computer communication networks
Chapter 5 introduction to computer communication networks
 
CCNA 200-301 Chapter 1-Introduction to TCP IP Networking.pptx
CCNA 200-301 Chapter 1-Introduction to TCP IP Networking.pptxCCNA 200-301 Chapter 1-Introduction to TCP IP Networking.pptx
CCNA 200-301 Chapter 1-Introduction to TCP IP Networking.pptx
 
Transmission Control Protocol
Transmission Control ProtocolTransmission Control Protocol
Transmission Control Protocol
 
INTRODUCTION TO INTERNET PROTOCOL BY SAIKIRAN PANJALA
INTRODUCTION TO INTERNET PROTOCOL BY SAIKIRAN PANJALAINTRODUCTION TO INTERNET PROTOCOL BY SAIKIRAN PANJALA
INTRODUCTION TO INTERNET PROTOCOL BY SAIKIRAN PANJALA
 
CSC1202_3_The_OSI_Reference_Model_-_V2.pdf
CSC1202_3_The_OSI_Reference_Model_-_V2.pdfCSC1202_3_The_OSI_Reference_Model_-_V2.pdf
CSC1202_3_The_OSI_Reference_Model_-_V2.pdf
 

More from ImXaib

ERD introduction in databases model.pptx
ERD introduction in databases model.pptxERD introduction in databases model.pptx
ERD introduction in databases model.pptx
ImXaib
 
SDA presentation the basics of computer science .pptx
SDA presentation the basics of computer science .pptxSDA presentation the basics of computer science .pptx
SDA presentation the basics of computer science .pptx
ImXaib
 
terminal a clear presentation on the topic.pptx
terminal a clear presentation on the topic.pptxterminal a clear presentation on the topic.pptx
terminal a clear presentation on the topic.pptx
ImXaib
 
What is Machine Learning_updated documents.pptx
What is Machine Learning_updated documents.pptxWhat is Machine Learning_updated documents.pptx
What is Machine Learning_updated documents.pptx
ImXaib
 
Grid Computing and it's applications.PPTX
Grid Computing and it's applications.PPTXGrid Computing and it's applications.PPTX
Grid Computing and it's applications.PPTX
ImXaib
 
lecture2.ppt
lecture2.pptlecture2.ppt
lecture2.ppt
ImXaib
 
lec3_10.ppt
lec3_10.pptlec3_10.ppt
lec3_10.ppt
ImXaib
 
Fullandparavirtualization.ppt
Fullandparavirtualization.pptFullandparavirtualization.ppt
Fullandparavirtualization.ppt
ImXaib
 
mis9_ch08_ppt.ppt
mis9_ch08_ppt.pptmis9_ch08_ppt.ppt
mis9_ch08_ppt.ppt
ImXaib
 
rooster-ipsecindepth.ppt
rooster-ipsecindepth.pptrooster-ipsecindepth.ppt
rooster-ipsecindepth.ppt
ImXaib
 
Policy formation and enforcement.ppt
Policy formation and enforcement.pptPolicy formation and enforcement.ppt
Policy formation and enforcement.ppt
ImXaib
 
Database schema architecture.ppt
Database schema architecture.pptDatabase schema architecture.ppt
Database schema architecture.ppt
ImXaib
 
Transport layer security.ppt
Transport layer security.pptTransport layer security.ppt
Transport layer security.ppt
ImXaib
 
Trends in DM.pptx
Trends in DM.pptxTrends in DM.pptx
Trends in DM.pptx
ImXaib
 
AleksandrDoroninSlides.ppt
AleksandrDoroninSlides.pptAleksandrDoroninSlides.ppt
AleksandrDoroninSlides.ppt
ImXaib
 
dm15-visualization-data-mining.ppt
dm15-visualization-data-mining.pptdm15-visualization-data-mining.ppt
dm15-visualization-data-mining.ppt
ImXaib
 

More from ImXaib (20)

ERD introduction in databases model.pptx
ERD introduction in databases model.pptxERD introduction in databases model.pptx
ERD introduction in databases model.pptx
 
SDA presentation the basics of computer science .pptx
SDA presentation the basics of computer science .pptxSDA presentation the basics of computer science .pptx
SDA presentation the basics of computer science .pptx
 
terminal a clear presentation on the topic.pptx
terminal a clear presentation on the topic.pptxterminal a clear presentation on the topic.pptx
terminal a clear presentation on the topic.pptx
 
What is Machine Learning_updated documents.pptx
What is Machine Learning_updated documents.pptxWhat is Machine Learning_updated documents.pptx
What is Machine Learning_updated documents.pptx
 
Grid Computing and it's applications.PPTX
Grid Computing and it's applications.PPTXGrid Computing and it's applications.PPTX
Grid Computing and it's applications.PPTX
 
Firewall.pdf
Firewall.pdfFirewall.pdf
Firewall.pdf
 
4966709.ppt
4966709.ppt4966709.ppt
4966709.ppt
 
lecture2.ppt
lecture2.pptlecture2.ppt
lecture2.ppt
 
Tools.pptx
Tools.pptxTools.pptx
Tools.pptx
 
lec3_10.ppt
lec3_10.pptlec3_10.ppt
lec3_10.ppt
 
ch12.ppt
ch12.pptch12.ppt
ch12.ppt
 
Fullandparavirtualization.ppt
Fullandparavirtualization.pptFullandparavirtualization.ppt
Fullandparavirtualization.ppt
 
mis9_ch08_ppt.ppt
mis9_ch08_ppt.pptmis9_ch08_ppt.ppt
mis9_ch08_ppt.ppt
 
rooster-ipsecindepth.ppt
rooster-ipsecindepth.pptrooster-ipsecindepth.ppt
rooster-ipsecindepth.ppt
 
Policy formation and enforcement.ppt
Policy formation and enforcement.pptPolicy formation and enforcement.ppt
Policy formation and enforcement.ppt
 
Database schema architecture.ppt
Database schema architecture.pptDatabase schema architecture.ppt
Database schema architecture.ppt
 
Transport layer security.ppt
Transport layer security.pptTransport layer security.ppt
Transport layer security.ppt
 
Trends in DM.pptx
Trends in DM.pptxTrends in DM.pptx
Trends in DM.pptx
 
AleksandrDoroninSlides.ppt
AleksandrDoroninSlides.pptAleksandrDoroninSlides.ppt
AleksandrDoroninSlides.ppt
 
dm15-visualization-data-mining.ppt
dm15-visualization-data-mining.pptdm15-visualization-data-mining.ppt
dm15-visualization-data-mining.ppt
 

Recently uploaded

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 

Recently uploaded (20)

INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 

40-Net-intro2.ppt

  • 2. Copyright by Jorg Liebeherr 98, 99 Need for Protocols  Protocols are a set of rules and conventions. By enforcing that communicating parties adhere to a common protocol, communication is made possible.
  • 3. Copyright by Jorg Liebeherr 98, 99 Network Architecture  A Network Architecture is a structured set of protocols that implement the exchange of information between computers
  • 4. Copyright by Jorg Liebeherr 98, 99 Programming the Communication  Any complex programming task is made simpler by using several levels of abstraction  Abstraction hides the programming details of lower levels  Communication tasks give rise to standard abstractions  Committees such as the IETF (Internet Engineering Task Force) are in charge for standardizing the abstractions related to internet communication
  • 5. Copyright by Jorg Liebeherr 98, 99 The Levels of Abstraction  Multiple levels of communication abstractions have been defined by standardization bodies  Each level is enforced by a corresponding protocol  Each level uses the abstract services of the level below  Abstraction achieves separation of concerns  A protocol needn’t know how the lower-level abstractions are implemented and what the higher level abstractions are.
  • 6. Copyright by Jorg Liebeherr 98, 99 Layered Network Architecture  In a Layered Network Architecture, the services are grouped in a hierarchy of layers.  A protocol of layer N uses only services of layer N-1.  A protocol of layer N provides services only to layer N+1. A C E B D E B layer 3 layer 2 layer 1 not layered layered A C D
  • 7. Copyright by Jorg Liebeherr 98, 99 Service Primitives N+1 Layer Entity N+1 Layer Entity N Layer Entity N Layer Entity N+1 Layer Protocol X. Request X. Indication X. Response X. Confirm  Assume that some protocol implements service “X”.
  • 8. Copyright by Jorg Liebeherr 98, 99 Service Primitives Recall: A layer N+1 protocol entity sees the lower layers only as an abstract service provider N+1 Layer Entity N+1 Layer Entity N+1 Layer Protocol X. Request X. Indication X. Confirm Service Provider X. Response
  • 9. Copyright by Jorg Liebeherr 98, 99 Example: Sending a Letter Bob’s mailbox Bob Alice Alice’s mailbox Postman Logical flow of information
  • 10. Copyright by Jorg Liebeherr 98, 99 (Un-)Acknowledged Service  Unconfirmed service:  Acknowledged service: US Mail L.Request L.Indicate L.Indicate L.Confirm US Mail L.Request L.Indicate
  • 11. Copyright by Jorg Liebeherr 98, 99 Protocol Architectures  There are only few protocol architectures that are relevant today:  OSI Reference Model  TCP/IP Protocols Suite  ATM Protocol Stack
  • 12. Copyright by Jorg Liebeherr 98, 99 OSI Reference Model  The OSI model defines seven layers: Layer 7: Application Layer Layer 6: Presentation Layer Layer 5: Session Layer Layer 4: Transport Layer Layer 3: Network Layer Layer 2: Data Link Layer Layer 1: Physical Layer Interconnection Media
  • 13. Copyright by Jorg Liebeherr 98, 99 OSI Layers Phy sical Lay er Phy sical Lay er Phy sical Lay er Phy sical Lay er Data Link Lay er Data Link Lay er Data Link Lay er Data Link Lay er Network Lay er Session Lay er Session Lay er Transport Lay er Transport Lay er Application Lay er Application Lay er Presentation Lay er Presentation Lay er Network Lay er Network Lay er Network Lay er Application HOST NODE HOST NODE Application
  • 14. Copyright by Jorg Liebeherr 98, 99 OSI Layers and Encapsulation Phy sical Lay er Phy sical Lay er Data Link Lay er Data Link Lay er Network Lay er Session Lay er Session Lay er Transport Lay er Transport Lay er Application Lay er Application Lay er Presentation Lay er Presentation Lay er Network Lay er Application Application AH PH SH TH NH DH Bits Data AH Data PH AH Data SH PH AH Data TH SH PH AH Data NH TH SH PH AH Data Data Application Data Header of Application Layer
  • 15. Copyright by Jorg Liebeherr 98, 99 OSI Model in a Switched Communication Network Transport Session Presentation Application Transport Session Presentation Application Physical Data Link Network Physical Data Link Network Physical Data Link Network Physical Data Link Network Physical Data Link Network Physical Data Link Network Station (Host) Node (Router)
  • 16. Copyright by Jorg Liebeherr 98, 99 A Tour of the OSI Layers  Physical Layer (Layer 1):  Converts bits into electrical or optical signals  Transmits these signals over the hardware communication medium  Example: RS-232
  • 17. Copyright by Jorg Liebeherr 98, 99 A Tour of the OSI Layers  Data Link Layer (Layer 2):  Reliably transfers frames over a link  Performs synchronization, error control, flow control  Example: PPP
  • 18. Copyright by Jorg Liebeherr 98, 99 A Tour of the OSI Layers  Network Layer (Layer 3):  Moves packets inside the network  Performs routing, addressing, switching, congestion control  Example: IP
  • 19. Copyright by Jorg Liebeherr 98, 99 A Tour of the OSI Layers  Transport Layer (Layer 4):  Controls delivery of data between hosts  Connection management, error control, flow control, multiplexing, TCP, UDP.
  • 20. Copyright by Jorg Liebeherr 98, 99 A Tour of the OSI Layers  Session Layer (Layer 5):  Support the dialog between cooperating application programs  Session management, synchronization  Example: RPC
  • 21. Copyright by Jorg Liebeherr 98, 99 A Tour of the OSI Layers  Presentation Layer (Layer 6):  Data conversion into application format  Encryption/decryption  Secure sockets
  • 22. Copyright by Jorg Liebeherr 98, 99 A Tour of the OSI Layers  Application Layer (Layer 7):  Provides network access to application programs  Everything is application specific  Example: File Transfer, Electronic Mail
  • 23. Copyright by Jorg Liebeherr 98, 99 TCP/IP Protocol Suite  The TCP/IP protocol suite was first defined in 1974  The TCP/IP protocol suite is the protocol architecture of the Internet  The TCP/IP suite has four layers: Application, Transport, Internet, and Network Interface Layer Application Layer Transport Layer Internet Network Interface telnet, ftp, email TCP, UDP IP, ICMP, IGMP Device Drivers
  • 24. Copyright by Jorg Liebeherr 98, 99 Example: File Transfer FTP program TCP IP Ethernet Driver Ethernet Driver Ethernet Driver IP FTP program TCP IP Ethernet Driver FTP protocol TCP protocol IP protocol IP protocol Ethernet protocol Ethernet protocol Host A Router Host B
  • 25. Copyright by Jorg Liebeherr 98, 99 Encapsulation in the TCP/IP Suite Application TCP IP Ethernet Driver User data User data Application Header Application data TCP Header Application data TCP Header IP Header Application data TCP Header IP Header Ethernet Header Ethernet Trailer IP datagram TCP segment Ethernet frame
  • 26. Copyright by Jorg Liebeherr 98, 99 TCP/IP Protocol Suite Application Layer Network Layer Link Layer IP ARP Hardware Interface RARP Media ICMP IGMP Transport Layer TCP UDP User Process User Process User Process User Process
  • 27. Copyright by Jorg Liebeherr 98, 99 Comparison of OSI Model and TCP/IP Suite Application Presentation Session Transport Network Data Link Physical Application Transport Internetwork Network Access Physical OSI TCP/IP
  • 28. Copyright by Jorg Liebeherr 98, 99 Quiz  Name one function of the network layer