Computer Networks with Internet Technology William Stallings. Chapter 2 Protocols and the TCP/IP Protocol Suite

Similar documents
Data and Computer Communications

Need For Protocol Architecture

Need For Protocol Architecture

Organizations have developed standard sets of protocols

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

Data & Computer Communication

Chapter 3 Protocols and the TCP/IP Suite

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

APPENDIX F THE TCP/IP PROTOCOL ARCHITECTURE

Internetwork Protocols

Computer Networks (Introduction to TCP/IP Protocols)

Introduction to Internetworking

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

ET4254 Communications and Networking 1

ET4254 Communications and Networking 1

Chapter 1: Introduction

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

Review of Important Networking Concepts

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

BLM6196 COMPUTER NETWORKS AND COMMUNICATION PROTOCOLS

Data and Computer Communications. Protocols and Architecture

Internet Protocols (chapter 18)

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

ELC 537 Communication Networks

The Internet. The Internet is an interconnected collection of netw orks.

Chapter 5 OSI Network Layer

Chapter 12. Network Organization and Architecture. Chapter 12 Objectives Introduction Introduction


EE 610 Part 2: Encapsulation and network utilities


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

ES623 Networked Embedded Systems

IP Address Assignment

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

SEN366 (SEN374) (Introduction to) Computer Networks

System Programming. Introduction to computer networks

Introduction to Open System Interconnection Reference Model

Network Reference Models

TCP/IP THE TCP/IP ARCHITECTURE

ITEC 3800 Data Communication and Network. Introducing Networks

Data Communication and Network. Introducing Networks

Position of IP and other network-layer protocols in TCP/IP protocol suite

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

EEC-484/584 Computer Networks

ECE4110 Internetwork Programming. Introduction and Overview

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

MODULE: NETWORKS MODULE CODE: CAN1102C. Duration: 2 Hours 15 Mins. Instructions to Candidates:

Introduction to TCP/IP networking

Lecture (03) Network Model

The Internet Protocol (IP)

Chapter 2 Network Models 2.1

Reference Models. 7.3 A Comparison of the OSI and TCP/IP Reference Models

Lecture (02) The TCP/IP Networking Model

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

Layered Architecture

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

Internet 최양희서울대학교컴퓨터공학부. MMlab 1

Introduction to Computer Networks. CS 166: Introduction to Computer Systems Security

This Lecture. BUS Computer Facilities Network Management. Internetworking. Internetworking

Communicating over the Network. Network Fundamentals. ITE PC v4.0 Chapter Cisco Systems, Inc. All rights reserved.

1: Review Of Semester Provide an overview of encapsulation.

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.

Chapter 2 Communicating Over the Network

Lecture (02, 03) Networking Model (TCP/IP) Networking Standard (OSI)

Lecture (02) The TCP/IP Networking Model

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

Networks: Access Management

Chapter 1: Introducing TCP/IP

CHAPTER 18 INTERNET PROTOCOLS ANSWERS TO QUESTIONS

Data Encapsulation & OSI & TCP/IP Models Week 2. Lecturer: Lucy White Office : 324

PART X. Internetworking Part 1. (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution)

Network Layers. Standardization Cruelty 2009/08/12. (C) Herbert Haas

Networking Applications

Defining Networks with the OSI Model. Module 2

03 The Internet Model and TCP/IP

Communication System Models

Communicating over the Network

Chapter Motivation For Internetworking

SEMESTER 1 Chapter 5 OSI Network Layer V What services does the network layer provide?

NetWare Protocols. Background. Technology Basics CHAPTER

Lecture 2. Computer Networks Models. Network Models 1-1

ETSF05/ETSF10 Internet Protocols Network Layer Protocols

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

L6: OSI Reference Model

Chapter 2. Communicating Over The Network

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

Cross Layer Protocol Design. Radio Communication III

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

Overview of Network Software. CS158a Chris Pollett Jan 31, 2007.

