Protocol Architecture



Similar documents
How To Understand The Layered Architecture Of A Network

The OSI Model and the TCP/IP Protocol Suite PROTOCOL LAYERS. Hierarchy. Services THE OSI MODEL

Communication Networks. MAP-TELE 2011/12 José Ruela

Computer Networks CS321

The OSI and TCP/IP Models. Lesson 2

Protocols and Architecture. Protocol Architecture.

Communications and Computer Networks

Layered Architectures and Applications

CSCI 362 Computer and Network Security

Understanding TCP/IP. Introduction. What is an Architectural Model? APPENDIX

Objectives of Lecture. Network Architecture. Protocols. Contents

EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst

Protocol Architecture. ATM architecture

Protocol Data Units and Encapsulation

Data Communication Networks and Converged Networks

ATM. Asynchronous Transfer Mode. Networks: ATM 1

Module 1. Introduction. Version 2 CSE IIT, Kharagpur

CSE 3461 / 5461: Computer Networking & Internet Technologies

Chapter 3: Review of Important Networking Concepts. Magda El Zarki Dept. of CS UC Irvine

ICS 153 Introduction to Computer Networks. Inst: Chris Davison

Top-Down Network Design

Network Models OSI vs. TCP/IP

Indian Institute of Technology Kharagpur. TCP/IP Part I. Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology

Basic Networking Concepts. 1. Introduction 2. Protocols 3. Protocol Layers 4. Network Interconnection/Internet

SFWR 4C03: Computer Networks & Computer Security Jan 3-7, Lecturer: Kartik Krishnan Lecture 1-3

Overview. Securing TCP/IP. Introduction to TCP/IP (cont d) Introduction to TCP/IP

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

Computer Networks Vs. Distributed Systems

The OSI Model and the TCP/IP Protocol Suite

1 Introduction to mobile telecommunications

Security (II) ISO : Security Architecture of OSI Reference Model. Outline. Course Outline: Fundamental Topics. EE5723/EE4723 Spring 2012

UPPER LAYER SWITCHING

Link Layer. 5.6 Hubs and switches 5.7 PPP 5.8 Link Virtualization: ATM and MPLS

Data Communications and Networking Overview

Zarządzanie sieciami telekomunikacyjnymi

The OSI Model: Understanding the Seven Layers of Computer Networks

CS 78 Computer Networks. Internet Protocol (IP) our focus. The Network Layer. Interplay between routing and forwarding

THE OSI REFERENCE MODEL LES M C LELLAN DEAN WHITTAKER SANDY WORKMAN

Network-Oriented Software Development. Course: CSc4360/CSc6360 Instructor: Dr. Beyah Sessions: M-W, 3:00 4:40pm Lecture 2

Lecture 28: Internet Protocols

EE4367 Telecom. Switching & Transmission. Prof. Murat Torlak

OPEN SYSTEMS INTERCONNECTION OVERVIEW OF PROTOCOL LAYERING AND OSI MODEL OF NETWORK STACKS

Communication Networks. MAP-TELE 2011/12 José Ruela

How To Design A Layered Network In A Computer Network

Overview of Computer Networks

Master Course Computer Networks IN2097

524 Computer Networks

10CS64: COMPUTER NETWORKS - II

ELEC3030 (EL336) Computer Networks. How Networks Differ. Differences that can occur at network layer, which makes internetworking difficult:

Chapter 1: Introduction

Ethernet. Ethernet. Network Devices

Asynchronous Transfer Mode: ATM. ATM architecture. ATM: network or link layer? ATM Adaptation Layer (AAL)

THE TCP/IP PROTOCOL SUITE

Networking Test 4 Study Guide

Transport and Network Layer

Architecture and Performance of the Internet

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

OSI Model. Application Presentation Session Transport Network Data Link Physical. EE156 Computer Network Architecture

Network Layer. Introduction Datagrams and Virtual Circuits Routing Traffic Control. Data delivery from source to destination.

an interconnected collection of autonomous computers interconnected = able to exchange information

Network Security 網 路 安 全. Lecture 1 February 20, 2012 洪 國 寶

Chapter 9. IP Secure

CPS221 Lecture: Layered Network Architecture

Internet Concepts. What is a Network?

PART OF THE PICTURE: The TCP/IP Communications Architecture

