SlideShare a Scribd company logo
SNS COLLEGE OF ENGINEERING
Kurumbapalayam(Po), Coimbatore – 641 107
Accredited by NAAC-UGC with ‘A’ Grade
Approved by AICTE, Recognized by UGC & Affiliated to Anna University, Chennai
Department of Information Technology
Course Name : CS8591 Computer Networks
III Year / V Sem
5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT
Unit 1: Introduction and Physical Layer
Topic 3: Protocol Layering
5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT
➢ A set of rules, govern how systems
communicate.
➢For networking they govern
how data is transferred from one
system to another.
What is a Protocol ?
A Human Protocol vs Computer
Protocol
2/20
5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT
A protocol suite is a collection of
protocols that are designed to
work together.
What is a Protocol Suite ?
3/20
5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT
Protocol Data Unit
• Specific block of information transferred over a network.
• It is often used in reference to the OSI model
• It describes the different types of data that are transferred from each layer.
4/20
5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT
Protocol Data Unit
The PDU for each layer of the OSI model is listed below.
LAYERS PDU
Physical layer raw bits (1s or 0s) transmitted physically via the hardware
Data Link layer a frame (or series of bits)
Network layer a packet that contains the source and destination address
Transport layer a segment that includes a TCP header and data
Session layer the data passed to the network connection
Presentation layer the data formatted for presentation
Application layer the data received or transmitted by a software application
5/20
5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT
Protocol Stacks
➢ A protocol stack is a prescribed hierarchy of software layers, starting from the application
layer at the top (the source of the data being sent) to the data link layer at the bottom
(transmitting the bits on the wire).
➢ The TCP/IP protocol stack is a good example.
○ Layer 1: Network Interface - Physical and Data layers
○ Layer 2: Internet - Network layer
○ Layer 3: Transport - Transport Control Protocol
○ Layer 4: Application - Session, Presentation and Application layers
6/20
5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT
Protocol Stacks
Layered Protocol Stacks:
➢ Each level of the stack performs a particular function and communicates with the levels above and
below it.
➢ The OSI Reference Model that defines seven protocol layers is often called a stack, as is the set of
TCP/IP protocols that define communication over the internet
7/20
5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT
Protocol Stacks
Example: Parcel service between two offices.
• The task is simple – send parcels between people in each office.
• We will divide the task into two distinct processes as follows:
⮚Take a package, wrap it and address it.
⮚Send it to the destination
• at the receiving end
⮚Receive the package
⮚Deliver it to the recipient
8/20
5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT
Protocol Stacks
Typically you would have an internal mail man that:
⮚ Collects the parcels from the senders and takes then to a mail dispatch room.
⮚ The parcels are placed in a van by the dispatcher and then driven to the remote
office.
•At the remote office
⮚ The parcels are received by the dispatcher and placed into a tray for the mail man
⮚ The mail man collects the parcels and delivers them to the recipients
9/20
5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT
Protocol Stacks
Components Functionality
Hostel
Letters
Students
Support
students
Generate
Letters
Components
Computer
Messages
Process
10/20
5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT
Protocol Stacks
Components Functionality
Hostel Boy
Infrastructure
Postman
Multiplexing /
Demultiplexing
Path of letters
Bundle of
letters
Transporting
Components
Routers
Software - hop
to hop
transfer
Hardware
Physical Cables
11/20
5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT
Here is a simple diagram to illustrate the process:
Protocol Stacks
12/20
5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT
Challenges
⮚ Large reach (International, National, Village)
⮚Need to be scalable (Many users)
⮚ Many user requirements (reliable, express, cheap)
⮚Heterogeneous Technology (Airplane, Trucks, Trains, etc.,)
13/20
5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT
Challenges
⮚ Complex System
⮚ Many users (Billions)
⮚ World wide reach
⮚ Many user requirements (reliable, express, cheap, interactive, multicast)
⮚ Heterogeneous Technology (Ethernet, Wireless, Bluetooth, Wifi, Cellular)
14/20
5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT
Challenges
⮚ Application - Support application processes which generates messages
(Email, Web, File transfer)
⮚ Transport - Supervise process to process communication - Multiplexing /
Demultiplexing messages (TCP, UDP)
⮚ Network - Enable end to end routing of messages (IP)
⮚ Data Link- Enable hop to hop messages transfer (Ethernet)
⮚ Physical - Enable bit transmission on media (Wire / air)
15/20
5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT
⮚ The question really is what is the advantage of splitting the task into
different layers/tasks?
Protocol Stacks
Any of the layers/tasks can be changed without affecting the other layers.
16/20
5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT
⮚ If we decide to use a train instead of a van to transport the messages between
the offices we could do so without affecting the mail man.
Protocol Stacks
The mail man doesn’t know, and doesn’t care, how the parcels are transported
between the offices, as all he does is collect them, and pass them to the delivery man.
17/20
5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT
Quiz
Multiple Choice Questions
1. ____________ are rules that govern communication exchange
a. Media b. Interface c. Protocols d. All the above
2. A ___________ is a collection of protocols that are designed to work together
a. TCP/IP b. Protocols c. OSI d. Protocol Suite
3. How many layers are present in the Internet protocol stack (TCP/IP model)
a. Four Layer b. Five Layer c. Six Layer d. Seven Layer
4. The Transmission Control Protocol divides the stream of data into smaller units
that are called ____________________
a. Frames b. Segments c. Packets d. Bits
18/20
THANK YOU !
5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT
SNSCE / IT/ Sem V / S Rijutha / AP / IT 19/20

