Protocol Layering Chapter 11.

Slides:



Advertisements
Similar presentations
OSI Model OSI MODEL.
Advertisements

Data Communications System By Ajarn Preecha Pangsuban.
Chapter 2 Network Models.
Lecture 2 Protocol Layers CPE 401 / 601 Computer Network Systems slides are modified from Dave Hollinger.
© 2002 JW Ryder CS 428 Computer Networks 1 Ethernet Properties 10Mbps/100Mbps broadcast bus technology –Bus: all stations share single channel –Broadcast:
OSI Model MIS 416 – Module II Spring 2002 Networking and Computer Security.
Protocols and the TCP/IP Suite
OSI Model.
William Stallings Data and Computer Communications 7 th Edition Chapter 2 Protocols and Architecture.
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,
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 2: Protocols and Architecture.
Chapter 2 Network Models.
 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.
Lecturer: Tamanna Haque Nipa
Chapter 2 TCP/ IP PROTOCOL STACK. TCP/IP Protocol Suite Describes a set of general design guidelines and implementations of specific networking protocols.
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.
Process-to-Process Delivery:
Chapter 2 Network Models
More on TCP/IP and Networking CS-328 Dick Steflik.
Presentation on Osi & TCP/IP MODEL
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 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.
Protocol Layering Chapter 10. Looked at: Architectural foundations of internetworking Architectural foundations of internetworking Forwarding of datagrams.
TCP/IP Yang Wang Professor: M.ANVARI.
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.
TCP/IP Essentials A Lab-Based Approach Shivendra Panwar, Shiwen Mao Jeong-dong Ryoo, and Yihan Li Chapter 5 UDP and Its Applications.
THE OSI REFERENCE MODEL Open Systems Interconnection (OSI) International Organization for Standardization( ISO)
Mukesh N. Tekwani Elphinstone College Mumbai
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.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
The OSI Model.
University of the Western Cape Chapter 12: The Transport Layer.
ECE 526 – Network Processing Systems Design Networking: protocols and packet format Chapter 3: D. E. Comer Fall 2008.
OSI Model. Topics What is the OSI Model? What is a Protocol? Why 7 Layers? The 7 Layers – Application – Presentation – Session – Transport – Network –
Spring 2006Computer Networks1 Chapter 2 Network Models.
User Datagram Protocol (UDP) Chapter 11. Know TCP/IP transfers datagrams around Forwarded based on destination’s IP address Forwarded based on destination’s.
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.
Network Protocols n ISO OSI 7-layer model n TCP/IP suite l TCP/UDP l IP l Ethernet/Token Ring l ICMP.
Internet Protocol: Routing IP Datagrams Chapter 8.
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.
Open System Interconnection Describe how information from a software application in one computer moves through a network medium to a software application.
Chapter 2 Network Models
Network Models.
1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE.
Net 221D:Computer Networks Fundamentals
UDP: User Datagram Protocol Chapter 12. Introduction Multiple application programs can execute simultaneously on a given computer and can send and receive.
TCP/IP Protocol Suite Suresh Kr Sharma 1 The OSI Model and the TCP/IP Protocol Suite Established in 1947, the International Standards Organization (ISO)
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
OSI Model OSI MODEL. Communication Architecture Strategy for connecting host computers and other communicating equipment. Defines necessary elements for.
OSI Model OSI 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.
Click to edit Master subtitle style
Chap. 2 Network Models.
Layered Architectures
Internet Protocol: Connectionless Datagram Delivery
Lec 5 Layers Computer Networks Al-Mustansiryah University
Data and Computer Communications by William Stallings Eighth Edition
Network Protocol Layers
Process-to-Process Delivery:
OSI Model OSI MODEL.
Network Architecture Models
OSI Reference Model Unit II
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Presentation transcript:

Protocol Layering Chapter 11

Protocol Layering Why is software broken into modules? Why is program translation done in steps with distinct functions and output? Why must those functions expect a precise format of data?

Conceptual Protocol Software Layers Sender Receiver Layer n Layer n ... ... Layer 2 Layer 2 Layer 1 Layer 1 Network

