Need For Protocol Architecture

Similar documents
Need For Protocol Architecture

BLM6196 COMPUTER NETWORKS AND COMMUNICATION PROTOCOLS

Data and Computer Communications

Data & Computer Communication

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

ET4254 Communications and Networking 1

Data and Computer Communications. Tenth Edition by William Stallings

Review of Important Networking Concepts

Organizations have developed standard sets of protocols

APPENDIX F THE TCP/IP PROTOCOL ARCHITECTURE

Chapter 3 Protocols and the TCP/IP Suite

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

Computer Networks (Introduction to TCP/IP Protocols)

Computer Networks. Introduction to Network. Dr. Adel Gaafar Abd Elrahim

EE 610 Part 2: Encapsulation and network utilities

ECE4110 Internetwork Programming. Introduction and Overview

OSI Network Layer. Network Fundamentals Chapter 5. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

ELC 537 Communication Networks

Chapter 12 Network Protocols

Chapter 09 Network Protocols

TCP /IP Fundamentals Mr. Cantu

Lecture 3 Protocol Stacks and Layering

Internet. 1) Internet basic technology (overview) 3) Quality of Service (QoS) aspects

The OSI Model. Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO).

Internetwork Protocols

Chapter 1: Introduction

Introduction to TCP/IP networking

TCP/IP Networking Basics

CS-435 spring semester Network Technology & Programming Laboratory. Stefanos Papadakis & Manolis Spanakis

SEN366 (SEN374) (Introduction to) Computer Networks

TCP/IP THE TCP/IP ARCHITECTURE

Protocol Layers & Wireshark TDTS11:COMPUTER NETWORKS AND INTERNET PROTOCOLS

Tutorials and Practicals 31W6 ADMINISTRIVIA. A Communications Model. Communications and Networks. Simplified Communications

ETSF05/ETSF10 Internet Protocols Network Layer Protocols

The Internet Protocol (IP)

Defining Networks with the OSI Model. Module 2

precise rules that govern communication between two parties TCP/IP: the basic Internet protocols IP: Internet protocol (bottom level)

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space that is provided.

OSI Layer OSI Name Units Implementation Description 7 Application Data PCs Network services such as file, print,

ET4254 Communications and Networking 1

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

Introduction to Information Science and Technology 2017 Networking II. Sören Schwertfeger 师泽仁

Chapter 2 Network Models 2.1

CS4700/CS5700 Fundaments of Computer Networks

Layering in Networked computing. OSI Model TCP/IP Model Protocols at each layer

Lecture 17 Overview. Last Lecture. Wide Area Networking (2) This Lecture. Internet Protocol (1) Source: chapters 2.2, 2.3,18.4, 19.1, 9.

Data and Computer Communications. Protocols and Architecture

Goals and topics. Verkkomedian perusteet Fundamentals of Network Media T Circuit switching networks. Topics. Packet-switching networks

Introduction to computer networking

Review of Important Networking Concepts. Recall the Example from last lecture

Network Layer (1) Networked Systems 3 Lecture 8

E&CE 358: Tutorial 1. Instructor: Sherman (Xuemin) Shen TA: Miao Wang

Introduction and Layered Network Architecture. EEE 538 Dr. Nail Akar Bilkent University Electrical and Electronics Engineering Department

03 The Internet Model and TCP/IP

Introduction to Open System Interconnection Reference Model

ES623 Networked Embedded Systems

Computer Communication & Networks / Data Communication & Computer Networks Week # 03

Communicating over the Network

Chapter 5 OSI Network Layer

IP - The Internet Protocol

Copyleft 2005, Binnur Kurt. Objectives

This tutorial will help you in understanding IPv4 and its associated terminologies along with appropriate references and examples.

Introduction to Networks

Part VI. Appendixes. Appendix A OSI Model and Internet Protocols Appendix B About the CD

Computer Networking. Introduction. Quintin jean-noël Grenoble university

Interconnecting Networks with TCP/IP. 2000, Cisco Systems, Inc. 8-1

Internet. Organization Addresses TCP/IP Protocol stack Forwarding. 1. Use of a globally unique address space based on Internet Addresses

Operating Systems. 16. Networking. Paul Krzyzanowski. Rutgers University. Spring /6/ Paul Krzyzanowski

Chapter 2 Network Models 2.1

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

IP Protocols. ALTTC/Oct