Computer Networks Wolfgang Effelsberg

Communication Systems DHCP

products. OSI is an ISO Standard: OSI was officially adopted as an international standard by the International Organisation of Standards (ISO).

Introduction to Protocols

Several versions of DECnet have been released. The first allowed two directly attached minicomputers to communicate.

Lecture (03) Networking Model (TCP/IP) Networking Standard (OSI) cont.,..

DECnet. Chapter Goals. Introduction CHAPTER

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

DECnet. Background CHAPTER

Network Models. Behrouz A. Forouzan Data communication and Networking Fourth edition

Copyleft 2005, Binnur Kurt. Objectives

Transcription:

Computer Networks with Internet Technology William Stallings Chapter 2 Protocols and the TCP/IP Protocol Suite

Need For Protocol Architecture E.g. File transfer Source must activate comms. 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

Key Elements of a Protocol Syntax Data formats Signal levels Semantics Control information Error handling Timing Speed matching Sequencing

Protocol Architecture Task of communication broken up into modules For example file transfer could use three modules File transfer application Communication service module Network access module

Figure 2.1 Simplified Architecture for File Transfer

A Three Layer Model Network Access Layer Transport Layer Application Layer

Network Access Layer Exchange of data between the computer and the network Sending computer provides address of destination May invoke levels of service Dependent on type of network used (LAN, packet switched etc.)

Transport Layer Reliable data exchange Independent of network being used Independent of application

Application Layer Support for different user applications e.g. e-mail, file transfer

Figure 2.2 Protocol Architectures and Networks

Addressing Requirements Two levels of addressing required Each computer needs unique network address Each application on a (multi-tasking) computer needs a unique address within the computer The service access point or SAP The port on TCP/IP stacks

Figure 2.3 Protocols in Simplified Architecture

Protocol Data Units (PDU) At each layer, protocols are used to communicate Control information is added to user data at each layer Transport layer may fragment user data Each fragment has a transport header added Destination SAP Sequence number Error detection code This gives a transport protocol data unit

Figure 2.4 Protocol Data Units

Network PDU Adds network header network address for destination computer Facilities requests

Figure 2.5 Operation of a Protocol Architecture

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)

OSI Open Systems Interconnection Developed by the International Organization for Standardization (ISO) Seven layers A theoretical system delivered too late! TCP/IP is the de facto standard

OSI - The Model A layer model Each layer performs a subset of the required communication functions Each layer relies on the next lower layer to perform more primitive functions Each layer provides services to the next higher layer Changes in one layer should not require changes in other layers

Figure 2.6 OSI Layers

Figure 2.7 The OSI Environment

Figure 2.8 OSI as Framework for Standardization

Figure 2.9 Layer Specific Standards

Elements of Standardization Protocol specification Operates between the same layer on two systems May involve different operating system Protocol specification must be precise Format of data units Semantics of all fields allowable sequence of PCUs Service definition Functional description of what is provided Addressing Referenced by SAPs

Service Primitives and Parameters Services between adjacent layers expressed in terms of primitives and parameters Primitives specify function to be performed Parameters pass data and control info

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: indicate that a procedure has been invoked by the peer service user on the connection and to provide the associated parameters, or 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

Figure 2.10 Timing Sequence for Service Primitives

TCP/IP Protocol Architecture Developed by the US Defense Advanced Research Project Agency (DARPA) for its packet switched network (ARPANET) Used by the global Internet No official model but a working one. Application layer Host to host or transport layer Internet layer Network access layer Physical layer

Physical Layer Physical interface between data transmission device (e.g. computer) and transmission medium or network Characteristics of transmission medium Signal levels Data rates etc.

Network Access Layer Exchange of data between end system and network Destination address provision Invoking services like priority

Internet Layer (IP) Systems may be attached to different networks Routing functions across multiple networks Implemented in end systems and routers

