SlideShare a Scribd company logo
8/24/2023 Datacom II-Spring 2002 1
University of Houston
Protocols and Architecture
Datacom II
Lecture 4
Dr Fred L Zellner
Telephone 713 842 4623
fzellner@uh.edu
http://www.uh.edu/~shivkuma/Index.htm
8/24/2023 Datacom II-Spring 2002 2
Characteristics
Direct or indirect
Monolithic or structured
Symmetric or asymmetric
Standard or nonstandard
8/24/2023 Datacom II-Spring 2002 3
Direct or Indirect
Direct
Systems share a point to point link or
Systems share a multi-point link
Data can pass without intervening active agent
Indirect
Switched networks or
Internetworks or internets
Data transfer depend on other entities
8/24/2023 Datacom II-Spring 2002 4
Monolithic or Structured
Communications is a complex task
To complex for single unit
Structured design breaks down problem into
smaller units
Layered structure
8/24/2023 Datacom II-Spring 2002 5
Symmetric or Asymmetric
Symmetric
Communication between peer entities
Asymmetric
Client/server
8/24/2023 Datacom II-Spring 2002 6
Standard or Nonstandard
Nonstandard protocols built for specific
computers and tasks
K sources and L receivers leads to K*L protocols
and 2*K*L implementations
If common protocol used, K + L
implementations needed
8/24/2023 Datacom II-Spring 2002 7
Use of Standard Protocols
8/24/2023 Datacom II-Spring 2002 8
Functions
Encapsulation
Segmentation and reassmebly
Connection control
Ordered delivery
Flow control
Error control
Addressing
Multiplexing
Transmission services
8/24/2023 Datacom II-Spring 2002 9
Encapsulation
Addition of control information to data
Address information
Error-detecting code
Protocol control
8/24/2023 Datacom II-Spring 2002 10
Segmentation (Fragmentation)
Data blocks are of bounded size
Application layer messages may be large
Network packets may be smaller
Splitting larger blocks into smaller ones is
segmentation (or fragmentation in TCP/IP)
ATM blocks (cells) are 53 octets long
Ethernet blocks (frames) are up to 1526 octets long
Checkpoints and restart/recovery
8/24/2023 Datacom II-Spring 2002 11
Why Fragment?
Advantages
More efficient error control
More equitable access to network facilities
Shorter delays
Smaller buffers needed
Disadvantages
Overheads
Increased interrupts at receiver
More processing time
8/24/2023 Datacom II-Spring 2002 12
Connection Control
Connection Establishment
Data transfer
Connection termination
May be connection interruption and recovery
Sequence numbers used for
Ordered delivery
Flow control
Error control
8/24/2023 Datacom II-Spring 2002 13
Connection Oriented Data
Transfer
8/24/2023 Datacom II-Spring 2002 14
Ordered Delivery
PDUs may traverse different paths through
network
PDUs may arrive out of order
Sequentially number PDUs to allow for ordering
8/24/2023 Datacom II-Spring 2002 15
Flow Control
Done by receiving entity
Limit amount or rate of data
Stop and wait
Credit systems
Sliding window
Needed at application as well as network layers
8/24/2023 Datacom II-Spring 2002 16
Error Control
Guard against loss or damage
Error detection
Sender inserts error detecting bits
Receiver checks these bits
If OK, acknowledge
If error, discard packet
Retransmission
If no acknowledge in given time, re-transmit
Performed at various levels
8/24/2023 Datacom II-Spring 2002 17
Addressing
Addressing level
Addressing scope
Connection identifiers
Addressing mode
8/24/2023 Datacom II-Spring 2002 18
Addressing level
Level in architecture at which entity is named
Unique address for each end system (computer)
and router
Network level address
IP or internet address (TCP/IP)
Network service access point or NSAP (OSI)
Process within the system
Port number (TCP/IP)
Service access point or SAP (OSI)
8/24/2023 Datacom II-Spring 2002 19
Address Concepts
8/24/2023 Datacom II-Spring 2002 20
Addressing Scope
Global nonambiguity
Global address identifies unique system
There is only one system with address X
Global applicability
It is possible at any system (any address) to identify
any other system (address) by the global address of
the other system
Address X identifies that system from anywhere on
the network
e.g. MAC address on IEEE 802 networks
8/24/2023 Datacom II-Spring 2002 21
Connection Identifiers
Connection oriented data transfer (virtual
circuits)
Allocate a connection name during the transfer
phase
Reduced overhead as connection identifiers are
shorter than global addresses
Routing may be fixed and identified by connection
name
Entities may want multiple connections - multiplexing
State information
8/24/2023 Datacom II-Spring 2002 22
Addressing Mode
Usually an address refers to a single system
Unicast address
Sent to one machine or person
May address all entities within a domain
Broadcast
Sent to all machines or users
May address a subset of the entities in a domain
Multicast
Sent to some machines or a group of users
8/24/2023 Datacom II-Spring 2002 23
Multiplexing
Supporting multiple connections on one machine
Mapping of multiple connections at one level to
a single connection at another
Carrying a number of connections on one fiber optic
cable
Aggregating or bonding ISDN lines to gain bandwidth
8/24/2023 Datacom II-Spring 2002 24
Transmission Services
Priority
e.g. control messages
Quality of service
Minimum acceptable throughput
Maximum acceptable delay
Security
Access restrictions
8/24/2023 Datacom II-Spring 2002 25
OSI - The Model
A layer model
Each layer performs a subset of the required
communication functions
Each layer relies on the next lower layer to
perform more primitive functions
Each layer provides services to the next higher
layer
Changes in one layer should not require
changes in other layers
8/24/2023 Datacom II-Spring 2002 26
The OSI Environment
8/24/2023 Datacom II-Spring 2002 27
OSI as Framework for
Standardization
8/24/2023 Datacom II-Spring 2002 28
Layer Specific Standards
8/24/2023 Datacom II-Spring 2002 29
Elements of Standardization
Protocol specification
Operates between the same layer on two systems
May involve different operating system
Protocol specification must be precise
Format of data units
Semantics of all fields
allowable sequence of PCUs
Service definition
Functional description of what is provided
Addressing
Referenced by SAPs
8/24/2023 Datacom II-Spring 2002 30
OSI Layers (1)
Physical
Physical interface between devices
Mechanical
Electrical
Functional
Procedural
Data Link
Means of activating, maintaining and deactivating a
reliable link
Error detection and control
Higher layers may assume error free transmission
8/24/2023 Datacom II-Spring 2002 31
OSI Layers (2)
Network
Transport of information
Higher layers do not need to know about underlying
technology
Not needed on direct links
Transport
Exchange of data between end systems
Error free
In sequence
No losses
No duplicates
Quality of service
8/24/2023 Datacom II-Spring 2002 32
OSI Layers (3)
Session
Control of dialogues between applications
Dialogue discipline
Grouping
Recovery
Presentation
Data formats and coding
Data compression
Encryption
Application
Means for applications to access OSI environment
8/24/2023 Datacom II-Spring 2002 33
Use of a Relay
8/24/2023 Datacom II-Spring 2002 34
TCP/IP Protocol Suite
Dominant commercial protocol architecture
Specified and extensively used before OSI
Developed by research funded US Department
of Defense
Used by the Internet
8/24/2023 Datacom II-Spring 2002 35
TCP/IP Protocol Architecture(1)
Application Layer
Communication between processes or applications
End to end or transport layer (TCP/UDP/…)
End to end transfer of data
May include reliability mechanism (TCP)
Hides detail of underlying network
Internet Layer (IP)
Routing of data
8/24/2023 Datacom II-Spring 2002 36
TCP/IP Protocol Architecture(2)
Network Layer
Logical interface between end system and network
Physical Layer
Transmission medium
Signal rate and encoding
8/24/2023 Datacom II-Spring 2002 37
PDUs in TCP/IP
8/24/2023 Datacom II-Spring 2002 38
Some Protocols in TCP/IP Suite
8/24/2023 Datacom II-Spring 2002 39
Required Reading
Stallings chapter 2
Comer,D. Internetworking with TCP/IP volume I
Comer,D. and Stevens,D. Internetworking with
TCP/IP volume II and volume III, Prentice Hall
Peterson Davie, Computer Networks,
Morgan/Kaufmann
Forouzan Data Communications & Networks,
McGraw Hill