Computer Network : Lecture Notes Nepal Engineering College Compiled by: Junior Professor: Daya Ram Budhathoki Nepal Engineering college, Changunarayan

The TCP Protocol Stack

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

CS3600 SYSTEMS AND NETWORKS

Lecture 2: Internet Architecture

Interconnecting Networks with TCP/IP

Networking Applications

Principles. IP QoS DiffServ. Agenda. Principles. L74 - IP QoS Differentiated Services Model. L74 - IP QoS Differentiated Services Model

The Internet. 9.1 Introduction. The Internet is a global network that supports a variety of interpersonal and interactive multimedia applications.

CS 268: Internet Architecture & E2E Arguments. Today s Agenda. Scott Shenker and Ion Stoica (Fall, 2010) Design goals.

Packet Switching, Layer Models and Protocol Suites

Introduction to Internetworking

TCP/IP Networking. Training Details. About Training. About Training. What You'll Learn. Training Time : 9 Hours. Capacity : 12

CSCI-GA Operating Systems. Networking. Hubertus Franke

SUBJECT: DATA COMMUNICATION AND NETWORK SEMESTER: V SEMESTER COURSE: BCA SUBJECT TEACHER: Dr.K.Chitra Assistant Professor, Department of Computer

CSCD 433/533 Advanced Networks

Internetworking Terms. Internet Structure. Internet Structure. Chapter 15&16 Internetworking. Internetwork Structure & Terms

EEC-484/584 Computer Networks

Computer Communication Networks

On Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August 1964

Layered Architecture

Peer entities. Protocol Layering. Protocols. Example

Chapter 2. Communicating Over The Network. CCNA1-1 Chapter 2

Prof. Shervin Shirmohammadi SITE, University of Ottawa. Internet Protocol (IP) Lecture 2: Prof. Shervin Shirmohammadi CEG

CCNA 1 Chapter 7 v5.0 Exam Answers 2013

On Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August

CS 640: Introduction to Computer Networks. Today s Lecture. Page 1

Transcription:

Chapter 2 CS420/520 Axel Krings Page 1 Need For Protocol Architecture E.g. File transfer Source must activate communications path or inform network of destination Source must check destination is prepared to receive File transfer application on source must check destination file management system will accept and store file for his user May need file format translation Task broken into subtasks Implemented separately in layers in stack Functions needed in both systems Peer layers communicate CS420/520 Axel Krings Page 2 1

Protocol Architecture and Networks Applications 1 2 3 4 ( ) ( ) ( ) ( ) Transport Network access Computer C Network accesss protocol Application protocol Transport protocol Communications network Network address Port, or Service access point (SAP) Applications 1 2 ( ) ( ) Transport Network access Computer A Applications 1 2 3 ( ) ( ) ( ) Transport Network access Computer B Protocols in a Simplified Architecture Entity X Computer A data Application from A to B from 1 to 2 data ( ) from A 1 2 ( ) ( ) "to port 2 on computer B" to B from 1 to 2 data "to computer B" from to data 1 2 Transport Network access Communications Network from A to B from 1 to 2 data Entity Y from A to B Computer B 1 2 ( ) ( ) from 1 from 1 to 2 "this is to me" ( ) to 2 data data data Application Transport Network access 2

Key Elements of a Protocol Syntax Data formats Signal levels Semantics Control information Error handling Timing Speed matching Sequencing CS420/520 Axel Krings Page 5 Standardized Protocol Architectures Required for devices to communicate Vendors have more marketable products Customers can insist on standards based equipment Two standards: OSI Reference model Never lived up to early promises TCP/IP protocol suite Most widely used Also: IBM Systems Network Architecture (SNA) CS420/520 Axel Krings Page 6 3

TCP/IP Protocol Architecture developed by US Defense Advanced Research Project Agency (DARPA) for ARPANET packet switched network used by the global Internet protocol suite comprises a large collection of standardized protocols CS420/520 Axel Krings Page 7 TCP/IP Layers this is not an official model but a working one Application layer Host-to-host, or transport layer Internet layer Network access layer Physical layer CS420/520 Axel Krings Page 8 4

