William Stallings Data and Computer Communications 7 Edition Need For Protocol Architecture
William Stallings Data and Computer Communications 7 Edition Need For Protocol Architecture
William Stallings Data and Computer Communications 7 Edition Need For Protocol Architecture
Task broken into subtasks Implemented separately in layers in stack Functions needed in both systems Peer layers communicate
Protocol Architecture
Task of communication broken up into modules For example file transfer could use three modules
File transfer application Communication service module Network access module
Semantics
Control information Error handling
Timing
Speed matching Sequencing
Transport Layer
Reliable data exchange Independent of network being used Independent of application
Application Layer
Support for different user applications e.g. e-mail, file transfer
Addressing Requirements
Two levels of addressing required Each computer needs unique network address Each application on a (multi-tasking) computer needs a unique address within the computer
The service access point or SAP The port on TCP/IP stacks
Network PDU
Adds network header
network address for destination computer Facilities requests
OSI
Open Systems Interconnection Developed by the International Organization for Standardization (ISO) Seven layers A theoretical system delivered too late! TCP/IP is the de facto standard
OSI Layers
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
Primitive Types
REQUEST A primitive issued by a service user to invoke some service and to pass the parameters needed to specify fully the requested service 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 A primitive issued by a service user to acknowledge or complete some procedure previously invoked by an indication to that user A primitive issued by a service provider to acknowledge or complete some procedure previously invoked by a request by the service user
INDICATION
RESPONSE
CONFIRM
Data Link
Means of activating, maintaining and deactivating a reliable link Error detection and control Higher layers may assume error free transmission
Transport
Exchange of data between end systems Error free In sequence No losses No duplicates Quality of service
Presentation
Data formats and coding Data compression Encryption
Application
Means for applications to access OSI environment
Use of a Relay
Physical Layer
Physical interface between data transmission device (e.g. computer) and transmission medium or network Characteristics of transmission medium Signal levels Data rates etc.
Application Layer
Support for user applications e.g. http, SMPT
OSI v TCP/IP
TCP
Usual transport layer is Transmission Control Protocol
Reliable connection
UDP
Alternative to TCP is User Datagram Protocol Not guaranteed delivery No preservation of sequence No protection against duplication Minimum overhead Adds port addressing to IP
Connection
Temporary logical association between entities in different systems
TCP PDU
Called TCP segment Includes source and destination port (c.f. SAP)
Identify respective users (applications) Connection refers to pair of ports
TCP/IP Concepts
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)
PDUs in TCP/IP
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 Halsall, F. Data Communications, Computer Networks and Open Systems, Addison Wesley RFCs