Protocols; TCP/IP and OSI Model

Slides:



Advertisements
Similar presentations
Computer Networks TCP/IP Protocol Suite.
Advertisements

Arsitektur Jaringan Pertemuan 09 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
Chapter 5: TCP/IP and OSI Business Data Communications, 5e.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
1 William Stallings Data and Computer Communications 7 th Edition Chapter 2 Protocols and Architecture.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
PROTOCOLS AND ARCHITECTURE Lesson 2 NETS2150/2850.
Chapter 2: Protocols and Architecture
Semester Copyright USM EEE442 Computer Networks Introduction: Protocols En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK)
Protocols and the TCP/IP Suite
EE 4272Spring, 2003 EE4272: Computer Networks Instructor: Tricia Chigan Dept.: Elec. & Comp. Eng. Spring, 2003.
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.
Term Paper Phase-I is Due on Tuesday, February 19 in class timing —Submit a Hard Copy of your paper (MS word Document) —Follow the instructions in “Term.
William Stallings Data and Computer Communications 7 th Edition Chapter 2 Protocols and Architecture.
Chapter 2: Protocols and Architecture COE 341: Data & Computer Communications (Term 061) Dr. Radwan E. Abdel-Aal.
ECS 152A 1. Introduction. A Communications Model Source —generates data to be transmitted Transmitter —Converts data into transmittable signals Transmission.
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 2: Protocols and Architecture.
Network Technology CSE Network Technology CSE3020 Week 1.
Dr. Mohammed Aldasht and Dr. Mahdi Nasereddin
Computer Networks with Internet Technology William Stallings
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
Data and Computer Communications
Chapter 5: TCP/IP and OSI Business Data Communications, 6e.
1 Review of Important Networking Concepts Introductory material. This slide uses the example from the previous module to review important networking concepts:
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.
Chapter 17 Networking Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William Stallings.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
Computer Networks with Internet Technology William Stallings Chapter 2 Protocols and the TCP/IP Protocol Suite.
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.
Protocol Architectures. Simple Protocol Architecture Not an actual architecture, but a model for how they work Similar to “pseudocode,” used for teaching.
Protocols and the TCP/IP Suite
William Stallings Data and Computer Communications 7 th Edition Data Communications and Networks Overview Protocols and Architecture.
Computer Networks with Internet Technology William Stallings Chapter 2 Protocols and the TCP/IP Protocol Suite.
Data and Computer Communications
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications 1.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
Chapter 1. Introduction. By Sanghyun Ahn, Deot. Of Computer Science and Statistics, University of Seoul A Brief Networking History §Internet – started.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
Topic 2 – Protocol Architecture 1 FIT1005 FIT – Monash University Topic 2 - Protocol Architecture Reference: Chapter 2 – Stallings 7E.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
Chapter 2 Protocols and the TCP/IP Suite 1 Chapter 2 Protocols and the TCP/IP Suite.
William Stallings Data and Computer Communications
CHAPTER 4 PROTOCOLS AND THE TCP/IP SUITE Acknowledgement: The Slides Were Provided By Cory Beard, William Stallings For Their Textbook “Wireless Communication.
1 Chapters 2 & 3 Computer Networking Review – The TCP/IP Protocol Architecture.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Protocols and Architecture Slide 1 Use of Standard Protocols.
Protocols Used for communications between entities in a system Used for communications between entities in a system Must speak the same language Must speak.
Communication Architecture and Network Protocol Layering Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by:
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
Chapter 2: Protocols and Architecture COE 341: Data & Computer Communications (Term 061) Dr. Radwan E. Abdel-Aal.
TUNALIData Communications1 Chapter 2 Protocols and Architecture.
Computer Networking A Top-Down Approach Featuring the Internet Introduction Jaypee Institute of Information Technology.
Roadmap  Introduction to Basics  Computer Network – Components | Classification  Internet  Clients and Servers  Network Models  Protocol Layers.
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.
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.
Computer Communication Networks
Lecture (2).
Distributed Systems.
Computer Networks with Internet Technology William Stallings
Pertemuan 11 Model TCP/IP
Protocols and the TCP/IP Suite
Data and Computer Communications by William Stallings Eighth Edition
OSI Model OSI MODEL.
Protocols and the TCP/IP Suite
Computer Networking A Top-Down Approach Featuring the Internet
Presentation transcript:

Protocols; TCP/IP and OSI Model ECE 4321 Computer Networks Protocols; TCP/IP and OSI Model

