SlideShare a Scribd company logo
1 of 37
Layers, Protocols and
Interfaces
1
Protocol
Protocol is an agreement between the
communication parties on how
communication is to proceed
Rules and conventions used in the
conversation
2
Protocol Stack
A list of protocols used by a certain
system, one protocol per layer
3
Design Issues for Layers
• Mechanism for identifying senders and
receivers
• Rules for data transfer
• Error control
• Possible loss of sequencing
• Transmission rate
• Length of messages
• Multiplexing
• Route
4
Types of Services
Connection-oriented services
Connectionless services
5
Two Important Network
Architectures
OSI reference model
TCP/IP reference model
6
OSI Reference Model
• Developed by International Standard
Organization (ISO)
• Called ISO OSI (Open System
Interconnection) reference model
• Has seven layers
Application layer
Presentation layer
Session layer
Transport layer
Network layer
Data link layer
Physical layer 7
TCP/IP Reference Model
Application layer
Transport layer
Internet layer
Host-to-network layer
8
OSI & TCP/IP Reference
Models
9
OSI Model
Itself is not a network architecture
because it does not specify the exact
services and protocols to be used in
each layer.
It just tells what each layer should do.
10
OSI Model (Cont.)
Three concepts central to OSI:
Services
Interfaces
Protocols
11
Services
The service definition tells
what the layer does,
not
how entities above it access it
or
how the layer works.
12
Interfaces
A layer’s interface tells the process above
it how to access it.
It specifies what the parameters are and
what results to expect. It, too, says
nothing about how the layer works
inside.
13
14
OSI Layers - Summary
15
Layers Functions
7. Application Provides electronic mail, file transfers, and other
user services.
6. Presentation Translates data formats, encrypts and decrypts
data.
5. Session Synchronizes communicating users, recovers
from errors, and brackets operations.
4. Transport Determines network, may assemble and
reassemble packets, flow control.
3. Network Determines routes, addressing.
2. Data link Detects or corrects errors, defines frames.
1. Physical Transmits physical data.
Difference between Layers
• layers 1-3 are chained.
• layers 4-7 are end-to-end.
16
The Physical Layer
• It transmits bits of information across a link.
• Deals with the problems such as :
– Size and shape of connectors,
– Assignment of functions to pins,
– Conversion of bits to electrical signals,
– Bit-level synchronization.
• several different types of physical layers to exist
within a network
• multiple different types of physical layers to exist
within a node, because each technology requires its
own physical layer.
17
The Data Link Layer
• Transmits chunk of information across a
link.
• Creates and recognizes frame boundaries.
• Solves the problems caused by damaged,
lost, and duplicate frames.
• Traffic flow regulation and error handling.
• Controls access to the shared channel in
broadcast networks.
18
The Network Layer
• Enables any pair of systems in the network to
communicate each other.
• Controls the operation of the subnet.
- how packets are routed from
source to destination.
-how to control traffic congestion.
• Manages network interconnection.
- Addressing
- Packet size
19
The Transport Layer
• Establishes a reliable communication stream between a pair of
systems.
• Deals with errors that can be introduced by the network layer:
– Lost of packets,
– Duplicated packets,
– Packet reordering,
– Fragmentation and reassembly
• Accepts data from the session layer, split it up into small units if
necessary, pass them to the network layer, and ensure that all the
pieces arrive correctly at the other end.
• May multiplex several network connections.
• True end-to-end layer, from source to destination.
20
The Session Layer
• Allows users on different machines to
establish sessions between them.
• Provides session services:
– Token management
– Synchronization
21
The Presentation Layer
• Concerned with the syntax and semantics
of the information transmitted.
• Does encoding and decoding.
22
The Application Layer
• Contains a variety of protocols that are commonly
needed.
• It is common for multiple applications to be
running concurrently in a node.
• Application:
– File transfer,
– Virtual terminal,
– Web browsing,
– Etc.
23
24
25
• Each layer communicates with its peer layer
through a protocol data unit (PDU).
• When layer n+1 gives information to layer n for
transmission, the information is known as an
SDU, or service data unit.
• As with PDUs, a single-letter prefix is added to
eliminate ambiguity.
26
PDUs and SDUs
27
PDUs and SDUs (Cont.)
PSDU
SSDU
Application
Presentation
Session
Transport
Network
Data Link
Physical
TSDU
NSDU
LSDU
PhSDU
Application
Presentation
Session
Transport
Network
Data Link
Physical
APDU
PPDU
SPDU
TPDU
NPDU
LPDU
PhPDU
The TCP/IP Reference Model
TCP – Transmission Control Protocol
IP – Internet Protocol
Layers:
• Application layer
• Transport layer
• Internet layer
• Host-to-network layer
28
TCP/IP
• TCP/IP does not have session or
presentation layers.
• Experience with OSI model has
proven that they are of little use to
most applications.
29
TCP/IP – Application Layer
• contains all the high-level protocols.
- virtual terminal TELNET
- file transfer FTP
- electronic mail SMTP
- domain name service DNS
- HTTP
30
TCP/IP – Transport Layer
• same as in the OSI transport layer, it is
designed to allow peer entities on the
source and destination hosts to carry on
a conversation.
• has two protocols: TCP & UDP
31
TCP
(Transmission Control Protocol)
• connection-oriented
• reliable
• handles flow control
• fragments the incoming byte stream into
discrete messages and passes them to
internet layer.
• the receiving TCP reassembles the
messages into the output stream.
32
UDP (User Datagram Protocol)
• connectionless
• unreliable
• widely used for one-shot, client-server
type request-reply queries and
applications in which prompt delivery is
more important than accurate delivery.
TCP/IP – Internet Layer
• connectionless
• Packet-switching
• defines official packet format
• delivers IP packets where they are
supposed to go.
- Packet routing is clear the major
issue here.
34
TCP/IP – Host-to-network Layer
This protocol is not defined and varies
from host to host and network to
network, however, TCP/IP protocol says
that the host has to connect to the
network using some protocol.
35
Message Transmission
36
37

