Protocols and Layering

Slides:



Advertisements
Similar presentations
TCP/IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet.
Advertisements

Protocols and the TCP/IP Suite Chapter 4 (Stallings Book)
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
1 Fall 2005 Protocols and layering Qutaibah Malluhi Computer Science and Engineering Qatar University.
Protocols and the TCP/IP Suite
Internet Technologies Overview
CSCI 4550/8556 Computer Networks
Chapter 19 Binding Protocol Addresses (ARP) Chapter 20 IP Datagrams and Datagram Forwarding.
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
TCP: Software for Reliable Communication. Spring 2002Computer Networks Applications Internet: a Collection of Disparate Networks Different goals: Speed,
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
OIS Model TCP/IP Model.
SEPT, 2005CSI Part 2.2 Protocols and Protocol Layering Robert Probert, SITE, University of Ottawa.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
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.
Internet Applications
Review: – computer networks – topology: pair-wise connection, point-to-point networks and broadcast networks – switching techniques packet switching and.
ISO Layer Model Lecture 9 October 16, The Need for Protocols Multiple hardware platforms need to have the ability to communicate. Writing communications.
Presentation on Osi & TCP/IP MODEL
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 Layering Chapter 10. Looked at: Architectural foundations of internetworking Architectural foundations of internetworking Forwarding of datagrams.
Protocols and the TCP/IP Suite
Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff.
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.
1 Chapter 16 Protocols and Protocol Layering. 2 Protocol  Agreement about communication  Specifies  Format of messages (syntax)  Meaning of messages.
Computer Networks. Introduction Computer Network2 A History Lesson of Networking 1969 – ARPANET, first packet switched network consist of UCLA, Stanford,
TCP/IP TCP/IP LAYERED PROTOCOL TCP/IP'S APPLICATION LAYER TRANSPORT LAYER NETWORK LAYER NETWORK ACCESS LAYER (DATA LINK LAYER)
Spring 2006Computer Networks1 Chapter 2 Network Models.
COP 4930 Computer Network Projects Summer C 2004 Prof. Roy B. Levow Lecture 3.
Networks. Common Xmit Media Shared Media Networks are a shared communication resource Only one user can access at a time.
Chapter 12(13) - WAN Technologies and Routing Route computation with a graph Redundant routing information Default routes Building routing tables Computation.
CENG 490/510 Network Programming Russell Deaton Rm
Chapter 2 Protocols and the TCP/IP Suite 1 Chapter 2 Protocols and the TCP/IP Suite.
William Stallings Data and Computer Communications
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
CHAPTER 4 PROTOCOLS AND THE TCP/IP SUITE Acknowledgement: The Slides Were Provided By Cory Beard, William Stallings For Their Textbook “Wireless Communication.
1 Chapters 2 & 3 Computer Networking Review – The TCP/IP Protocol Architecture.
Chapter 2 Network Models
1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE.
Protocol Layering Chapter 11.
1 Protocols and Protocol Layering. 2 Protocol Agreement about communication Specifies –Format of messages –Meaning of messages –Rules for exchange –Procedures.
Protocols and layering Network protocols and software Layered protocol suites The OSI 7 layer model Common network design issues and solutions.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Lecture 3 : Network Architectures 1.
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
Chapter 5 Network and Transport Layers
Ch 16 Protocols and Layering
PROTOCOLS PROTOCOLS.
Computer Networks.
THE OSI MODEL By: Omari Dasent.
Chap. 2 Network Models.
Lec 2: Protocols.
Layered Architectures
Networking for Home and Small Businesses – Chapter 6
Internet Protocol: Connectionless Datagram Delivery
Networking for Home and Small Businesses – Chapter 6
Protocols and the TCP/IP Suite
Data and Computer Communications by William Stallings Eighth Edition
ECEN “Internet Protocols and Modeling”
Lecture 4 Communication Network Protocols
OSI Model The Seven Layers
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
Protocols and Protocol Layering
Protocols and the TCP/IP Suite
Networking for Home and Small Businesses – Chapter 6
Ch 17 - Binding Protocol Addresses
OSI Reference Model Unit II
Protocols and Protocol Layering
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Presentation transcript:

Protocols and Layering 1 Introduction 2 Why network software? 3 Why protocols? 4 One or many protocols? 5 Protocol suites 6 Layered protocol design 7 The ISO 7-layer reference model 8 The layers in the ISO model 9 Layered software implementation 10 Layered software and stacks 11 Layering principle 12 Messages and protocol stacks 13 Commercial stacks

Introduction LAN/WAN hardware can't solve all computer communication problems Software for LAN and WAN systems is large and complicated Layering is a structuring technique to organize networking software design and implementation

Why network software? Sending data through raw hardware is awkward and inconvenient - doesn't match programming paradigms well Equivalent to accessing files by making calls to disk controller to position read/write head and accessing individual sectors May not be able to send data to every destination of interest without other assistance Network software provides high-level interface to applications

Why protocols? Name is derived from the Greek protokollen, the index to a scroll Diplomats use rules, called protocols, as guides to formal interactions A network protocol or computer communication protocol is a set of rules that specify the format and meaning of messages exchanged between computers across a network Format is sometimes called syntax Meaning is sometimes called semantics Protocols are implemented by protocol software

One or many protocols? Computer communication across a network is a very hard problem Complexity requires multiple protocols, each of which manages a part of the problem May be simple or complex; must all work together

Protocol suites A set of related protocols that are designed for compatibility is called a protocol suite Protocol suite designers: Analyze communication problem Divide problems into subproblems Design a protocol for each subproblem A well-designed protocol suite Is efficient and effective - solves the problem without redundancy and makes best use of network capacity Allows replacement of individual protocols without changes to other protocols

Layered protocol design Layering model is a solution to the problem of complexity in network protocols Model suggests dividing the network protocol into layers, each of which solves part of the network communication problem These layers have several constraints, which ease the design problem Network protocol designed to have a protocol or protocols for each layer

The ISO 7-layer reference model International Organization for Standards (ISO) defined a 7-layer reference model as a guide to the design of a network protocol suite The ISO 7-layer reference model                                                                 Layers are named and numbered; reference to ``layer n'' often means the nth layer of the ISO 7-layer reference model

The layers in the ISO model Caveat - many modern protocols do not exactly fit the ISO model, and the ISO protocol suite is mostly of historic interest Concepts are still largely useful and terminology persists Layer 7: Application Application-specific protocols such as FTP and SMTP (electronic mail) Layer 6: Presentation Common formats for representation of data Layer 5: Session Management of sessions such as login to a remote computer Layer 4: Transport Reliable delivery of data between computers Layer 3: Network Address assignment and data delivery across a physical network Layer 2: Data Link Format of data in frames and delivery of frames through network interface Layer 1: Physical Basic network hardware - such as RS-232 or Ethernet The layers in the ISO model

Layered software implementation Software implemented from layered design has layered organization Software modules can be viewed as: Layered software implementation

Layered software and stacks Related modules from previous figure are called a protocol stack or simply a stack Two constraints: The software for each layer depends only on the services of the software provided by lower layers The software at layer n at the destination receives exactly the same protocol message sent by layer n at the sender These constraints mean that protocols can be tested independently and can be replaced within a protocol stack

Layering principle

Messages and protocol stacks On the sender, each layer: Accepts an outgoing message from the layer above Adds a header and other processing Passes resulting message to next lower layer On the receiver, each layer: Receives an incoming message from the layer below Removes the header for that layer and performs other processing Passes the resulting message to the next higher layer

Commercial stacks

The software at each layer communicates with the corresponding layer through information stored in headers Each layer adds its header to the front of the message from the next higher layer Headers are nested at the front of the message as the message traverses the network Protocol headers

Control packets Protocol layers often need to communicate directly without exchanging data Acknowledge incoming data Request next data packet Layers use control packets Generated by layer n on sender Interpreted by layer n on receiver Transmitted like any other packet by layers n-1 and below

Art, engineering and protocol design Protocol design mixes engineering and art There are well-known techniques for solving specific problems Those techniques interact in subtle ways Resulting protocol suite must account for interaction Efficiency, effectiveness, economy must all be balanced

Summary Layering is a technique for guiding protocol design and implementation Protocols are grouped together into related protocol suites A collection of layered protocols is called a protocol stack