Layering & protocol stacks Johan Lukkien

Slides:



Advertisements
Similar presentations
OSI Model OSI MODEL.
Advertisements

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.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
Protocols and the TCP/IP Suite
EE 4272Spring, 2003 Protocols & Architecture A Protocol Architecture is the layered structure of hardware & software that supports the exchange of data.
Data Communications Architecture Models. What is a Protocol? For two entities to communicate successfully, they must “speak the same language”. What is.
William Stallings Data and Computer Communications 7 th Edition Chapter 2 Protocols and Architecture.
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 2: Protocols and Architecture.
Protocol Architecture The “Common Language”. Copyright by Jorg Liebeherr 98, 99 Need for Protocols Protocols are a set of rules and conventions. By enforcing.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
NETWORK MODELS T.Najah Al_Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
Lecturer: Tamanna Haque Nipa
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.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
Review: – computer networks – topology: pair-wise connection, point-to-point networks and broadcast networks – switching techniques packet switching and.
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.
Protocols and the TCP/IP Suite
Internet Addresses. Universal Identifiers Universal Communication Service - Communication system which allows any host to communicate with any other host.
William Stallings Data and Computer Communications 7 th Edition Data Communications and Networks Overview Protocols and Architecture.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
The OSI Model.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
William Stallings Data and Computer Communications
Prepared by Engr.Jawad Ali BSc(Hons)Computer Systems Engineering University of Engineering and Technology Peshawar.
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.
Network Models.
Protocol Layering Chapter 11.
OSI Model. Open Systems Interconnection (OSI) is a set of internationally recognized, non proprietary standards for networking and for operating system.
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
Network Models. 2.1 what is the Protocol? A protocol defines the rules that both the sender and receiver and all intermediate devices need to follow,
Computer Networking A Top-Down Approach Featuring the Internet Introduction Jaypee Institute of Information Technology.
BASICS Gabriella Paolini (GARR) 27/05/11 - ICCU Roma 1 How INTERNET works !
Protocols and layering Network protocols and software Layered protocol suites The OSI 7 layer model Common network design issues and solutions.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Lecture 3 : Network Architectures 1.
OSI Model OSI MODEL. Communication Architecture Strategy for connecting host computers and other communicating equipment. Defines necessary elements for.
OSI Model OSI MODEL.
Network Models.
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
Lecture (2).
Network Architecture Layered Architectures Network Protocols
CS408/533 Computer Networks Text: William Stallings Data and Computer Communications, 6th edition Chapter 1 - Introduction.
Chap. 2 Network Models.
Introduction.
Lecturer, Department of Computer Application
DEPARTMENT OF COMPUTER SCIENCE
Understanding the OSI Reference Model
Internet Protocol: Connectionless Datagram Delivery
Protocols and Layering
Protocols and the TCP/IP Suite
Data and Computer Communications by William Stallings Eighth Edition
Net 323 D: Networks Protocols
OSI Model OSI MODEL.
Chapter 2. Protocols and Architecture
Building A Network: Cost Effective Resource Sharing
CSE 313 Data Communication
Protocols and the TCP/IP Suite
Computer Networking A Top-Down Approach Featuring the Internet
COMPUTER NETWORKS CS610 Lecture-29 Hammad Khalid Khan.
Chapter Five: Network Software Protocol Hierarchies
The Data Link Layer Johan Lukkien
Packet communication Johan Lukkien
Network Architecture Johan Lukkien
Presentation transcript:

Layering & protocol stacks Johan Lukkien Computer Networks 2002/2003 Layering & protocol stacks Johan Lukkien 14-Jan-19 Johan J. Lukkien, j.j.lukkien@tue.nl TU/e Computer Science, System Architecture and Networking

Architectural pattern: layers “The Layers architectural pattern helps to structure applications” that can be decomposed into groups of subtasks in which each group of subtask is at a particular level of abstraction” from “Pattern-oriented software architecture”, Buschmann et.al Layering supports stable interfaces re-use mastering complexity: separation of concerns 14-Jan-19 Johan J. Lukkien, j.j.lukkien@tue.nl TU/e Computer Science, System Architecture and Networking

Layering Packets impose additional structure onto signals... ...Several packets can form again a higher level structure... Network software is organized in layers of protocols, services and interfaces separation of concerns separation of what is provided (the service) from how it is accessed (the interface) and internally realized (the protocol) different layers have different concerns ease of design 14-Jan-19 Johan J. Lukkien, j.j.lukkien@tue.nl TU/e Computer Science, System Architecture and Networking

Layering in communication provided service 14-Jan-19 Johan J. Lukkien, j.j.lukkien@tue.nl TU/e Computer Science, System Architecture and Networking

Protocol stacks 14-Jan-19 Johan J. Lukkien, j.j.lukkien@tue.nl TU/e Computer Science, System Architecture and Networking

Protocol stacks Level k message is payload of level k-1 add headers and trailers of level k-1 Binding: exact description of A: mapping one protocol onto another messages, communication behavior B: mapping abstract functions onto a service interface connecting layers at the interface Tunneling: level k-1 tunnels level k transport without interpretation of payload term ‘tunneling’ usually reserved for a stack in which a service occurs twice 14-Jan-19 Johan J. Lukkien, j.j.lukkien@tue.nl TU/e Computer Science, System Architecture and Networking

OSI reference model Open Systems Interconnection Abstract architecture of communicating systems Names and identifies relevant concepts services, protocols and interfaces service data units (xSDU) and protocol data units (xPDU), x is the layer Introduces layer semantics issues solved by a layer; layer services Description of “how it should be done” 14-Jan-19 Johan J. Lukkien, j.j.lukkien@tue.nl TU/e Computer Science, System Architecture and Networking