More Related Content

PPTX
OSI MODEL
PPTX
Osi model vs TCP/IP
PDF
53426980 tcp-ip
PPT
iso osi model
PPTX
COMPUTER NETWORKS UNIT 1
PPTX
A Comprehensive Guide To Internet Protocols and Network Topologies
PPT
OSI MODEL - A PROJECT
OSI MODEL
Osi model vs TCP/IP
53426980 tcp-ip
iso osi model
COMPUTER NETWORKS UNIT 1
A Comprehensive Guide To Internet Protocols and Network Topologies
OSI MODEL - A PROJECT

What's hot (20)

ODP
OSI 7 Layer model
PPTX
Protocols
PPT
Osi layer and network protocol
DOCX
Dci dl control info definition lte
PPTX
Osi model
PPT
Get into Networking by Clearing Comptia Network+ Test
PPTX
How Computer network Works?
PPTX
Id. 02 network & data link & physical layer
PPTX
Tcp/ip model and protocol
PPTX
Tcp/ip
PPT
COMPUTER NETWORKS UNIT 4
PDF
PDF
Network protocol lectures
PPTX
TCP/IP Introduction
PPT
OSI Model
DOCX
Report of TCP/IP
PPTX
Reference models in Networks: OSI & TCP/IP
PPT
Chapeter 2
OSI 7 Layer model
Protocols
Osi layer and network protocol
Dci dl control info definition lte
Osi model
Get into Networking by Clearing Comptia Network+ Test
How Computer network Works?
Id. 02 network & data link & physical layer
Tcp/ip model and protocol
Tcp/ip
COMPUTER NETWORKS UNIT 4
Network protocol lectures
TCP/IP Introduction
OSI Model
Report of TCP/IP
Reference models in Networks: OSI & TCP/IP
Chapeter 2
Ad

Similar to CN_lec 3_Protocol_Layering (20)

PDF
01 dsdsssdsssadasdasdsdasdasdasdasdasdasProtocols.pdf
PDF
Dc ch02 : protocol architecture
PPT
OSI model (7 LAYER )
PPTX
Lecture 1 Network Reference Models Final.pptx
PDF
Unit_I_Computer Networks 4.pdf
PPTX
Week2 lec2-bscs1
PPT
02 protocols and tcp-ip
PDF
Introduction to Networks_v0.2
PPT
CN unit 1 part 2 2023.ppt
PPT
Lec2_CH02.PPT
PPT
Net essentials6e ch6
PDF
Unit 2 ppt-idc
PPT
Osi week10(1) [autosaved] by Gulshan K Maheshwari(QAU)
PPTX
Internet protocol
PPTX
Presentation5
PPT
PDF
computer network
PPT
Network Models
PPT
3131471Scanned.ppt
PPTX
Chapter 1-2-Network Models_data_communication.pptx
01 dsdsssdsssadasdasdsdasdasdasdasdasdasProtocols.pdf
Dc ch02 : protocol architecture
OSI model (7 LAYER )
Lecture 1 Network Reference Models Final.pptx
Unit_I_Computer Networks 4.pdf
Week2 lec2-bscs1
02 protocols and tcp-ip
Introduction to Networks_v0.2
CN unit 1 part 2 2023.ppt
Lec2_CH02.PPT
Net essentials6e ch6
Unit 2 ppt-idc
Osi week10(1) [autosaved] by Gulshan K Maheshwari(QAU)
Internet protocol
Presentation5
computer network
Network Models
3131471Scanned.ppt
Chapter 1-2-Network Models_data_communication.pptx
Ad

