1 William Stallings Data and Computer Communications 7 th Edition Chapter 2 Protocols and Architecture.

Slides:



Advertisements
Similar presentations
Computer Networks TCP/IP Protocol Suite.
Advertisements

Arsitektur Jaringan Pertemuan 09 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
Chapter 5: TCP/IP and OSI Business Data Communications, 5e.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
PROTOCOLS AND ARCHITECTURE Lesson 2 NETS2150/2850.
Chapter 2: Protocols and Architecture
Protocols and the TCP/IP Suite Chapter 4 (Stallings Book)
Chapter 4 : TCP/IP and OSI Business Data Communications, 4e.
Semester Copyright USM EEE442 Computer Networks Introduction: Protocols En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK)
Protocols and the TCP/IP Suite
EE 4272Spring, 2003 EE4272: Computer Networks Instructor: Tricia Chigan Dept.: Elec. & Comp. Eng. Spring, 2003.
EE 4272Spring, 2003 Protocols & Architecture A Protocol Architecture is the layered structure of hardware & software that supports the exchange of data.
1 Review of Important Networking Concepts Introductory material. This module uses the example from the previous module to review important networking concepts:
Data Communications Architecture Models. What is a Protocol? For two entities to communicate successfully, they must “speak the same language”. What is.
Term Paper Phase-I is Due on Tuesday, February 19 in class timing —Submit a Hard Copy of your paper (MS word Document) —Follow the instructions in “Term.
William Stallings Data and Computer Communications 7 th Edition Chapter 2 Protocols and Architecture.
Chapter 2: Protocols and Architecture COE 341: Data & Computer Communications (Term 061) Dr. Radwan E. Abdel-Aal.
ECS 152A 1. Introduction. A Communications Model Source —generates data to be transmitted Transmitter —Converts data into transmittable signals Transmission.
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 2: Protocols and Architecture.
Network Technology CSE Network Technology CSE3020 Week 1.
Dr. Mohammed Aldasht and Dr. Mahdi Nasereddin
Protocols; TCP/IP and OSI Model
Computer Networks with Internet Technology William Stallings
Data and Computer Communications
Chapter 5: TCP/IP and OSI Business Data Communications, 6e.
1 Review of Important Networking Concepts Introductory material. This slide uses the example from the previous module to review important networking concepts:
Lecture slides prepared for “Business Data Communications”, 7/e, by William Stallings and Tom Case, Chapter 8 “TCP/IP”.
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
Chapter 17 Networking Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William Stallings.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
Computer Networks with Internet Technology William Stallings Chapter 2 Protocols and the TCP/IP Protocol Suite.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Protocol Architectures. Simple Protocol Architecture Not an actual architecture, but a model for how they work Similar to “pseudocode,” used for teaching.
Protocols and the TCP/IP Suite
William Stallings Data and Computer Communications 7 th Edition Data Communications and Networks Overview Protocols and Architecture.
Computer Networks with Internet Technology William Stallings Chapter 2 Protocols and the TCP/IP Protocol Suite.
Data and Computer Communications
Computer Networks (CS 132/EECS148) General Networking Example Karim El Defrawy Donald Bren School of Information and Computer Science University of California.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications 1.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
Topic 2 – Protocol Architecture 1 FIT1005 FIT – Monash University Topic 2 - Protocol Architecture Reference: Chapter 2 – Stallings 7E.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
Chapter 2 Protocols and the TCP/IP Suite 1 Chapter 2 Protocols and the TCP/IP Suite.
William Stallings Data and Computer Communications
CHAPTER 4 PROTOCOLS AND THE TCP/IP SUITE Acknowledgement: The Slides Were Provided By Cory Beard, William Stallings For Their Textbook “Wireless Communication.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Protocols and Architecture Slide 1 Use of Standard Protocols.
Protocols Used for communications between entities in a system Used for communications between entities in a system Must speak the same language Must speak.
Communication Architecture and Network Protocol Layering Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by:
CSCI 465 D ata Communications and Networks Lecture 2 Martin van Bommel CSCI 465 Data Communications & Networks 1.
Chapter 2: Protocols and Architecture COE 341: Data & Computer Communications (Term 061) Dr. Radwan E. Abdel-Aal.
TUNALIData Communications1 Chapter 2 Protocols and Architecture.
Computer Networking A Top-Down Approach Featuring the Internet Introduction Jaypee Institute of Information Technology.
Roadmap  Introduction to Basics  Computer Network – Components | Classification  Internet  Clients and Servers  Network Models  Protocol Layers.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
Computer Networks with Internet Technology William Stallings Chapter 2 Protocols and the TCP/IP Protocol Suite.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Protocols and the TCP/IP Suite
Computer Communication Networks
Lecture (2).
Distributed Systems.
Computer Networks with Internet Technology William Stallings
Pertemuan 11 Model TCP/IP
University of Houston Protocols and Architecture Datacom II Lecture 4
Protocols and the TCP/IP Suite
Data and Computer Communications by William Stallings Eighth Edition
Protocols and the TCP/IP Suite
Computer Networking A Top-Down Approach Featuring the Internet
Review of Important Networking Concepts
Presentation transcript:

1 William Stallings Data and Computer Communications 7 th Edition Chapter 2 Protocols and Architecture

2 Need For Protocol Architecture Complex functions (E.g. File transfer) —Source must activate communication channel —Source must check destination is prepared to receive —May need file format translation —Other functions shown in table 1.1 should be provided. Task broken into subtasks Implemented separately in layers in stack Functions needed in both systems Peer layers communicate each other

3 Key Elements of a Protocol Modularize into layer Protocol —Set of communication rule Syntax —Data formats Semantics —Control information —Error handling Timing —Speed matching —Sequencing ftp Protocol ftp TCP Peer IP TCP Peer IP ETH Layer RTH Layer

4 Protocol Architecture Task of communication broken up into modules Three layer model 1.Application layer 2.Transport layer —Communication service module 3.Network access layer

5 Simplified File Transfer Architecture

6 Network Access Layer Exchange of data between the computer and the network Sending computer provides address of destination Dependent on type of network used (LAN, packet switched etc.)

7 Transport Layer Reliable data exchange between end systems Independent of network being used Independent of application

8 Application Layer Support for different user applications e.g. , file transfer

9 Protocol Architectures and Networks

10 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

11 Protocols in Simplified Architecture

12 Protocol Data Units

13 Protocol Data Units (PDU) At each layer, protocols are used to communicate Control information is added to user data at each layer Transport layer may fragment user data Each fragment has a transport header added —Destination SAP —Sequence number —Error detection code This gives a transport protocol data unit

14 Network PDU Adds network header —network address for destination computer —Facilities requests

15 Operation of a Protocol Architecture

16 Standardized Protocol Architectures Needs for Standards —Required for devices to communicate —Vendors have more marketable products —Customers can insist on standards based equipment Two standards: —OSI Reference model: De Jure Standard Never lived up to early promises —TCP/IP protocol suite: De Facto Standard Most widely used Also: IBM Systems Network Architecture (SNA)

17 OSI Open Systems Interconnection Developed by the International Organization for Standardization (ISO) Seven layers A theoretical system delivered too late! TCP/IP is a de facto standards

18 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

19 OSI Layers

20 Protocol Implementation Application Presentation Session Transport Network DL PHY/ETH Network DL ATM Application Presentation Session Transport Network DL PHY Network DL ETHATM 단말기 인터넷 라우터

21 The OSI Environment

22 OSI as Framework for Standardization

23 Layer Specific Standards

24 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

25 Service Primitives and Parameters Services between adjacent layers expressed in terms of primitives and parameters Primitives specify function to be performed Parameters pass data and control info

26 Primitive Types REQUESTA primitive issued by a service user to invoke some service and to pass the parameters needed to specify fully the requested service INDICATIONA 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 RESPONSEA primitive issued by a service user to acknowledge or complete some procedure previously invoked by an indication to that user CONFIRMA primitive issued by a service provider to acknowledge or complete some procedure previously invoked by a request by the service user

27 Timing Sequence for Service Primitives

28 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

29 OSI Layers (2) Network —Transport of information, routing —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

30 OSI Layers (3) Session —Control of dialogues between applications —Recovery Presentation —Data formats and encoding —Data compression —Encryption Application —Means for applications to access OSI environment —User interface

31 Use of a Relay

32 TCP/IP Protocol Architecture Developed by the US Defense Advanced Research Project Agency (DARPA) for its packet switched network (ARPANET) Used by the global Internet No official model but a working one. —Application layer —Host to host or transport layer —Internet layer —Network access layer —Physical layer

33 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.

34 Network Access Layer Means of activating, maintaining and deactivating a reliable link Exchange of data between end system and network Error detection and control

35 Internet Layer (IP) Systems may be attached to different networks Routing functions across multiple networks Implemented in end systems and routers

36 Transport Layer (TCP) Reliable delivery of data Ordering of delivery

37 Application Layer Support for user applications e.g. http, SMPT

38 OSI v TCP/IP

39 TCP Usual transport layer is Transmission Control Protocol —Reliable connection 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

40 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

41 TCP/IP Concepts

42 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)

43 Trace of Simple Operation Process associated with port 1 in host A sends message to port 2 in host B Process at A hands down message to TCP to send to port 2 TCP hands down to IP to send to host B IP hands down to network layer (e.g. Ethernet) to send to router J Generates a set of encapsulated PDUs

44 PDUs in TCP/IP

45 Example Header Information Destination port Sequence number Checksum

46 Some Protocols in TCP/IP Protocol Suite

47 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