Protocols and Architecture

Similar documents
CSE 3461 / 5461: Computer Networking & Internet Technologies

Protocols and Architecture. Protocol Architecture.

PART OF THE PICTURE: The TCP/IP Communications Architecture

Objectives of Lecture. Network Architecture. Protocols. Contents

Communications and Computer Networks

SFWR 4C03: Computer Networks & Computer Security Jan 3-7, Lecturer: Kartik Krishnan Lecture 1-3

The OSI Model and the TCP/IP Protocol Suite

THE OSI REFERENCE MODEL LES M C LELLAN DEAN WHITTAKER SANDY WORKMAN

Understanding TCP/IP. Introduction. What is an Architectural Model? APPENDIX

Data Communication Networks and Converged Networks

Communication Networks. MAP-TELE 2011/12 José Ruela

How To Understand The Layered Architecture Of A Network

The OSI Model and the TCP/IP Protocol Suite PROTOCOL LAYERS. Hierarchy. Services THE OSI MODEL

EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst

Protocol Architecture

Basic Networking Concepts. 1. Introduction 2. Protocols 3. Protocol Layers 4. Network Interconnection/Internet

OPEN SYSTEMS INTERCONNECTION OVERVIEW OF PROTOCOL LAYERING AND OSI MODEL OF NETWORK STACKS

Protocol Data Units and Encapsulation

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

The OSI and TCP/IP Models. Lesson 2

CPS221 Lecture: Layered Network Architecture

Indian Institute of Technology Kharagpur. TCP/IP Part I. Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology

Chapter 2 - The TCP/IP and OSI Networking Models

Overview. Securing TCP/IP. Introduction to TCP/IP (cont d) Introduction to TCP/IP

Lecture 28: Internet Protocols

Computer Networks CS321

Zarządzanie sieciami telekomunikacyjnymi

Chapter 9. IP Secure

How To Design A Layered Network In A Computer Network

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

Ethernet. Ethernet. Network Devices

A PPENDIX L TCP/IP and OSI

CS5008: Internet Computing

Security (II) ISO : Security Architecture of OSI Reference Model. Outline. Course Outline: Fundamental Topics. EE5723/EE4723 Spring 2012

Chapter 3: Review of Important Networking Concepts. Magda El Zarki Dept. of CS UC Irvine

RARP: Reverse Address Resolution Protocol

Internet Concepts. What is a Network?

Module 1. Introduction. Version 2 CSE IIT, Kharagpur

The TCP/IP Reference Model

Overview of Computer Networks

Layered Architectures and Applications

Networking Test 4 Study Guide

Chapter 11. User Datagram Protocol (UDP)

Data Communication Networks Introduction

Data Communication and Computer Network

Transport Layer Protocols

Internet Architecture and Philosophy

Computer Networks Vs. Distributed Systems

Overview of TCP/IP. TCP/IP and Internet

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

Network Models and Protocols

OSI Seven Layers Model Explained with Examples

The OSI Model: Understanding the Seven Layers of Computer Networks

Protocols. Packets. What's in an IP packet

The OSI model has seven layers. The principles that were applied to arrive at the seven layers can be briefly summarized as follows:

Network Security TCP/IP Refresher

Network Security 網 路 安 全. Lecture 1 February 20, 2012 洪 國 寶

Chapter 1: Introduction

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

UPPER LAYER SWITCHING

IP - The Internet Protocol

Data Communication Networks

Industrial Communication Whitepaper. Principles of EtherNet/IP Communication

Lecture 2: Protocols and Layering. CSE 123: Computer Networks Stefan Savage

Transport and Network Layer

Computer Networks - Xarxes de Computadors

How To Understand The Internet Of S (Netware)

ELEC3030 (EL336) Computer Networks. How Networks Differ. Differences that can occur at network layer, which makes internetworking difficult:

Chapter 3. TCP/IP Networks. 3.1 Internet Protocol version 4 (IPv4)

OSI Reference Model: An Overview

ELEC3030 Computer Networks

Topics. Computer Networks. Let s Get Started! Computer Networks: Our Definition. How are Networks Used by Computers? Computer Network Components

Mobile IP Network Layer Lesson 01 OSI (open systems interconnection) Seven Layer Model and Internet Protocol Layers

LESSON Networking Fundamentals. Understand TCP/IP

Protocol Specification & Design. The Internet and its Protocols. Course Outline (trivia) Introduction to the Subject Teaching Methods