Need For Protocol Architecture Data exchange can be complex, e.g. file transfer Source must activate communication path or inform network the destination Source must check if destination is prepared to receive File transfer application on source must check if destination file management system will accept and store the file for his user May need file format translation Better if tasks are broken into subtasks Implemented separately in layers in a stack Communication of peer layers is required

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

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

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

Protocol Data Units

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

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 Used as a reference model (not for implementation) TCP/IP protocol suite Most widely used

David Clark’s Theory of Standards Billion Dollars of Investments Research Activity Standards Time Apocalypse of two elephants

OSI Open Systems Interconnection (OSI) Model Developed by the International Organization for Standardization (ISO) Seven layers Adopted in 1984 as ISO 7498 A theoretical system delivered too late! Presently not an actual working model, but serves as a model for network layers 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 Solves communication problem in heterogeneous computers

OSI Layers

The OSI Environment

OSI as Framework for Standardization

Layer Specific Standards

Elements of Standardization Protocol specification Operates between the same layer on two systems May involve different operating systems 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 A primitive issued by a service user to invoke some service and to pass the parameters needed to specify fully the requested service INDICATION 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 RESPONSE A primitive issued by a service user to acknowledge or complete some procedure previously invoked by an indication to that user CONFIRM A primitive issued by a service provider to acknowledge or complete some procedure previously invoked by a request by the service user

Timing Sequence for Service Primitives

OSI Layers (1) Physical Data Link Physical interface between devices Mechanical—specifications of pluggable connectors Electrical--- representation of bits (e.g. voltage) and bit rates Functional--- specifies the functions of each individual circuits Procedural ---specifies the sequence of events by which bit streams are exchanged Example) EIA-232-F, ISDN and LAN connectors Data Link Means of activating, maintaining and deactivating a reliable link Error detection and control Higher layers may assume error free transmission Synchronization and flow control Example) HDLC, LAPB, LLC, LAPD

OSI Layers (2) Network Transport Transport of information between end systems across communication networks Higher layers do not need to know about underlying technology Provides route decision, addressing and priorities Transport Provides reliable transfer of data between end systems Error free, in sequence, no losses, no duplications Provides quality of services to session entities Example) TCP (connection oriented), UDP (connectionless datagram)

OSI Layers (3) Session Presentation Application Control structure for communication between applications Dialogue discipline --- full duplex, half duplex Grouping--- flow of data can be marked to define group, e.g, sales data, inventory data, etc Recovery --- check point recovery Presentation Data formats and coding Data compression Encryption Application 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

Internet Standards and internet Society Internet Society (ISOC) --- Coordinating committee for Internet design, engineering, and management. Participated by over 100 countries. IAB (Internet Architecture Board) IETF (Internet Engineering Task Force) IESG (Internet Engineering Steering Group)

ISOC Internet Architecture Board (IAB): Defines the overall architecture of the Internet and sets directions for IETF. Internet Engineering Task Force (IETF): Responsible for protocol engineering and developments. Comprise many working groups. Internet Engineering Steering Group (IESG): Responsible for technical management of IETF and Internet standards process. Standard Track: At each step, IETF must make a recommendation for advancement of the protocol, and the IESG ratifies it.

Internet RFC Publication Process: RFC 2026 Internet Draft If the draft is not progressed as RFC by IESG, it is withdrawn. Proposed Standard Experimental Informational RFC 6mo Protocols and specifications that are not ready for standardization. Draft Standard RFC 4mo Internet Standard RFC, STD Each step is proposed by IETF and ratified by IESG Historic

OSI v TCP/IP

TCP/IP Concepts

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

PDUs in TCP/IP

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)

Internet Layer (IP) Concerns with routing data across one or more networks connected by routers. Addressing of computers and fragmentation of packets Best effort to forward packets to the next destination Implemented in end systems (Internet connected computers) and routers RFC 791, MIL-STD 1777

Transport Layer (TCP) Establishes reliable host-host data transportation Ordering of delivery RFC 793 and MIL-STD 1778

TCP Provides a full-duplex bi-directional virtual circuit As seen by the user, data is transmitted as a stream. Reliable data transmission using sequence numbers, checksums, acknowledgements, etc. Utilizes a sliding window principle for greater efficiency Includes urgent data and push functions Transport user addressing 16-bit port number Graceful connection/disconnection, shutdown

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

TCP Well-Known Ports Service Port No Protocol Telnet 23 TCP FTP 21 SMTP 25 rlogin 513 rsh 514 Portmap 111 TCP. UDP rwhod UDP HTTP 80 TCP (rfc 1945)

Some Protocols in TCP/IP Suite