Conceptual Protocol Software Layers Sending a message from an application program on one machine to an application program on another machine means: Transferring a message down through successive layers on the sender’s machine Forwarding the message across the network Transferring the message up through successive layers on the receiver’s machine

Conceptual Protocol Software Layers Each layer makes decisions about the correctness of the message and chooses an appropriate action based on the message type or destination address Keep the message or forward it to another machine? Which application program should receive the message? A more realistic picture is in Figure 11.2b, which shows that IP software may deal with multiple high level protocols or multiple network interfaces

ISO Model of Layering ISO’s 7 layer model X.25 had a suite of protocols based on ISO and was widely used The network operates much like the telephone system Packet switches have intelligence to route packets Hosts attach directly to the packet switches by a serial communication line

ISO Model of Layering ISO Layers Physical Layer - specifies physical interconnection including specifics on voltage and current Data Link Layer - defines the format of frames and frame boundaries, error detection, acknowledgements Network Layer - destination addressing and routing Transport Layer - end to end reliability, checks that machines in the middle did not fail in transmission Session Layer - describe how protocol software can be organized to provide functionality for applications

ISO Model of Layering Presentation Layer - provides functions needed by application programs, such as text compression, graphics conversion into streams Application Layer - electronic mail, file transfer, etc.

TCP/IP Model of Layering Conceptual Layer Objects Passed Between Layers Application Messages or Streams Transport Transport Protocol Packets Internet IP Datagrams Network Interface ( aka Data Link ) Network-Specific Frames Hardware

TCP/IP Model of Layering TCP/IP Layers Network Interface - accepts IP datagrams and transmits them over a network (device driver or specific data link protocol) Internet - routing and delivery of datagrams Transport - provides communication from one application program on one machine to another (end-to-end communication), adds codes to header indicating the application involved Application - individual messages or continuous stream of bytes

Differences between ISO and Internet Layering The ISO model handles errors at all layers, checksums, acknowledgments (including timeout and retransmission) are used TCP/IP assumes that reliability is an end-to-end problem and handles it in the transport layer the internet is built to handle expected load, but data may be lost along the way this assumption makes the software simpler to understand and implement detection and recovery of datagram loss is handled by source and destination hosts

Differences between ISO and Internet Layering Networks using X.25 assume that the network vendor provides a transport service the network controls network access, monitors traffic for billing, handles routing, flow control, acknowledgements, etc. the network is complex TCP/IP expects the hosts to implement those types of functions routing (they choose a router), handling ICMP traffic the network is simple, intelligence is in the hosts

The Protocol Layering Principle Layered protocols are designed so that layer n at the destination receives exactly the same object sent by layer n at the source This allows the protocol designer to focus on one layer at a time See Figures 11.6 and 11.7 In the higher layers, the layering principle applies across end-to-end transfers At the lowest layer, it applies to transfer from one machine to a directly connected machine

Point-to-Point Connections Recall the ARPANET design in which each host was connected to one of 22 ports on a PSN The set of such point-to-point connections can function like a single network or like a set of networks Acting like a single network use a single IP address for and provide new functionality to provide for intranetwork routing Acting like a set of networks

Boundaries in TCP/IP Model Boundary between the network interface layer and the Internet layer above the boundary only IP addresses are used below the boundary only hardware addresses are used Boundary between the application layer and the transport layer the application layer is considered outside the operating system the transport layer is considered part of the operating system

The Disadvantage of Layering Software can be inefficient the transport layer may not know what the Internet layer is doing, so instead of choosing the largest possible packet size from the beginning, it will not know what that size is The strict layering scheme can be relaxed information like route selection and network MTU can be made known

Multiplexing and Demultiplexing The source sends a message and includes extra bits indicating message type, originating program and protocols used Eventually, all messages are placed into frames and multiplexed, or combined into a stream The destination network interface decodes, or demultiplexes, the messages as seen in Figure 11.10 Both occur at almost every protocol layer

Summary Protocols are the standards that specify how data is represented when transferred from one machine to another specify how the transfer occurs, how errors are detected, how acknowledgements are passed Communication problems are segregated into subproblems that can be solved independently Witha layered approach, each subproblem is handled by a separate layer

For Next Time Read Chapter 12