Module 1: Reviewing the Suite of TCP/IP Protocols

EE984 Laboratory Experiment 2: Protocol Analysis

Network Models OSI vs. TCP/IP

FIREWALLS & NETWORK SECURITY with Intrusion Detection and VPNs, 2 nd ed. Chapter 2 An Introduction to Networking

IP Addressing. -Internetworking (with TCP/IP) -Classful addressing -Subnetting and Supernetting -Classless addressing

Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol

IT4405 Computer Networks (Compulsory)

ESSENTIALS. Understanding Ethernet Switches and Routers. April 2011 VOLUME 3 ISSUE 1 A TECHNICAL SUPPLEMENT TO CONTROL NETWORK

Using MIS 3e Chapter 6A Appendix

Data Communications and Networking Overview

Network Layer: Network Layer and IP Protocol

The OSI & Internet layering models

CSET 4750 Computer Networks and Data Communications (4 semester credit hours) CSET Required IT Required

How do I get to

First Workshop on Open Source and Internet Technology for Scientific Environment: with case studies from Environmental Monitoring

Internet Protocols. Addressing & Services. Updated:

Simple Network Management Protocol

IP Networking. Overview. Networks Impact Daily Life. IP Networking - Part 1. How Networks Impact Daily Life. How Networks Impact Daily Life

CSCI 362 Computer and Network Security

INF3510 Information Security University of Oslo Spring Lecture 9 Communication Security. Audun Jøsang

Introduction to TCP/IP

CS 78 Computer Networks. Internet Protocol (IP) our focus. The Network Layer. Interplay between routing and forwarding

Architecture and Performance of the Internet

Interconnection of Heterogeneous Networks. Internetworking. Service model. Addressing Address mapping Automatic host configuration

Outline. INF3510 Information Security. Lecture 10: Communications Security. Communication Security Analogy. Network Security Concepts

Transcription:

Protocols and Architecture 1

Protocol Architecture Layered structure of hardware and software that supports the exchange of data between systems as well as a distributed application (e.g. email or file transfer Each protocol provides a set of rules 2

Need For Protocol Architecture Typical task to be performed are as follows (E.g. File transfer) Source must activate communications Path or inform network of desired destination system. Source must check if destination is prepared to receive data. File transfer application on source must check if destination file management system will accept and store sender s file May need file format translation Task broken into subtasks Implemented separately in layers in stack Each layer performs a related subset of functions needed in both systems Enable peer layers to communicate. The peer layers communicate by means of formatted blocks of data that obey a set of rules known as protocol. 3

Key Elements of a Protocol Syntax Creates a data block format understood by all Semantics Control information for coordinating and error handling Timing Synchronizes timing for functions such as speed matching and sequencing 4

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 5

Protocol Architectures and Networks 6

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 (enables transport layer to service multiple applications) Application addresses called service access points (SAPs) or ports (SAP is OSI name for port) 7

Protocol Data Units (PDU) protocols are used to communicate at each layer 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 (port) Sequence number Error detection code This gives a transport protocol data unit 8

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) 9

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 10

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 11

OSI Layers 12

The OSI Environment 13

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 14

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 15

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 16

OSI Layers (3) Session Control of dialogues between applications Dialogue discipline Grouping Recovery Presentation Data formats and coding Data compression Encryption Application 17 Means for applications to access OSI environment

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 18

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

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

Internet Layer (IP) Systems may be attached to different networks Provides Routing functions across multiple networks Implemented not only in end systems but also routers. Routers primary function is to relay data from one n/w to other. 21

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

Application Layer Contains logic needed to support for user applications. e.g. http, SMPT 23

OSI v TCP/IP 24

TCP Usual transport layer is Transmission Control Protocol Reliable connection Connection Oriented 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 Example: FTP 25

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

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) Process within the system Port number (TCP/IP) 27

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 28

PDUs in TCP/IP 29

Example Header Information Destination port Sequence number Checksum 30

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 31

Chapter Two Review Questions What is a protocol architecture; what are its major accomplishments? Compare and contrast the OSI and TCP/IP models. Why is TCP/IP the preferred model? What is the current primary intention of the OSI model? Describe the 7 layers of the OSI model. What are some of the advantages to layering? Describe how an email message is created and sent to the final recipient What the two primary transport layer protocols? Compare and contrast. Explain the differences between connectionless and connection oriented. 32