More from Rijutha Kumar (8)

PPTX
CN_Lec 9_Packet_Switching
PPTX
CN_Lec 8_Switching_Circuit
PPTX
CN_lec 7_Unguided_Media
PPTX
CN_Lec 6_Transmission_Guided_Media
PPTX
CN_Lec 5_OSI
PPTX
CN_Lec 4_TCP/IP
PPTX
CN_lec 2_Network_Types
PPTX
CN_lec 1_Introduction
CN_Lec 9_Packet_Switching
CN_Lec 8_Switching_Circuit
CN_lec 7_Unguided_Media
CN_Lec 6_Transmission_Guided_Media
CN_Lec 5_OSI
CN_Lec 4_TCP/IP
CN_lec 2_Network_Types
CN_lec 1_Introduction

Recently uploaded (20)

PDF
HVAC Specification 2024 according to central public works department
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PDF
Empowerment Technology for Senior High School Guide
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PDF
1_English_Language_Set_2.pdf probationary
PPTX
Introduction to Building Materials
PDF
Hazard Identification & Risk Assessment .pdf
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PDF
What if we spent less time fighting change, and more time building what’s rig...
PPTX
Virtual and Augmented Reality in Current Scenario
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PDF
Computing-Curriculum for Schools in Ghana
PDF
advance database management system book.pdf
HVAC Specification 2024 according to central public works department
FORM 1 BIOLOGY MIND MAPS and their schemes
Empowerment Technology for Senior High School Guide
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
1_English_Language_Set_2.pdf probationary
Introduction to Building Materials
Hazard Identification & Risk Assessment .pdf
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
What if we spent less time fighting change, and more time building what’s rig...
Virtual and Augmented Reality in Current Scenario
Paper A Mock Exam 9_ Attempt review.pdf.
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
Share_Module_2_Power_conflict_and_negotiation.pptx
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
Computing-Curriculum for Schools in Ghana
advance database management system book.pdf

