lecture 3- protocol architecture.ppt
TRANSCRIPT
![Page 1: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/1.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 1/34
Data and Computer
Communications
Lecture 3
Protocol Architecture, TCP/IP, and
Internet-Based Applications
![Page 2: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/2.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 2/34
Protocol Architecture, TCP/IP,
and Internet-Based Applications
• To destroy communication completely, there
must be no rules in common between
transmitter and receiver — neither of alphabet
nor of syntax — On Human Communication,
Colin Cherry
![Page 3: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/3.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 3/34
OSI
• Open Systems Interconnection
• developed by the International
Organization for Standardization (ISO)
• has seven layers
• is a theoretical system delivered too late!
• TCP/IP is the de facto standard
![Page 4: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/4.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 4/34
OSI Layers
![Page 5: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/5.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 5/34
OSI v TCP/IP
![Page 6: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/6.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 6/34
Standardized Protocol
Architectures
![Page 7: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/7.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 7/34
Layer Specific Standards
![Page 8: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/8.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 8/34
Service Primitives and
Parameters
• define services
between adjacent
layers using:
• primitives to specify
function performed
• parameters to passdata and control info
![Page 9: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/9.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 9/34
Primitive Types
REQUEST A primitive issued by a service user to invoke someservice 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 theassociated 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 10: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/10.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 10/34
Need For Protocol Architecture
• data exchange can involve complex
procedures, c.f. file transfer example
• better if task broken into subtasks• implemented separately in layers in stack
– each layer provides functions needed to
perform comms for layers above – using functions provided by layers below
• peer layers communicate with a protocol
![Page 11: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/11.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 11/34
Key Elements of a Protocol
• syntax - data format
• semantics - control info & error handling
• timing - speed matching & sequencing
![Page 12: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/12.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 12/34
TCP/IP Protocol Architecture
• developed by US Defense AdvancedResearch Project Agency (DARPA)
• for ARPANET packet switched network
• used by the global Internet
• protocol suite comprises a large collectionof standardized protocols
![Page 13: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/13.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 13/34
Simplified Network Architecture
![Page 14: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/14.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 14/34
TCP/IP Layers
• no official model but a working one
– Application layer
– Host-to-host, or transport layer
– Internet layer – Network access layer
– Physical layer
![Page 15: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/15.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 15/34
Physical Layer
• concerned with physical interface between
computer and network
• concerned with issues like: – characteristics of transmission medium
– signal levels
– data rates
– other related matters
![Page 16: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/16.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 16/34
Network Access Layer
• exchange of data between an end systemand attached network
• concerned with issues like :
– destination address provision
– invoking specific services like priority
– access to & routing data across a network link
between two attached systems• allows layers above to ignore link specifics
![Page 17: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/17.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 17/34
Internet Layer (IP)
• routing functions across multiple networks
• for systems attached to different networks
• using IP protocol• implemented in end systems and routers
• routers connect two networks and relays
data between them
![Page 18: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/18.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 18/34
Transport Layer (TCP)
• common layer shared by all applications
• provides reliable delivery of data
• in same order as sent• commonly uses TCP
![Page 19: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/19.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 19/34
Application Layer
• provide support for user applications
• need a separate module for each type of
application
![Page 20: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/20.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 20/34
Operation of TCP and IP
![Page 21: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/21.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 21/34
Addressing Requirements
• two levels of addressing required
• each host on a subnet needs a unique
global network address
– its IP address
• each application on a (multi-tasking) host
needs a unique address within the host
– known as a port
![Page 22: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/22.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 22/34
Operation of TCP/IP
![Page 23: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/23.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 23/34
Transmission Control Protocol
(TCP)
• usual transport layer is (TCP)
• provides a reliable connection for transfer of data between applications
• a TCP segment is the basic protocol unit• TCP tracks segments between entities for
duration of each connection
![Page 24: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/24.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 24/34
TCP Header
![Page 25: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/25.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 25/34
User Datagram Protocol
(UDP)
• an alternative to TCP
• no guaranteed delivery
• no preservation of sequence
• no protection against duplication
• minimum overhead• adds port addressing to IP
![Page 26: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/26.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 26/34
UDP Header
![Page 27: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/27.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 27/34
IP Header
![Page 28: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/28.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 28/34
IPv6 Header
![Page 29: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/29.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 29/34
TCP/IP Applications
• have a number of standard TCP/IP
applications such as
– Simple Mail Transfer Protocol (SMTP)
– File Transfer Protocol (FTP)
– Telnet
![Page 30: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/30.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 30/34
Some TCP/IP Protocols
![Page 31: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/31.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 31/34
Traditional vs Multimedia
Applications• traditionally Internet dominated by info
retrieval applications
– typically using text and image transfer
– eg. email, file transfer, web
• see increasing growth in multimedia
applications
– involving massive amounts of data
– such as streaming audio and video
![Page 32: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/32.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 32/34
Elastic and Inelastic Traffic
• elastic traffic
– can adjust to delay & throughput changes
over a wide range
– eg. traditional “data” style TCP/IP traffic
– some applications more sensitive though
• inelastic traffic
– does not adapt to such changes
– eg. “real-time” voice & video traffic
– need minimum requirements on net arch
![Page 33: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/33.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 33/34
Multimedia Technologies
![Page 34: Lecture 3- Protocol Architecture.ppt](https://reader036.vdocuments.us/reader036/viewer/2022062504/577ce01a1a28ab9e78b2abe3/html5/thumbnails/34.jpg)
7/29/2019 Lecture 3- Protocol Architecture.ppt
http://slidepdf.com/reader/full/lecture-3-protocol-architectureppt 34/34
Summary
• introduced need for protocol architecture
• TCP/IP protocol architecture
• OSI Model & protocol architecturestandardization
• traditional vs multimedia application needs