Application Provides ccess to the TCP/IP environment for users and also provides distributed information services. Transport Transfer of data between end points. May provide error control, flow control, congestion control, reliable delivery. Internet Shield higher layers from details of physical network configuration. Provides routing. May provide QoS, congestion control. Network Access Logical interface to actual network hardware. May be stream or packet oriented. May provide reliable delivery. Physical SMTP, FTP, SSH, HTTP TCP, UDP IPv4, IPv6 ICMP, OSPF, RSVP Ethernet, WiFi, ATM, frame relay Transmission of bit stream; specifies medium, signal Twisted pair, optical fiber, satellite, encoding technique, data terrestrial microwave rate, bandwidth, and physical connector. CS420/520 Axel Krings Page 9 ARP Physical Layer concerned with physical interface between computer and network concerned with issues like: characteristics of transmission medium signal levels data rates other related matters CS420/520 Axel Krings Page 10 5

Network Access Layer exchange of data between an end system and attached network concerned with issues like : destination address provision invoking specific services like priority access to & routing data across a network link between two attached systems allows layers above to ignore link specifics CS420/520 Axel Krings Page 11 Internet Layer routing functions across multiple networks for systems attached to different networks using IP protocol implemented in end systems and routers routers connect two networks and relays data between them CS420/520 Axel Krings Page 12 6

Transport Layer common layer shared by all applications provides reliable delivery of data in same order as sent commonly uses TCP CS420/520 Axel Krings Page 13 Application Layer provide support for user applications, e.g., ftp, email need a separate module for each type of application CS420/520 Axel Krings Page 14 7

Operation of TCP and IP Host A Host B App Y App X Port (service access point) App X App Y 1 2 3 Logical connection 2 4 6 TCP (TCP connection) TCP IP Global internet address IP Network Access Protocol #1 Physical Subnetwork attachment point address Router J Logical connection (e.g., virtual circuit) Network Access Protocol #2 Physical IP NAP 1 NAP 2 Network 1 Network 2 Physical Physical CS420/520 Axel Krings Page 15 Addressing Requirements two levels of addressing required each host on a subnet needs a unique global network address its IP address each application on a (multi-tasking) host needs a unique address within the host known as a port CS420/520 Axel Krings Page 16 8

Protocol Data Units (PDU) At each layer protocols are used to communicate control information is added to user data Transport layer may fragment user data Each fragment has a transport header added Destination SAP (service access point) Sequence number Error detection code This gives a transport protocol data unit CS420/520 Axel Krings Page 17 Protocol Data Units CS420/520 Axel Krings Page 18 9

Operation of TCP/IP User data Application byte stream TCP header TCP segment IP header IP datagram Network header Network-level packet CS420/520 Axel Krings Page 19 TCP Usual transport layer is Transmission Control Protocol Reliable connection RFC 793 from 1981 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 TCP tracks segments between entities on each connection CS420/520 Axel Krings Page 20 10

TCP Header Bit: 0 4 8 16 31 Source Port Destination Port 20 octets Header length Sequence Number Acknowledgement Number Reserved Flags Window Checksum Urgent Pointer Options + Padding CS420/520 Axel Krings Page 21 User Datagram Protocol (UDP) an alternative to TCP no guaranteed delivery (...it is a datagram) no preservation of sequence no protection against duplication minimum overhead adds port addressing to IP CS420/520 Axel Krings Page 22 11

UDP Header Bit: 0 16 31 8 octets Source Port Segment Length Destination Port Checksum CS420/520 Axel Krings Page 23 IP Header Bit: 0 4 8 14 16 19 31 Version IHL DS ECN Total Length 20 octets Identification Flags Fragment Offset Time to Live Protocol Header Checksum Source Address Destination Address Options + Padding CS420/520 Axel Krings Page 24 12

IPv6 Header Bit: 0 4 10 12 16 24 31 Version DS ECN Flow Label Payload Length Next Header Hop Limit Source Address 40 octets Destination Address DS = Differentiated services field ECN = Explicit congestion notification field Note: The 8-bit DS/ECN fields were formerly known as the Type of Service field in the IPv4 header and the Traffic Class field in the IPv6 header. CS420/520 Axel Krings Page 25 TCP/IP Applications have a number of standard TCP/IP applications such as Simple Mail Transfer Protocol (SMTP) File Transfer Protocol (FTP) Telnet CS420/520 Axel Krings Page 26 13