More Related Content

PDF
EduDivision-DATACOM NETWORKING
PPTX
ppt_dcn.pptx networks networks security of networks
PDF
02-ProtocolArchitecture.pdf
PDF
ppt_dcn.pdf
PPT
protocol architecture
PPTX
Computer Networks its about computer network which is very important in engin...
PPT
internet protocols
PPT
Fundamentals of data network
EduDivision-DATACOM NETWORKING
ppt_dcn.pptx networks networks security of networks
02-ProtocolArchitecture.pdf
ppt_dcn.pdf
protocol architecture
Computer Networks its about computer network which is very important in engin...
internet protocols
Fundamentals of data network

Similar to Lecture4.ppt (20)

PDF
Week1- basic Introduction to computer networks .pdf
PPTX
ch1_vbest.pptx
PPT
18 internet protocols
PPT
CS553_ST7_Ch18-InternetProtocols.ppt
PPT
Cs553 st7 ch18-internet_protocols
PPT
59062_chapter1-CPCS371tuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
PPT
02 protocols and tcp-ip
PPTX
Link layer, checksum, ethenet.pptx
PPT
Lecture 04
PPT
DC-Lec-1.ppt
PDF
Data Communication & Computer Networks
PPTX
CN UNIT II.pptx
PDF
Data Communications and Networking By Behrouz A.Forouzan1-2.pdf
PDF
Data communications and Networking
PPT
fundamentals of data networks and communication
PPT
fundamentals of data networks in data communication
PPT
5906333333333333332_chapter1-CPCS371.ppt
PPT
Fundamentals of data communications and Networking.ppt
PPTX
Network training present
PPT
CN chapter1.ppt
Week1- basic Introduction to computer networks .pdf
ch1_vbest.pptx
18 internet protocols
CS553_ST7_Ch18-InternetProtocols.ppt
Cs553 st7 ch18-internet_protocols
59062_chapter1-CPCS371tuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
02 protocols and tcp-ip
Link layer, checksum, ethenet.pptx
Lecture 04
DC-Lec-1.ppt
Data Communication & Computer Networks
CN UNIT II.pptx
Data Communications and Networking By Behrouz A.Forouzan1-2.pdf
Data communications and Networking
fundamentals of data networks and communication
fundamentals of data networks in data communication
5906333333333333332_chapter1-CPCS371.ppt
Fundamentals of data communications and Networking.ppt
Network training present
CN chapter1.ppt
Ad