IP Networking. Overview. Networks Impact Daily Life. IP Networking - Part 1. How Networks Impact Daily Life. How Networks Impact Daily Life

The OSI model has seven layers. The principles that were applied to arrive at the seven layers can be briefly summarized as follows:

Chapter 2 - The TCP/IP and OSI Networking Models

Lecture Computer Networks

The TCP/IP Reference Model

ELEC3030 Computer Networks

Mathatma Gandhi University

Quality of Service in ATM Networks

Overview of TCP/IP. TCP/IP and Internet

What is CSG150 about? Fundamentals of Computer Networking. Course Outline. Lecture 1 Outline. Guevara Noubir noubir@ccs.neu.

A PPENDIX L TCP/IP and OSI

Protocol Specification & Design. The Internet and its Protocols. Course Outline (trivia) Introduction to the Subject Teaching Methods

DL TC72 Communication Protocols: HDLC, SDLC, X.25, Frame Relay, ATM

Topics: 1. HTTP, DNS, and SMTP Examples 2. Layered Architectures 3. OSI Reference Model 4. TCP/IP Reference Model. Garcia: Sections

Network Models and Protocols

An ATM WAN/LAN Gateway Architecture

WAN Technology. Heng Sovannarith

IT4405 Computer Networks (Compulsory)

Module 4. Switched Communication Networks. Version 2 CSE IIT, Kharagpur

Based on Computer Networking, 4 th Edition by Kurose and Ross

Frame Relay and Frame-Based ATM: A Comparison of Technologies

Data Communication and Computer Network

Lecture (02) Networking Model (TCP/IP) Networking Standard (OSI) (I)

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

How To Use A Network Over The Internet (Networking) With A Network (Netware) And A Network On A Computer (Network)

OSI Reference Model: An Overview

Overview of Asynchronous Transfer Mode (ATM) and MPC860SAR. For More Information On This Product, Go to:

IP - The Internet Protocol

Data Communication Networks

Network Security. Vorlesung Kommunikation und Netze SS 10 E. Nett

CS 5516 Computer Architecture Networks

Transport Layer. Chapter 3.4. Think about

Transport Layer Protocols

Transcription:

Protocol Architecture ed Protocol Architectures OSI Reference Model TCP/IP Protocol Stack Need for Protocols The task of exchanging information between devices requires a high degree of cooperation between the involved parties can be quite complex Protocols are a set of rules and conventions. By enforcing that communicating parties adhere to a common protocol, communication is made possible. The complexity of the communication task is reduced by dividing it into subtasks: Each subtask is implemented independently. Each subtask provides a service to another subtask. 1

Example: Subtasks of Communications Example: The purchasing director of the Italian company Vendetta, located in Milan, Italy, wants to ask the Sales Director of the US company Crash, with headquarters in Mobile, AL, about the price of the Ultimo 6000 Supercomputer which is produced by Crash. When we divide the described communication task into subtasks we see that: Separate entities in a company perform certain subtasks Company entities provide services to other entities An entity responsible for a certain subtask performs the task by following a protocol Example: Subtasks of Communications Purchasing Director Quanta costa l Ultimo 6000? Milan Mobile Sales Director How much for the Ultimo 6000? Administrative Assistant: Translates message and prepares a letter Administrative Assistant: no action Shipping Manager: Packs shipment Assigns shipping number Geneva New Orleans Shipping Manager: Call Italy to confirm arrival of letter Shipping Clerk: Determines route of the shipment Shipping Clerk: Determines route of the shipment Shipping Clerk: Determines route of the shipment Shipping Clerk: Determines route of the shipment Mailroom Worker Attaches label Loads mailbag Mailroom Worker Attaches label Loads mailbag Mailroom Worker Attaches label Loads mailbag Mailroom Worker Attaches label Loads mailbag 2

Architecture Protocol: A set of rules and conventions used for communication of entities in different systems System: Object that contains several entities (e.g., the company). : Anything capable of sending or receiving information (e.g, the secretary in a company) A Architecture is a structured set of protocols that implement the exchange of information between computers ed Architecture In a ed Architecture, the services are grouped in a hierarchy of layers. An entity of layer N uses only services of layer N-1. An entity of layer N provides services only to layer N+1. Example: Architecture not layered layered A B A B layer 3 C C layer 2 E D E D layer 1 3