More Related Content

Similar to 3131471Scanned.ppt

Similar to 3131471Scanned.ppt (20)

Lecture 1 Network Reference Models Final.pptx
Lecture 1 Network Reference Models Final.pptxLecture 1 Network Reference Models Final.pptx
Lecture 1 Network Reference Models Final.pptx
 
MVA slides lesson 2
MVA slides lesson 2MVA slides lesson 2
MVA slides lesson 2
 
02 protocols and tcp-ip
02 protocols and tcp-ip02 protocols and tcp-ip
02 protocols and tcp-ip
 
Dc2 t1
Dc2 t1Dc2 t1
Dc2 t1
 
Computer networks--networks
Computer networks--networksComputer networks--networks
Computer networks--networks
 
CN Unit-1 PPT.pptx
CN Unit-1 PPT.pptxCN Unit-1 PPT.pptx
CN Unit-1 PPT.pptx
 
CISSP - Chapter 4 - Network Fundamental
CISSP - Chapter 4 - Network FundamentalCISSP - Chapter 4 - Network Fundamental
CISSP - Chapter 4 - Network Fundamental
 
chapter 4.pptx
chapter 4.pptxchapter 4.pptx
chapter 4.pptx
 
Web technologies: recap on TCP-IP
Web technologies: recap on TCP-IPWeb technologies: recap on TCP-IP
Web technologies: recap on TCP-IP
 
Datacom_Section_2_-_Protocols.ppt
Datacom_Section_2_-_Protocols.pptDatacom_Section_2_-_Protocols.ppt
Datacom_Section_2_-_Protocols.ppt
 
Lecture 2 -_understanding_networks_2013
Lecture 2 -_understanding_networks_2013Lecture 2 -_understanding_networks_2013
Lecture 2 -_understanding_networks_2013
 
Bhargava Presentation.ppt
Bhargava Presentation.pptBhargava Presentation.ppt
Bhargava Presentation.ppt
 
Bhargava Presentation.ppt
Bhargava Presentation.pptBhargava Presentation.ppt
Bhargava Presentation.ppt
 
Osi model 7 Layers
Osi model 7 LayersOsi model 7 Layers
Osi model 7 Layers
 
02 network models
02  network models02  network models
02 network models
 
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
 
Week2 lec2-bscs1
Week2 lec2-bscs1Week2 lec2-bscs1
Week2 lec2-bscs1
 
Osi model
Osi modelOsi model
Osi model
 
lecture 4.pptx
lecture 4.pptxlecture 4.pptx
lecture 4.pptx
 
Skr+3200+chapter+2+(kweh)
Skr+3200+chapter+2+(kweh)Skr+3200+chapter+2+(kweh)
Skr+3200+chapter+2+(kweh)
 

Recently uploaded

UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
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 17Celine George
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 

Recently uploaded (20)

UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
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
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 