The OSI model 14-Jan-19 PSDU SSDU TSDU NSDU DSDU PhSDU Johan J. Lukkien, j.j.lukkien@tue.nl TU/e Computer Science, System Architecture and Networking

TCP/IP model 14-Jan-19 Johan J. Lukkien, j.j.lukkien@tue.nl TU/e Computer Science, System Architecture and Networking

Remarks TCP/IP ‘model’ OSI model OSI protocol stack named after the dominating protocols model constructed after the fact host-to-network not really a layer; just get IP packets across OSI model well-discussed, before designing protocols OSI protocol stack not widely used 14-Jan-19 Johan J. Lukkien, j.j.lukkien@tue.nl TU/e Computer Science, System Architecture and Networking

Some stacks and the OSI model 14-Jan-19 Johan J. Lukkien, j.j.lukkien@tue.nl TU/e Computer Science, System Architecture and Networking

Model in the book... 14-Jan-19 Johan J. Lukkien, j.j.lukkien@tue.nl TU/e Computer Science, System Architecture and Networking

Communication modes Sender and receiver One to one One to many un-addressed: broadcast collection of destinations: multicast Many to one messages appear at receiver in undetermined order Fragmentation & synchronization send and receive of message combined fixed units (packets, frames, cells) streaming synchronization on availability of data and buffers 14-Jan-19 Johan J. Lukkien, j.j.lukkien@tue.nl TU/e Computer Science, System Architecture and Networking

Communication modes Connections Message existence Timing Connection oriented: Setup connection, communicate, destroy connection control: reliability, flow, congestion Connection less: Single shot: just send a message/packet Message existence Persistent: subsystem will deliver messages Transient: message life depends on life of sender, receiver, subsystem Timing Time-independent Time-dependent (real-time) soft real-time, hard real-time 14-Jan-19 Johan J. Lukkien, j.j.lukkien@tue.nl TU/e Computer Science, System Architecture and Networking

Issues, to be resolved by the layers Error correction Flow control Addressing Multiplexing Naming Congestion control Mobility Routing Fragmentation Security .... 14-Jan-19 Johan J. Lukkien, j.j.lukkien@tue.nl TU/e Computer Science, System Architecture and Networking

Layer semantics trade-off’s Important design decision: the choice in which level to solve a particular issue too high: inefficient error correction at the application layer broadcasting at the transport layer too low: issue may re-occur multiplexing at the link layer connection orientation below the network layer Transparency: hiding lower layer details good for portability, generality etc. but must be considered carefully e.g. mobility, location, multi-casting 14-Jan-19 Johan J. Lukkien, j.j.lukkien@tue.nl TU/e Computer Science, System Architecture and Networking

Layer generality & re-usability Layer k cooperates with many different types layers k-1 moderate required service pitfall: layer becomes complex and large Layer k provides useful services to many different types k+1 powerful provided service must be possible to indicate several next layers pitfall: layer becomes complex and large Hence, work towards standardization as quickly as possible Service required by layer k 14-Jan-19 Johan J. Lukkien, j.j.lukkien@tue.nl TU/e Computer Science, System Architecture and Networking

Definition: service Service: an overall functionality (semantics) of an object. Service quality: non-functional properties of a service (e.g. speed, reliability, ...). Service interface: actions (“primitives”) and responses that make the service available; these responses can be autonomous (“events”). In addition, a specification that describes their effect on state variables and parameters, as well as their results; describes rules as how and in what sequence to call them; describes the functional and non-functional properties of sequences of calls. 14-Jan-19 Johan J. Lukkien, j.j.lukkien@tue.nl TU/e Computer Science, System Architecture and Networking

Service examples (cnt’d) Typically, the communication modes Quality dimensions reliable, acknowledged, guaranteed bandwidth, low latency 14-Jan-19 Johan J. Lukkien, j.j.lukkien@tue.nl TU/e Computer Science, System Architecture and Networking

Example: primitives for connection oriented service 14-Jan-19 Johan J. Lukkien, j.j.lukkien@tue.nl TU/e Computer Science, System Architecture and Networking

Service examples (cnt’d) Frame relay: connection oriented no error or flow control typically, for connecting LANs X.25: connection oriented, typically across phone lines still supported in e.g. GPRS 14-Jan-19 Johan J. Lukkien, j.j.lukkien@tue.nl TU/e Computer Science, System Architecture and Networking

Definition: protocol Protocol: A formal set of rules that dictates how information exchange as well as interaction between objects (can be devices, execution threads, etc.) should take place. The rules specify the format of the messages exchanged; a number of different protocol states and what messages are allowed to be sent in each state; these states determine, among others, the order of the messages. timing constraints and other non-functional properties, if any. 14-Jan-19 Johan J. Lukkien, j.j.lukkien@tue.nl TU/e Computer Science, System Architecture and Networking

Exercises Exercises 11, 12, 13, 19, 20 on p82 Discuss the transmission of a letter through the postal system. Describe service, interface and protocol. Discuss the trade-offs of providing reliable versus datagram service at the data link layer when the transport layer must provide reliable connection oriented service. Take into account the probability of packet loss per link the number of hops the delay needed to judge when a retransmission is needed the resulting throughput at the transport layer 14-Jan-19 Johan J. Lukkien, j.j.lukkien@tue.nl TU/e Computer Science, System Architecture and Networking