ed Communications Each entity of a system is assigned to a layer An entity of a particular layer can only communicate with: 1. adjacent layer entities via Service Interfaces above - to provide service below - to receive services 2. peer layer entity using a common protocol (Peer Protocol) ed Communications A communication layer is completely defined by (a) The peer protocol between peer entities at the same layer (b) The service interface used to offer/provide services between adjacent layers Note: When talking about two adjacent layers, (a) the higher layer is a service user, and (b) the lower layer is a service provider 4

ed Communications N+1 N+1 N+1 Protocol N+1 layer N+1/N interface N N N Protocol N layer N/N-1 interface N-1 N-1 N-1 Protocol N-1 Note: interfaces define physical data flow. Peer protocols describe exchange of logical messages between peer layer entities Service Access Points A service user accesses services of the service provider at Service Access Points (SAPs) A SAP has an address that uniquely identifies where the service can be accessed N layer N/N-1 service interface N-1 -N - N-1 N-1 SAP 5

Exchange of Data Assume a layer-n entity at A wants to send data to a layer-n peer entity to B. The unit of data send between peer entities is called a Protocol Data Unit (PDU) For now, let us think of a PDU as a single packet A N PDU (at layer N) N B What actually happens: N passes the PDU to one of A s SAPs at layer N-1. The layer N-1 entity (at A) then constructs its own PDU which it sends to the layer N-1 entity at B. Note: PDU at layer N-1 = Header + PDU at layer N Exchange of Data A B -N control N PDU When passed to the SAP, the PDU is called a Service Data Unit (SDU) (-N PDU = - N-1 SDU) -N SAPs - N-1 - N-1 control N PDU Header (of layer N-1) N PDU PDU of -N-1 6

Service Primitives Communication between adjacent layers is done via function calls. The functions are called service primitives Almost all communication is done with only four types of service primitives: REQUEST: entity wants service provider to do work INDICATION: service provider informs entity about an event RESPONSE: entity wants to respond to an event CONFIRM: response to an earlier request has come back Service Primitives Assume the name of a service is called X. N+1 N+1 Protocol N+1 X. Request X. Confirm X. Indication X. Response N N 7

Service Primitives Recall: A layer N+1 entity sees the lower layers only as a service provider N+1 N+1 Protocol N+1 X. Request X. Confirm X. Indication X. Response Service Provider Example: Sending a Letter Bob sends a letter to Alice Bob Logical flow of information Alice Bob s mailbox Alice s mailbox Postman 8

Putting the Example into our Context Identify the entities? Identify layers? What is the service? Who is a service user? Who is a service provider? What are the SAPs? What are the PDUs? Describe the peer protocol between Bob and Alice? Which service primitives are invoked? Bob, Alice, Postman 2: Bob, Alice 1: Postman Deliver_Letter ( L ) Bob and Alice Postman Mailboxes Letter (at 2) The protocol is actually complicated: When Bob sends a letter to Alice, the letter must identify Alice as the recipient. The letter must be written in a language that Alice can read. Bob must be able to write, and Alice must be able to read. Both need to know where their respective mailboxes are, and they must be able to operate a mailbox, etc. Letter is dropped off by Bob (L.Request); Letter is delivered to Alice s mailbox (L.Indicate) (Un-)Acknowledged Service The example showed only two service primitives: L.Request, L.Indicate A service which uses these two primitives is called unconfirmed service L.Request US Mail L.Indicate If Bob asks for a certificate of delivery we would need: L.Request, L.Indicate, L.Response, L.Confirm The resulting service is called acknowledged service L.Request L.Confirm US Mail L.Indicate L.Indicate 9

Protocol Architectures There are only few protocol architectures that are relevant today: OSI Reference Model Defined as a big effort in the 1970 s by ISO to specify a comprehensive set of protocols for networking. The effort failed, in that the defined protocols are not widely used. However, the concepts and terminology defined in the OSI model are the lingua franca of many networkers TCP/IP Protocols Suite The Internet protocol architecture is not the result of a design effort, but has evolved over several decades ATM Protocol Stack An example that protocols can be designed by a committee. Future relevance will depend on the success of ATM OSI Reference Model In 1977 the International Standardization Organization (ISO) developed a model for a layered network architecture This effort was completed in 1983 and is known as the Open Systems Interconnection (OSI) Reference Model The OSI model defines seven layers: 7: 6: Presentation 5: Session 4: 3: 2: 1: ( 0: Interconnection Media) 10