3131471Scanned.ppt

  • 2. Protocol Protocol is an agreement between the communication parties on how communication is to proceed Rules and conventions used in the conversation 2
  • 3. Protocol Stack A list of protocols used by a certain system, one protocol per layer 3
  • 4. Design Issues for Layers • Mechanism for identifying senders and receivers • Rules for data transfer • Error control • Possible loss of sequencing • Transmission rate • Length of messages • Multiplexing • Route 4
  • 5. Types of Services Connection-oriented services Connectionless services 5
  • 6. Two Important Network Architectures OSI reference model TCP/IP reference model 6
  • 7. OSI Reference Model • Developed by International Standard Organization (ISO) • Called ISO OSI (Open System Interconnection) reference model • Has seven layers Application layer Presentation layer Session layer Transport layer Network layer Data link layer Physical layer 7
  • 8. TCP/IP Reference Model Application layer Transport layer Internet layer Host-to-network layer 8
  • 9. OSI & TCP/IP Reference Models 9
  • 10. OSI Model Itself is not a network architecture because it does not specify the exact services and protocols to be used in each layer. It just tells what each layer should do. 10
  • 11. OSI Model (Cont.) Three concepts central to OSI: Services Interfaces Protocols 11
  • 12. Services The service definition tells what the layer does, not how entities above it access it or how the layer works. 12
  • 13. Interfaces A layer’s interface tells the process above it how to access it. It specifies what the parameters are and what results to expect. It, too, says nothing about how the layer works inside. 13
  • 14. 14
  • 15. OSI Layers - Summary 15 Layers Functions 7. Application Provides electronic mail, file transfers, and other user services. 6. Presentation Translates data formats, encrypts and decrypts data. 5. Session Synchronizes communicating users, recovers from errors, and brackets operations. 4. Transport Determines network, may assemble and reassemble packets, flow control. 3. Network Determines routes, addressing. 2. Data link Detects or corrects errors, defines frames. 1. Physical Transmits physical data.
  • 16. Difference between Layers • layers 1-3 are chained. • layers 4-7 are end-to-end. 16
  • 17. The Physical Layer • It transmits bits of information across a link. • Deals with the problems such as : – Size and shape of connectors, – Assignment of functions to pins, – Conversion of bits to electrical signals, – Bit-level synchronization. • several different types of physical layers to exist within a network • multiple different types of physical layers to exist within a node, because each technology requires its own physical layer. 17
  • 18. The Data Link Layer • Transmits chunk of information across a link. • Creates and recognizes frame boundaries. • Solves the problems caused by damaged, lost, and duplicate frames. • Traffic flow regulation and error handling. • Controls access to the shared channel in broadcast networks. 18
  • 19. The Network Layer • Enables any pair of systems in the network to communicate each other. • Controls the operation of the subnet. - how packets are routed from source to destination. -how to control traffic congestion. • Manages network interconnection. - Addressing - Packet size 19
  • 20. The Transport Layer • Establishes a reliable communication stream between a pair of systems. • Deals with errors that can be introduced by the network layer: – Lost of packets, – Duplicated packets, – Packet reordering, – Fragmentation and reassembly • Accepts data from the session layer, split it up into small units if necessary, pass them to the network layer, and ensure that all the pieces arrive correctly at the other end. • May multiplex several network connections. • True end-to-end layer, from source to destination. 20
  • 21. The Session Layer • Allows users on different machines to establish sessions between them. • Provides session services: – Token management – Synchronization 21
  • 22. The Presentation Layer • Concerned with the syntax and semantics of the information transmitted. • Does encoding and decoding. 22
  • 23. The Application Layer • Contains a variety of protocols that are commonly needed. • It is common for multiple applications to be running concurrently in a node. • Application: – File transfer, – Virtual terminal, – Web browsing, – Etc. 23
  • 24. 24
  • 25. 25
  • 26. • Each layer communicates with its peer layer through a protocol data unit (PDU). • When layer n+1 gives information to layer n for transmission, the information is known as an SDU, or service data unit. • As with PDUs, a single-letter prefix is added to eliminate ambiguity. 26 PDUs and SDUs
  • 27. 27 PDUs and SDUs (Cont.) PSDU SSDU Application Presentation Session Transport Network Data Link Physical TSDU NSDU LSDU PhSDU Application Presentation Session Transport Network Data Link Physical APDU PPDU SPDU TPDU NPDU LPDU PhPDU
  • 28. The TCP/IP Reference Model TCP – Transmission Control Protocol IP – Internet Protocol Layers: • Application layer • Transport layer • Internet layer • Host-to-network layer 28
  • 29. TCP/IP • TCP/IP does not have session or presentation layers. • Experience with OSI model has proven that they are of little use to most applications. 29
  • 30. TCP/IP – Application Layer • contains all the high-level protocols. - virtual terminal TELNET - file transfer FTP - electronic mail SMTP - domain name service DNS - HTTP 30
  • 31. TCP/IP – Transport Layer • same as in the OSI transport layer, it is designed to allow peer entities on the source and destination hosts to carry on a conversation. • has two protocols: TCP & UDP 31
  • 32. TCP (Transmission Control Protocol) • connection-oriented • reliable • handles flow control • fragments the incoming byte stream into discrete messages and passes them to internet layer. • the receiving TCP reassembles the messages into the output stream. 32
  • 33. UDP (User Datagram Protocol) • connectionless • unreliable • widely used for one-shot, client-server type request-reply queries and applications in which prompt delivery is more important than accurate delivery.
  • 34. TCP/IP – Internet Layer • connectionless • Packet-switching • defines official packet format • delivers IP packets where they are supposed to go. - Packet routing is clear the major issue here. 34
  • 35. TCP/IP – Host-to-network Layer This protocol is not defined and varies from host to host and network to network, however, TCP/IP protocol says that the host has to connect to the network using some protocol. 35
  • 37. 37