More from YumnaShahzaad (19)

PPT
ML-Topic1A.ppteeweqeqeqeqeqeqwewqqwwqeeqeqw
PPT
311introductiontomachinelearningweeqwq.ppt
PPT
Networking Devices15.PPTSADSADSADSADSADSAD
PPT
ch01.pptssadsaadsadsadsadsadsadsasadsads
PPT
CH02.PPTdfsffdsffsdffsdfdfsdfsddsfsdfdsffdsf
PPT
CCNA1_Ch08.pptxffdsfdfdsfdsfdsfdsfsdfdsfsdfsdf
PPT
leclast.pptDDSADASDSDSADSADSADSADSDASADSDD
PPT
lecpp.pptSADADASDADSDASDSAADASDASDDDSADSDSA
PPT
chap3lec5.pptgfhgfhghghgfhgfhgfhfghgfhfg
PPT
class3(105119).pptsdffsfdsfdffsffsfssdsds
PPT
chapt_08.pptdsfdfdfdsffsdffsdfsdfsdfsdfsdfsdfsdf
PPT
chap7.pptasalslASKLa;ssASASSSasASssASaSa
PPT
dss lec1.pptLECTURE 1 DOWNLOADable yougurt
PPT
Turbanchap02discription material require.ppt
PPTX
chap5.pptxasasasasadfdfdfdfdfddffdfdfdfdd
PPT
chap3intro.ppt(assembly language fundamentals)
PPT
data transfers, addressing and arithmetic
PPT
osi.ppt
PPT
03_Karnaugh_Maps.ppt
ML-Topic1A.ppteeweqeqeqeqeqeqwewqqwwqeeqeqw
311introductiontomachinelearningweeqwq.ppt
Networking Devices15.PPTSADSADSADSADSADSAD
ch01.pptssadsaadsadsadsadsadsadsasadsads
CH02.PPTdfsffdsffsdffsdfdfsdfsddsfsdfdsffdsf
CCNA1_Ch08.pptxffdsfdfdsfdsfdsfdsfsdfdsfsdfsdf
leclast.pptDDSADASDSDSADSADSADSADSDASADSDD
lecpp.pptSADADASDADSDASDSAADASDASDDDSADSDSA
chap3lec5.pptgfhgfhghghgfhgfhgfhfghgfhfg
class3(105119).pptsdffsfdsfdffsffsfssdsds
chapt_08.pptdsfdfdfdsffsdffsdfsdfsdfsdfsdfsdfsdf
chap7.pptasalslASKLa;ssASASSSasASssASaSa
dss lec1.pptLECTURE 1 DOWNLOADable yougurt
Turbanchap02discription material require.ppt
chap5.pptxasasasasadfdfdfdfdfddffdfdfdfdd
chap3intro.ppt(assembly language fundamentals)
data transfers, addressing and arithmetic
osi.ppt
03_Karnaugh_Maps.ppt
Ad

Recently uploaded (20)

PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Cell Structure & Organelles in detailed.
PPTX
master seminar digital applications in india
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Lesson notes of climatology university.
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Computing-Curriculum for Schools in Ghana
PDF
01-Introduction-to-Information-Management.pdf
VCE English Exam - Section C Student Revision Booklet
Pharma ospi slides which help in ospi learning
Final Presentation General Medicine 03-08-2024.pptx
Anesthesia in Laparoscopic Surgery in India
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Module 4: Burden of Disease Tutorial Slides S2 2025
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
102 student loan defaulters named and shamed – Is someone you know on the list?
Cell Structure & Organelles in detailed.
master seminar digital applications in india
Microbial diseases, their pathogenesis and prophylaxis
Microbial disease of the cardiovascular and lymphatic systems
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Lesson notes of climatology university.
Complications of Minimal Access Surgery at WLH
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Computing-Curriculum for Schools in Ghana
01-Introduction-to-Information-Management.pdf

Lecture4.ppt

  • 1. 8/24/2023 Datacom II-Spring 2002 1 University of Houston Protocols and Architecture Datacom II Lecture 4 Dr Fred L Zellner Telephone 713 842 4623 fzellner@uh.edu http://www.uh.edu/~shivkuma/Index.htm
  • 2. 8/24/2023 Datacom II-Spring 2002 2 Characteristics Direct or indirect Monolithic or structured Symmetric or asymmetric Standard or nonstandard
  • 3. 8/24/2023 Datacom II-Spring 2002 3 Direct or Indirect Direct Systems share a point to point link or Systems share a multi-point link Data can pass without intervening active agent Indirect Switched networks or Internetworks or internets Data transfer depend on other entities
  • 4. 8/24/2023 Datacom II-Spring 2002 4 Monolithic or Structured Communications is a complex task To complex for single unit Structured design breaks down problem into smaller units Layered structure
  • 5. 8/24/2023 Datacom II-Spring 2002 5 Symmetric or Asymmetric Symmetric Communication between peer entities Asymmetric Client/server
  • 6. 8/24/2023 Datacom II-Spring 2002 6 Standard or Nonstandard Nonstandard protocols built for specific computers and tasks K sources and L receivers leads to K*L protocols and 2*K*L implementations If common protocol used, K + L implementations needed
  • 7. 8/24/2023 Datacom II-Spring 2002 7 Use of Standard Protocols
  • 8. 8/24/2023 Datacom II-Spring 2002 8 Functions Encapsulation Segmentation and reassmebly Connection control Ordered delivery Flow control Error control Addressing Multiplexing Transmission services
  • 9. 8/24/2023 Datacom II-Spring 2002 9 Encapsulation Addition of control information to data Address information Error-detecting code Protocol control
  • 10. 8/24/2023 Datacom II-Spring 2002 10 Segmentation (Fragmentation) Data blocks are of bounded size Application layer messages may be large Network packets may be smaller Splitting larger blocks into smaller ones is segmentation (or fragmentation in TCP/IP) ATM blocks (cells) are 53 octets long Ethernet blocks (frames) are up to 1526 octets long Checkpoints and restart/recovery
  • 11. 8/24/2023 Datacom II-Spring 2002 11 Why Fragment? Advantages More efficient error control More equitable access to network facilities Shorter delays Smaller buffers needed Disadvantages Overheads Increased interrupts at receiver More processing time
  • 12. 8/24/2023 Datacom II-Spring 2002 12 Connection Control Connection Establishment Data transfer Connection termination May be connection interruption and recovery Sequence numbers used for Ordered delivery Flow control Error control
  • 13. 8/24/2023 Datacom II-Spring 2002 13 Connection Oriented Data Transfer
  • 14. 8/24/2023 Datacom II-Spring 2002 14 Ordered Delivery PDUs may traverse different paths through network PDUs may arrive out of order Sequentially number PDUs to allow for ordering
  • 15. 8/24/2023 Datacom II-Spring 2002 15 Flow Control Done by receiving entity Limit amount or rate of data Stop and wait Credit systems Sliding window Needed at application as well as network layers
  • 16. 8/24/2023 Datacom II-Spring 2002 16 Error Control Guard against loss or damage Error detection Sender inserts error detecting bits Receiver checks these bits If OK, acknowledge If error, discard packet Retransmission If no acknowledge in given time, re-transmit Performed at various levels
  • 17. 8/24/2023 Datacom II-Spring 2002 17 Addressing Addressing level Addressing scope Connection identifiers Addressing mode
  • 18. 8/24/2023 Datacom II-Spring 2002 18 Addressing level Level in architecture at which entity is named Unique address for each end system (computer) and router Network level address IP or internet address (TCP/IP) Network service access point or NSAP (OSI) Process within the system Port number (TCP/IP) Service access point or SAP (OSI)
  • 19. 8/24/2023 Datacom II-Spring 2002 19 Address Concepts
  • 20. 8/24/2023 Datacom II-Spring 2002 20 Addressing Scope Global nonambiguity Global address identifies unique system There is only one system with address X Global applicability It is possible at any system (any address) to identify any other system (address) by the global address of the other system Address X identifies that system from anywhere on the network e.g. MAC address on IEEE 802 networks
  • 21. 8/24/2023 Datacom II-Spring 2002 21 Connection Identifiers Connection oriented data transfer (virtual circuits) Allocate a connection name during the transfer phase Reduced overhead as connection identifiers are shorter than global addresses Routing may be fixed and identified by connection name Entities may want multiple connections - multiplexing State information
  • 22. 8/24/2023 Datacom II-Spring 2002 22 Addressing Mode Usually an address refers to a single system Unicast address Sent to one machine or person May address all entities within a domain Broadcast Sent to all machines or users May address a subset of the entities in a domain Multicast Sent to some machines or a group of users
  • 23. 8/24/2023 Datacom II-Spring 2002 23 Multiplexing Supporting multiple connections on one machine Mapping of multiple connections at one level to a single connection at another Carrying a number of connections on one fiber optic cable Aggregating or bonding ISDN lines to gain bandwidth
  • 24. 8/24/2023 Datacom II-Spring 2002 24 Transmission Services Priority e.g. control messages Quality of service Minimum acceptable throughput Maximum acceptable delay Security Access restrictions
  • 25. 8/24/2023 Datacom II-Spring 2002 25 OSI - The Model A layer model Each layer performs a subset of the required communication functions Each layer relies on the next lower layer to perform more primitive functions Each layer provides services to the next higher layer Changes in one layer should not require changes in other layers
  • 26. 8/24/2023 Datacom II-Spring 2002 26 The OSI Environment
  • 27. 8/24/2023 Datacom II-Spring 2002 27 OSI as Framework for Standardization
  • 28. 8/24/2023 Datacom II-Spring 2002 28 Layer Specific Standards
  • 29. 8/24/2023 Datacom II-Spring 2002 29 Elements of Standardization Protocol specification Operates between the same layer on two systems May involve different operating system Protocol specification must be precise Format of data units Semantics of all fields allowable sequence of PCUs Service definition Functional description of what is provided Addressing Referenced by SAPs
  • 30. 8/24/2023 Datacom II-Spring 2002 30 OSI Layers (1) Physical Physical interface between devices Mechanical Electrical Functional Procedural Data Link Means of activating, maintaining and deactivating a reliable link Error detection and control Higher layers may assume error free transmission
  • 31. 8/24/2023 Datacom II-Spring 2002 31 OSI Layers (2) Network Transport of information Higher layers do not need to know about underlying technology Not needed on direct links Transport Exchange of data between end systems Error free In sequence No losses No duplicates Quality of service
  • 32. 8/24/2023 Datacom II-Spring 2002 32 OSI Layers (3) Session Control of dialogues between applications Dialogue discipline Grouping Recovery Presentation Data formats and coding Data compression Encryption Application Means for applications to access OSI environment
  • 33. 8/24/2023 Datacom II-Spring 2002 33 Use of a Relay
  • 34. 8/24/2023 Datacom II-Spring 2002 34 TCP/IP Protocol Suite Dominant commercial protocol architecture Specified and extensively used before OSI Developed by research funded US Department of Defense Used by the Internet
  • 35. 8/24/2023 Datacom II-Spring 2002 35 TCP/IP Protocol Architecture(1) Application Layer Communication between processes or applications End to end or transport layer (TCP/UDP/…) End to end transfer of data May include reliability mechanism (TCP) Hides detail of underlying network Internet Layer (IP) Routing of data
  • 36. 8/24/2023 Datacom II-Spring 2002 36 TCP/IP Protocol Architecture(2) Network Layer Logical interface between end system and network Physical Layer Transmission medium Signal rate and encoding
  • 37. 8/24/2023 Datacom II-Spring 2002 37 PDUs in TCP/IP
  • 38. 8/24/2023 Datacom II-Spring 2002 38 Some Protocols in TCP/IP Suite
  • 39. 8/24/2023 Datacom II-Spring 2002 39 Required Reading Stallings chapter 2 Comer,D. Internetworking with TCP/IP volume I Comer,D. and Stevens,D. Internetworking with TCP/IP volume II and volume III, Prentice Hall Peterson Davie, Computer Networks, Morgan/Kaufmann Forouzan Data Communications & Networks, McGraw Hill