OSI s HOST HOST Presentation Presentation Session Session NODE NODE OSI s and Encapsulation Data Header of AH Data Data Presentation PH AH Data Presentation Session SH PH AH Data Session TH SH PH AH Data NH TH SH PH AH Data DH NH TH SH PH AH Data Bits 11

OSI Model in a Switched Communication Node (Router) Presentation Session Presentation Session Station (Host) A Tour of the OSI s ( 1): Service: Transmission of a raw bit stream over a communication channel Functions: Conversion of bits into electrical or optical signals Examples: X.21, RS-232-C ( 2): Service: Reliable transfer of frames over a link Functions: synchronization, error Control, flow control Examples: HDLC, CCITT LAP-D 12

A Tour of the OSI s ( 3): Service: Moves packets inside the network. Functions: Routing, Addressing, Switching, Congestion Control. Examples: IP, X.25, CLNP. ( 4): Service: Controls delivery of data between hosts. Functions: Connection establishment/management/termination, Error Control, Flow Control, Multiplexing. Examples: TCP, UDP, ISO TP0 - TP4. A Tour of the OSI s Session ( 5): Service: Support the dialog between cooperating application programs Functions: Session establishment/management/termination, Synchronization, Recovery Examples: ISO session protocol, RPC Presentation ( 6): Service: Provides freedom from compatibility problems Functions: Virtual device support, syntax conversion, encryption Examples: ISO presentation protocol ( 7): Service: Provides network access to application programs Functions: Everything is application specific Examples: File Transfer, Electronic Mail 13

TCP/IP Protocol Suite The TCP/IP protocol suite was first defined in 1974 The TCP/IP protocol suite is the protocol architecture of the Internet The TCP/IP suite has four layers:,, Internet, and Interface Internet Interface telnet, ftp, email TCP, UDP IP, ICMP, IGMP Device Drivers Example: File Transfer Host A Router Host B FTP program FTP protocol FTP program TCP TCP protocol TCP IP IP protocol IP IP protocol IP Ethernet Driver Ethernet protocol Ethernet Driver Ethernet Driver Ethernet protocol Ethernet Driver 14

Encapsulation in the TCP/IP Suite As data is moving down the protocol stack, each protocol is adding layer-specific control information. User data TCP Header User data TCP Header data IP TCP segment Ethernet Driver Ethernet Header IP Header IP Header TCP Header TCP Header IP datagram data data Ethernet Trailer Ethernet frame TCP/IP Protocol Suite The complete TCP/IP protocol suite contains many protocols. The following graph is far from complete User Process User Process User Process User Process TCP UDP ICMP IP IGMP ARP Hardware Interface RARP Link Media 15

Comparison of OSI Model and TCP/IP Suite OSI Presentation Session TCP/IP Internetwork Access The B-ISDN ATM Reference Model ATM technology has its own protocol architecture Control Plane User Plane Upper Upper ATM Adaptation (AAL) ATM End-to-end layer Transfer of Cells Same as in OSI 16

s of ATM Host A ATM Switch Host B Upper s Upper Protocol Upper s AAL AAL Protocol AAL ATM l ATM ATM ATM The ATM is responsible for the transport of 53 cells across an ATM network The ATM can provide a variety of services for cells from an ATM virtual connection: Constant Bit Rate (CBR) guarantees a fixed capacity, similar to circuit switching guarantees a maximum delay for cells Variable Bit Rate (VBR) guarantees an average throughput can guarantee maximum delay Available Bit Rate (ABR) guarantees fairness with respect to other traffic Unspecified Bit Rate (UBR) service is on a best effort basis 17

ATM Adaptation (AAL) AAL provides services which are between upper layers and ATM layers. An important service is the segmenation and reassembly of upper layer data Data Data AAL segmentation AAL reassembly Cells ATM Cells AAL Service Classification AAL has 4 different protocols: AAL 1, AAL 2, AAL 3/4, AAL 5 Each protocol provides a different service Timing information in data? Class A Class B Class C Class D Required Not required Bit rate of data: Constant Variable Mode of connection Connection-oriented Connectionless AAL protocol to be used AAL 1 AAL 2 AAL 3/4 AAL 5 18

ATM Services and AAL Protocols CBR rt-vbr nrt-vbr ABR UBR AAL 1 AAL 2 AAL 3/4 AAL 5 19