Some TCP/IP Protocols MIME BGP FTP HTTP SMTP TELNET SNMP TCP UDP ICMP IGMP OSPF RSVP IP BGP = Border Gateway Protocol OSPF = Open Shortest Path First FTP = File Transfer Protocol RSVP = Resource ReSerVation Protocol HTTP = Hypertext Transfer Protocol SMTP = Simple Mail Transfer Protocol ICMP = Internet Control Message Protocol SNMP = Simple Network Management Protocol IGMP = Internet Group Management Protocol TCP = Transmission Control Protocol IP = Internet Protocol UDP = User Datagram Protocol CS420/520 MIME Axel = Multipurpose Krings Internet Mail Extension Page 27 OSI Open Systems Interconnection developed by the International Organization for Standardization (ISO) has seven layers is a theoretical system delivered too late! TCP/IP is the de facto standard CS420/520 Axel Krings Page 28 14

Standardized Protocol Architectures Layer 7 (Application) Service to Layer N+1 Total Communication Function Decompose (modularity, information-hiding) Layer N Layer N entity Service from Layer N 1 Protocol with peer Layer N Layer 1 (Physical) OSI-wide standards CS420/520 Axel Krings (e.g., network management, security) Page 29 OSI Layers Application Provides access to the OSI environment for users and also provides distributed information services. Presentation Provides independence to the application processes from differences in data representation (syntax). Session Provides the control structure for communication between applications; establishes, manages, and terminates connections (sessions) between cooperating applications. Transport Provides reliable, transparent transfer of data between end points; provides end-to-end error recovery and flow control. Network Provides upper layers with independence from the data transmission and switching technologies used to connect systems; responsible for establishing, maintaining, and terminating connections. Data Link Provides for the reliable transfer of information across the physical link; sends blocks (frames) with the necessary synchronization, error control, and flow control. Physical Concerned with transmission of unstructured bit stream over physical medium; deals with the mechanical, electrical, functional, and procedural characteristics to access the physical medium. CS420/520 Axel Krings Page 30 15

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 Higher layers may assume error free transmission CS420/520 Axel Krings Page 31 OSI Layers (2) Network Transport of information 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 CS420/520 Axel Krings Page 32 16

OSI Layers (3) Session Control of dialogues between applications Dialogue discipline Grouping Recovery Presentation Data formats and coding Data compression Encryption Application Means for applications to access OSI environment CS420/520 Axel Krings Page 33 The OSI Environment CS420/520 Axel Krings Page 34 17

OSI vs TCP/IP OSI Application Presentation TCP/IP Application Session Transport Network Data Link Transport (host-to-host) Internet Network Access Physical Physical CS420/520 Axel Krings Page 35 Layer Specific Standards Service Definition (Functional description for internal use) Addressing (Service Access Point) Layer N Protocol Specification (Precise syntax and semantics for interoperability) CS420/520 Axel Krings Page 36 18

Service Primitives and Parameters define services between adjacent layers using: Service user Request Service provider Service user primitives to specify function performed Indication parameters to pass data and control info Response Confirm (a) Confirmed Service CS420/520 Axel Krings Page 37 Primitive Types REQUEST INDICATION RESPONSE CONFIRM A primitive issued by a service user to invoke some service and to pass the parameters needed to specify fully the requested service A primitive issued by a service provider either to 1. indicate that a procedure has been invoked by the peer service user on the connection and to provide the associated parameters, or 2. notify the service user of a provider-initiated action A primitive issued by a service user to acknowledge or complete some procedure previously invoked by an indication to that user A primitive issued by a service provider to acknowledge or complete some procedure previously invoked by a request by the service user CS420/520 Axel Krings Page 38 19

Traditional vs Multimedia Applications traditionally Internet dominated by info retrieval applications typically using text and image transfer eg. email, file transfer, web see increasing growth in multimedia applications involving massive amounts of data such as streaming audio and video CS420/520 Axel Krings Page 39 Elastic and Inelastic Traffic elastic traffic can adjust to delay & throughput changes over a wide range eg. traditional data style TCP/IP traffic some applications more sensitive though inelastic traffic does not adapt to such changes eg. real-time voice & video traffic need minimum requirements on net arch CS420/520 Axel Krings Page 40 20

Multimedia Technologies TECHNOLOGIES Quality of service Protocols Communications/networking Synchronization Compression User interface Database Operating system Computer architecture MM e-mail Text Sound Graphics Motion MEDIA TYPE Collaborative work systems MM conferencing Streaming audio/video VoIP APPLICATION CS420/520 Axel Krings Page 41 21