CN_lec 3_Protocol_Layering

  • 1. SNS COLLEGE OF ENGINEERING Kurumbapalayam(Po), Coimbatore – 641 107 Accredited by NAAC-UGC with ‘A’ Grade Approved by AICTE, Recognized by UGC & Affiliated to Anna University, Chennai Department of Information Technology Course Name : CS8591 Computer Networks III Year / V Sem 5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT Unit 1: Introduction and Physical Layer Topic 3: Protocol Layering
  • 2. 5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT ➢ A set of rules, govern how systems communicate. ➢For networking they govern how data is transferred from one system to another. What is a Protocol ? A Human Protocol vs Computer Protocol 2/20
  • 3. 5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT A protocol suite is a collection of protocols that are designed to work together. What is a Protocol Suite ? 3/20
  • 4. 5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT Protocol Data Unit • Specific block of information transferred over a network. • It is often used in reference to the OSI model • It describes the different types of data that are transferred from each layer. 4/20
  • 5. 5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT Protocol Data Unit The PDU for each layer of the OSI model is listed below. LAYERS PDU Physical layer raw bits (1s or 0s) transmitted physically via the hardware Data Link layer a frame (or series of bits) Network layer a packet that contains the source and destination address Transport layer a segment that includes a TCP header and data Session layer the data passed to the network connection Presentation layer the data formatted for presentation Application layer the data received or transmitted by a software application 5/20
  • 6. 5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT Protocol Stacks ➢ A protocol stack is a prescribed hierarchy of software layers, starting from the application layer at the top (the source of the data being sent) to the data link layer at the bottom (transmitting the bits on the wire). ➢ The TCP/IP protocol stack is a good example. ○ Layer 1: Network Interface - Physical and Data layers ○ Layer 2: Internet - Network layer ○ Layer 3: Transport - Transport Control Protocol ○ Layer 4: Application - Session, Presentation and Application layers 6/20
  • 7. 5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT Protocol Stacks Layered Protocol Stacks: ➢ Each level of the stack performs a particular function and communicates with the levels above and below it. ➢ The OSI Reference Model that defines seven protocol layers is often called a stack, as is the set of TCP/IP protocols that define communication over the internet 7/20
  • 8. 5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT Protocol Stacks Example: Parcel service between two offices. • The task is simple – send parcels between people in each office. • We will divide the task into two distinct processes as follows: ⮚Take a package, wrap it and address it. ⮚Send it to the destination • at the receiving end ⮚Receive the package ⮚Deliver it to the recipient 8/20
  • 9. 5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT Protocol Stacks Typically you would have an internal mail man that: ⮚ Collects the parcels from the senders and takes then to a mail dispatch room. ⮚ The parcels are placed in a van by the dispatcher and then driven to the remote office. •At the remote office ⮚ The parcels are received by the dispatcher and placed into a tray for the mail man ⮚ The mail man collects the parcels and delivers them to the recipients 9/20
  • 10. 5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT Protocol Stacks Components Functionality Hostel Letters Students Support students Generate Letters Components Computer Messages Process 10/20
  • 11. 5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT Protocol Stacks Components Functionality Hostel Boy Infrastructure Postman Multiplexing / Demultiplexing Path of letters Bundle of letters Transporting Components Routers Software - hop to hop transfer Hardware Physical Cables 11/20
  • 12. 5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT Here is a simple diagram to illustrate the process: Protocol Stacks 12/20
  • 13. 5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT Challenges ⮚ Large reach (International, National, Village) ⮚Need to be scalable (Many users) ⮚ Many user requirements (reliable, express, cheap) ⮚Heterogeneous Technology (Airplane, Trucks, Trains, etc.,) 13/20
  • 14. 5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT Challenges ⮚ Complex System ⮚ Many users (Billions) ⮚ World wide reach ⮚ Many user requirements (reliable, express, cheap, interactive, multicast) ⮚ Heterogeneous Technology (Ethernet, Wireless, Bluetooth, Wifi, Cellular) 14/20
  • 15. 5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT Challenges ⮚ Application - Support application processes which generates messages (Email, Web, File transfer) ⮚ Transport - Supervise process to process communication - Multiplexing / Demultiplexing messages (TCP, UDP) ⮚ Network - Enable end to end routing of messages (IP) ⮚ Data Link- Enable hop to hop messages transfer (Ethernet) ⮚ Physical - Enable bit transmission on media (Wire / air) 15/20
  • 16. 5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT ⮚ The question really is what is the advantage of splitting the task into different layers/tasks? Protocol Stacks Any of the layers/tasks can be changed without affecting the other layers. 16/20
  • 17. 5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT ⮚ If we decide to use a train instead of a van to transport the messages between the offices we could do so without affecting the mail man. Protocol Stacks The mail man doesn’t know, and doesn’t care, how the parcels are transported between the offices, as all he does is collect them, and pass them to the delivery man. 17/20
  • 18. 5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT Quiz Multiple Choice Questions 1. ____________ are rules that govern communication exchange a. Media b. Interface c. Protocols d. All the above 2. A ___________ is a collection of protocols that are designed to work together a. TCP/IP b. Protocols c. OSI d. Protocol Suite 3. How many layers are present in the Internet protocol stack (TCP/IP model) a. Four Layer b. Five Layer c. Six Layer d. Seven Layer 4. The Transmission Control Protocol divides the stream of data into smaller units that are called ____________________ a. Frames b. Segments c. Packets d. Bits 18/20
  • 19. THANK YOU ! 5/23/2020 SNSCE / IT/ Sem V / S Rijutha / AP / IT SNSCE / IT/ Sem V / S Rijutha / AP / IT 19/20