Download - 02 protocol architecture
![Page 1: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/1.jpg)
Data and Computer Data and Computer CommunicationsCommunications
Eighth EditionEighth Edition
by William Stallingsby William Stallings
Lecture slides by Lawrie BrownLecture slides by Lawrie Brown
Chapter 2 – Protocol Architecture, Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based TCP/IP, and Internet-Based
ApplicationsApplications
![Page 2: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/2.jpg)
Protocol Architecture, Protocol Architecture, TCP/IP, and Internet-Based TCP/IP, and Internet-Based
ApplicationsApplications To destroy communication completely, there To destroy communication completely, there
must be no rules in common between must be no rules in common between transmitter and receiver—neither of alphabet transmitter and receiver—neither of alphabet nor of syntax —On Human Communicationnor of syntax —On Human Communication , , Colin CherryColin Cherry
![Page 3: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/3.jpg)
Need For Need For ProtocolProtocol ArchitectureArchitecture
data exchange can involve complex data exchange can involve complex procedures, cf. file transfer exampleprocedures, cf. file transfer example
better if task broken into subtasksbetter if task broken into subtasks implemented separately in layers in stackimplemented separately in layers in stack
each layer provides functions needed to each layer provides functions needed to perform comms for layers aboveperform comms for layers above
using functions provided by layers belowusing functions provided by layers below peer layers communicate with a protocolpeer layers communicate with a protocol
![Page 4: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/4.jpg)
Key Elements of a ProtocolKey Elements of a Protocol
syntax - data formatsyntax - data format semantics - control info & error handlingsemantics - control info & error handling timing - speed matching & sequencingtiming - speed matching & sequencing
![Page 5: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/5.jpg)
TCP/IP Protocol ArchitectureTCP/IP Protocol Architecture
developed by US Defense Advanced developed by US Defense Advanced Research Project Agency (DARPA) Research Project Agency (DARPA)
for ARPANET packet switched networkfor ARPANET packet switched network used by the global Internetused by the global Internet protocol suite comprises a large collection protocol suite comprises a large collection
of standardized protocolsof standardized protocols
![Page 6: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/6.jpg)
Simplified Network Simplified Network ArchitectureArchitecture
![Page 7: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/7.jpg)
TCP/IP LayersTCP/IP Layers
no official model but a working one no official model but a working one Application layerApplication layer Host-to-host, or transport layerHost-to-host, or transport layer Internet layerInternet layer Network access layerNetwork access layer Physical layerPhysical layer
![Page 8: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/8.jpg)
Physical LayerPhysical Layer
concerned with physical interface between concerned with physical interface between computer and networkcomputer and network
concerned with issues like:concerned with issues like: characteristics of transmission mediumcharacteristics of transmission medium signal levelssignal levels data ratesdata rates other related mattersother related matters
![Page 9: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/9.jpg)
Network Access LayerNetwork Access Layer
exchange of data between an end system exchange of data between an end system and attached networkand attached network
concerned with issues like :concerned with issues like : destination address provisiondestination address provision invoking specific services like priorityinvoking specific services like priority access to & routing data across a network link access to & routing data across a network link
between two attached systemsbetween two attached systems allows layers above to ignore link specificsallows layers above to ignore link specifics
![Page 10: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/10.jpg)
Internet Layer (IP)Internet Layer (IP)
routing functions across multiple networksrouting functions across multiple networks for systems attached to different networksfor systems attached to different networks using IP protocolusing IP protocol implemented in end systems and routersimplemented in end systems and routers routers connect two networks and relays routers connect two networks and relays
data between themdata between them
![Page 11: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/11.jpg)
Transport Layer (TCP)Transport Layer (TCP)
common layer shared by all applicationscommon layer shared by all applications provides reliable delivery of dataprovides reliable delivery of data in same order as sentin same order as sent commonly uses TCPcommonly uses TCP
![Page 12: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/12.jpg)
Application LayerApplication Layer
provide support for user applicationsprovide support for user applications need a separate module for each type of need a separate module for each type of
applicationapplication
![Page 13: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/13.jpg)
Operation of TCP and IPOperation of TCP and IP
![Page 14: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/14.jpg)
Addressing RequirementsAddressing Requirements
two levels of addressing requiredtwo levels of addressing required each host on a subnet needs a unique each host on a subnet needs a unique
global network addressglobal network address its IP addressits IP address
each application on a (multi-tasking) host each application on a (multi-tasking) host needs a unique address within the hostneeds a unique address within the host known as a portknown as a port
![Page 15: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/15.jpg)
Operation of TCP/IPOperation of TCP/IP
![Page 16: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/16.jpg)
Transmission Control Protocol Transmission Control Protocol ((TCP)TCP)
usual transport layer is (TCP)usual transport layer is (TCP) provides a reliable connection for transfer of provides a reliable connection for transfer of
data between applicationsdata between applications a TCP segment is the basic protocol unita TCP segment is the basic protocol unit TCP tracks segments between entities for TCP tracks segments between entities for
duration of each connectionduration of each connection
![Page 17: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/17.jpg)
TCP HeaderTCP Header
![Page 18: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/18.jpg)
User Datagram ProtocolUser Datagram Protocol(UDP)(UDP)
an alternative to TCPan alternative to TCP no guaranteed deliveryno guaranteed delivery no preservation of sequenceno preservation of sequence no protection against duplicationno protection against duplication minimum overheadminimum overhead adds port addressing to IPadds port addressing to IP
![Page 19: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/19.jpg)
UDP HeaderUDP Header
![Page 20: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/20.jpg)
IP HeaderIP Header
![Page 21: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/21.jpg)
IPv6 HeaderIPv6 Header
![Page 22: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/22.jpg)
TCP/IP ApplicationsTCP/IP Applications
have a number of standard TCP/IP have a number of standard TCP/IP applications such asapplications such as Simple Mail Transfer Protocol (SMTP)Simple Mail Transfer Protocol (SMTP) File Transfer Protocol (FTP)File Transfer Protocol (FTP) TelnetTelnet
![Page 23: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/23.jpg)
Some TCP/IP ProtocolsSome TCP/IP Protocols
![Page 24: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/24.jpg)
OSIOSI
Open Systems InterconnectionOpen Systems Interconnection developed by the International developed by the International
Organization for Standardization (ISO)Organization for Standardization (ISO) has seven layershas seven layers is a theoretical system delivered too late!is a theoretical system delivered too late! TCP/IP is the de facto standardTCP/IP is the de facto standard
![Page 25: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/25.jpg)
OSI LayersOSI Layers
![Page 26: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/26.jpg)
OSI v TCP/IPOSI v TCP/IP
![Page 27: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/27.jpg)
Standardized Protocol Standardized Protocol ArchitecturesArchitectures
![Page 28: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/28.jpg)
Layer Specific StandardsLayer Specific Standards
![Page 29: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/29.jpg)
Service Primitives and Service Primitives and ParametersParameters
define services define services between adjacent between adjacent layers using:layers using:
primitives to specify primitives to specify function performedfunction performed
parameters to pass parameters to pass data and control infodata and control info
![Page 30: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/30.jpg)
Primitive TypesPrimitive TypesREQUEST A primitive issued by a service user to invoke some
service and to pass the parameters needed to specify fully the requested service
INDICATION A primitive issued by a service provider either to: indicate that a procedure has been invoked by the peer service user on the connection and to provide the associated parameters, or notify the service user of a provider-initiated action
RESPONSE A primitive issued by a service user to acknowledge or complete some procedure previously invoked by an indication to that user
CONFIRM A primitive issued by a service provider to acknowledge or complete some procedure previously invoked by a request by the service user
![Page 31: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/31.jpg)
Traditional vs Multimedia Traditional vs Multimedia ApplicationsApplications
traditionally Internet dominated by info traditionally Internet dominated by info retrieval applicationsretrieval applications typically using text and image transfertypically using text and image transfer eg. email, file transfer, webeg. email, file transfer, web
see increasing growth in multimedia see increasing growth in multimedia applicationsapplications involving massive amounts of datainvolving massive amounts of data such as streaming audio and video such as streaming audio and video
![Page 32: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/32.jpg)
Elastic and Inelastic TrafficElastic and Inelastic Traffic
elastic trafficelastic traffic can adjust to delay & throughput changes can adjust to delay & throughput changes
over a wide rangeover a wide range eg. traditional “data” style TCP/IP trafficeg. traditional “data” style TCP/IP traffic some applications more sensitive thoughsome applications more sensitive though
inelastic trafficinelastic traffic does not adapt to such changesdoes not adapt to such changes eg. “real-time” voice & video trafficeg. “real-time” voice & video traffic need minimum requirements on net archneed minimum requirements on net arch
![Page 33: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/33.jpg)
Multimedia TechnologiesMultimedia Technologies
![Page 34: 02 protocol architecture](https://reader033.vdocuments.site/reader033/viewer/2022061206/5482ada7b4af9fd97c8b47b7/html5/thumbnails/34.jpg)
SummarySummary
introduced need for protocol architectureintroduced need for protocol architecture TCP/IP protocol architectureTCP/IP protocol architecture OSI Model & protocol architecture OSI Model & protocol architecture
standardizationstandardization traditional vs multimedia application needstraditional vs multimedia application needs