Transport Layer (TCP) Reliable delivery of data Ordering of delivery

Application Layer Support for user applications e.g. http, SMPT

Figure 2.11 OSI v TCP/IP

TCP Usual transport layer is Transmission Control Protocol Reliable connection 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

UDP Alternative to TCP is User Datagram Protocol Not guaranteed delivery No preservation of sequence No protection against duplication Minimum overhead Adds port addressing to IP

Figure 2.12 TCP and UDP Headers

IP and IPv6 IP (v4) header minimum 20 octets (160 bits) 32-bit source and destination addresses Checksum applies to header to avoid incorrect delivery Protocol field shows if TCP, UDP etc. carried Flags and fragmentation offset used in fragmentation 1995 IPng became standard IPv6 in 1996 Enhancements for modern high speed networks Carry multimedia data streams Increase address space

Figure 2.13 (a) IPv4 Header

Figure 2.13 (b) IPv6 Header

Figure 2.14 TCP/IP Concepts

Addressing level Level in architecture at which entity is named Unique address for each end system (computer) and router Network level address IP or internet address (TCP/IP) Network service access point or NSAP (OSI) Process within the system Port number (TCP/IP) Service access point or SAP (OSI)

Trace of Simple Operation Process associated with port 1 in host A sends message to port 2 in host B Process at A hands down message to TCP to send to port 2 TCP hands down to IP to send to host B IP hands down to network layer (e.g. Ethernet) to send to router J Generates a set of encapsulated PDUs

Figure 2.15 PDUs in TCP/IP

Example Header Information Destination port Sequence number Checksum

Internetworking Most networks not isolated Different types of LAN Multiple similar LANs Multiple sites connected by WAN(s) May appear as large network Entire configuration referred to as an internet Note indefinite article and lower case i Each constituent network is a subnetwork Most important example of an internet is referred to simply as the Internet Note definite article and upper case I The Internet evolved from research-oriented packetswitching network Basis for development of internetworking technology

Internetworking Devices Each subnetwork supports communication among devices attached to that subnetwork End systems (ESs) Subnetworks connected by intermediate systems (ISs) Provide communications path and relay and routing functions Bridges and routers Different types of protocols used Bridge operates at layer 2 Relay between like networks Router operates at layer 3 Routes packets between potentially different networks

Routers Interconnect dissimilar subnetworks Provide a link between networks Provide for routing and delivery of data between processes on end systems attached to different networks Do not require modifications of architecture of subnetworks Must accommodate differences among networks Addressing schemes Maximum packet sizes Interfaces Reliability Satisfied by internetworking protocol implemented in all end systems and routers IP

Figure 2.16 Configuration for TCP/IP Example

Figure 2.17 Action of Sender

Figure 2.18 Action of Router

Figure 2.19 Action of Receiver

Internetworking Terminology (1) Internet Collection of communication networks interconnected by bridges and/or routers Intranet An internet used by single organization Provides key Internet applications (World Wide Web) Operates within organization for internal purposes Can exist as isolated, self-contained internet May have links to the Internet Subnetwork Refers to a constituent network of an internet. This avoids ambiguity because the entire internet, from a user's point of view, is a single network

Internetworking Terminology (2) End System (ES) Device attached to one of the networks of an internet Supports end-user applications or services Intermediate System (IS) Device used to connect two networks Permits communication between ES attached to different networks Bridge IS used to connect two LANs that use similar protocols Address filter Does not modify packets Layer 2 of the OSI model Router IS used to connect two networks that may or may not be similar Uses an internet protocol present in each router and each end system of the network Layer 3 of the OSI model

Required Reading Stallings chapter 2 Comer,D. Internetworking with TCP/IP volume I Comer,D. and Stevens,D. Internetworking with TCP/IP volume II and volume III, Prentice Hall Halsall, F. Data Communications, Computer Networks and Open Systems, Addison Wesley RFCs