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.

Slides:



Advertisements
Similar presentations
Introduction to TCP/IP
Advertisements

OSI Model OSI MODEL.
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.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
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.
Protocols and the TCP/IP Suite Chapter 4 (Stallings Book)
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 Protocols & Architecture A Protocol Architecture is the layered structure of hardware & software that supports the exchange of data.
1 Review of Important Networking Concepts Introductory material. This module uses the example from the previous module to review important networking concepts:
William Stallings Data and Computer Communications 7 th Edition Chapter 2 Protocols and Architecture.
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 2: Protocols and Architecture.
Network Technology CSE Network Technology CSE3020 Week 1.
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.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
OIS Model TCP/IP Model.
Lecturer: Tamanna Haque Nipa
1 Review of Important Networking Concepts Introductory material. This slide uses the example from the previous module to review important networking concepts:
Lecture slides prepared for “Business Data Communications”, 7/e, by William Stallings and Tom Case, Chapter 8 “TCP/IP”.
Communication Network Protocols Jaya Kalidindi CSC 8320(fall 2008)
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.
Chapter 2 Network Models
Presentation on Osi & TCP/IP MODEL
Protocols and the TCP/IP Suite
Networks – Network Architecture Network architecture is specification of design principles (including data formats and procedures) for creating a network.
William Stallings Data and Computer Communications 7 th Edition Data Communications and Networks Overview Protocols and Architecture.
Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff.
Computer Communication & Networks Lecture # 02 Nadeem Majeed Choudhary
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications 1.
Layer Architecture Layer architecture simplifies the network design. It is easy to debug network applications in a layered architecture network. The network.
Component 9 – Networking and Health Information Exchange Unit 1-1 ISO Open Systems Interconnection (OSI) This material was developed by Duke University,
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 ECEN “Internet Protocols and Modeling”, Spring 2011 Slide 5.
1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE.
Protocols Used for communications between entities in a system Used for communications between entities in a system Must speak the same language Must speak.
Protocol Suits and Layering Models OSI Model Dr. Abraham UTPA.
Data Communication Network Models
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
TUNALIData Communications1 Chapter 2 Protocols and Architecture.
Computer Engineering and Networks, College of Engineering, Majmaah University Protocols OSI reference MODEL TCp /ip model Mohammed Saleem Bhat
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.
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.
Protocols and the TCP/IP Suite
Lecture (2).
Chap. 2 Network Models.
Lecturer, Department of Computer Application
DEPARTMENT OF COMPUTER SCIENCE
Protocols and the TCP/IP Suite
Data and Computer Communications by William Stallings Eighth Edition
ECEN “Internet Protocols and Modeling”
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
OSI Model OSI MODEL.
Chapter 2. Protocols and Architecture
Network Architecture Models
Protocols and the TCP/IP Suite
Computer Networking A Top-Down Approach Featuring the Internet
OSI Reference Model Unit II
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Unit – III Network Essentials
Presentation transcript:

CMPT 371 Data Communications and Networking Summary Switching ,throughput, Multiplexing Protocol layers

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 of a protocol are: Syntax: definitions of data format, size and content of messages or packets (headers and data) Semantics: control, responses to messages or packets, coordination, error handling Timing/Synchronization: maintaining synchronization between the communicating entities (speed matching, sequencing, recovery from timing related errors ) Janice Regan © Sept. 2007-2013

Characteristics of Protocols: 1 Direct: data passes from source to destination without active intervention (point to point or multipoint link) Indirect: data from source must pass through intermediate active entities to reach the destination (switched networks) Set Switch Fixed connection Source Destination Network Active Intermediate nodes Source Destination Janice Regan © Sept. 2007-2013

Characteristics of Protocols: 2 Monolithic: Single protocol for all aspects of data transfer Structured: uses a set of protocols interacting based on a chosen architecture. (Layered, client server …) Consider computer networks, A lot of complexity Hosts , routers, switches, applications, varied hardware and software, varied communication needs Any chance a single monolithic protocol is the best way to organize and manage the Internet? Janice Regan © Sept. 2007-2013

Characteristics of Protocols: 3 Symmetric: communications between peers that is the same regardless of which entity is source and which is destination (peer to peer) Asymmetric: unequal source and receiver (client – server) Internet needs to support both Source/Destination Destination/Source Source: Controls Transfer Destination: Janice Regan © Sept. 2007-2013

Characteristics of Protocols: 4 Standard: independent of hardware and application Used by all members of network, no need for translation Operates in a given layer regardless of operating system or system hardware (may require multiple implementations) Nonstandard: designed for specific hardware or application Must translate between nonstandard protocols increasing load on system rapidly as number of nonstandard systems increases Janice Regan © Sept. 2007-2013

Internet Protocol Choices Structured (layered): uses a set of protocols, several different protocols per layer Standardized: uses same protocols, may use different implementation on different hardware Figure 2.3 Stallings (2003) Janice Regan © Sept. 2007-2013

Layered Protocol Architecture Flexible protocols can become very complicated very quickly. Reduce complexity, separate communication functions into modules. Layer these modules using clean interfaces Each module becomes a separate protocol layer Each layer provides services to the layer above through an interface that hides the complexities of how the service is implemented. With one or more protocols per layer the complete network architecture is known as a protocol stack Janice Regan © Sept. 2007-2013

Standardization Clearly defined functions for each layer allow for independent and simultaneous development of multiple layers (Lower layers = more detail) Protocol specification for each layer and for interfaces between layers must be exact Format of data units allowed sequence of PDUs Semantics (meanings) of all fields Janice Regan © Sept. 2007-2013

Standardization Particular operations are localized in a given layer regardless of operating system or system hardware (may require multiple implementations) Service Definition: standards for services provided by a layer, using a given set of protocols, to the layer above it Addressing: Provide the defined services to entities with particular addresses Janice Regan © Sept. 2007-2013

The OSI model A classic model that is not generally implemented Layered Each layer performs a different set of communications functions. Each layer encapsulates and hides complexity from the layer above it Each layer uses the layer below it the perform more primitive and detailed functions Clear interfaces between layers make independent changes in one layer independent of the other layers Janice Regan © Sept. 2007-2013

Encapsulation The addition of control information to data before passing the resulting frame to the next protocol level A PDU (protocol data unit) may or may not contain data but will contain control information such as Addresses Error detection checksums or redundancy checks Sequence numbers Other control information Janice Regan © Sept. 2007-2013

The OSI Environment Figure 2.7 Stallings (2003) Janice Regan © Sept. 2007-2013

The OSI layers: Application Application Layer: Working environment / support for applications Provides services used directly by applications Hides the complexities of services provided by the other layers from the user Janice Regan © Sept. 2007-2013

The OSI layers: Session Layer Initiation, management, termination of sessions between local and remote devices Presentation Layer: Defines the format of the data to be exchanged between applications Data compression, encryption as Implemented in the internet as part of applications/protocols like SSL, Mime Janice Regan © Sept. 2007-2013

The OSI layers: Transport Transport Layer: Manages exchange of application data between end systems Connection oriented reliable delivery (TCP) Manages connections and error free, In sequence, loss and duplication free data transfer Best effort delivery (UDP) Packet oriented, connectionless Process level addressing, Segmentation, Multiplexing / De-multiplexing Janice Regan © Sept. 2007-2013

The OSI layers: Network Network Layer: managing how data moves from one host to another in a network Hides specifics of network technology from higher levels Addressing, forwarding and routing in the network. How to get your packet from A to B Fragmentation / Reassembly Error detection and handling Janice Regan © Sept. 2007-2013

The OSI layers: Data Link Data Link Layer: making the physical link reliable Operates on frames containing messages sent between directly connected devices. Bit level error detection and handling (finds corruption that happens during transmission) Link control and management, Link level addressing Media access control, sharing the physical media between multiple devices Janice Regan © Sept. 2007-2013

The OSI layers: Physical Physical Layer: raw bit stream service. Operates on bits Mechanical: properties of connection to network (connector) Electrical: representation of bits as voltages (encoding and signaling) Functional: Defines functions performed by particular circuits at the interface between the system and the transmission media Procedural: Defines how bit streams are exchanged through the physical media Janice Regan © Sept. 2007-2013

Janice Regan © Sept. 2007-2013 Figure 1.11 Stallings (2000)

TCP/IP Protocol Suite TCP/IP is the most commonly used protocol stack on the internet TCP/IP uses a layered structure, with fewer layers than the OSI model TCP/IP protocols for a given layer use the services available from lower levels to complete the tasks they are responsible for Janice Regan © Sept. 2007-2013

Some Application layer Protocols Users most commonly directly use application layer protocols like Hypertext Transfer Protocol (HTTP), File Transfer Protocol (FTP), Simple Mail Transfer Protocol (SMTP); Telnet, Other common application layer protocols help facilitate the use and management of TCP/IP networks: These include Domain Name System (DNS), the Routing Information Protocol (RIP), the Simple Network Management Protocol (SNMP). Janice Regan © Sept. 2007-2013

TCP/IP Protocol Architecture Application layer: Provides interface to communications between processes or applications on separate hosts Transport Layer: (TCP, UDP) Provides end to end data transfer service, including reliability control and sequencing. Encapsulates the network, hiding networking details from applications. Includes the protocols the applications use to exchange data. Janice Regan © Sept. 2007-2013

TCP/IP Protocol Architecture Internet Layer: (IP) procedures for routing across multiple heterogeneous networks and through routers Network Access Layer: Interface between end system and network, routing within a single network, access to a particular network, Depends on type of network Physical Layer: Defines characteristics of the transmission medium, signaling rate, and encoding Janice Regan © Sept. 2007-2013

TCP-IP Protocol Architecture Physical Data link network transport application Application protocol Physical Data link network transport application Transport protocol Network Data link Physical Janice Regan © Sept. 2007-2013

Encapsulation PDUs for TCP/IP Physical Data link network transport application Application data TCP segment TCP/UDP Application data IP datagram IP TCP/UDP Application data Ethernet frame Ethernet IP TCP/UDP Application data Janice Regan © Sept. 2007-2013

Encapsulation: PDU Headers TCP segment: User data +Transport Header Destination and source process address of each occurrence of an application, called a port Sequence Number used to manage packet flow, deliver packets in the correct order Checksum preserves reliability of data transfer and assure delivery to correct destination Lengths, flags … Janice Regan © Sept. 2007-2013

Encapsulation: PDU Headers IP Datagram: TCP segment + IP Header Destination and/or source network address (IP address) Protocol Identification Indicate transport protocol used Flow and error control information (including fragmentation) Error detection (header only) information Janice Regan © Sept. 2007-2013

Encapsulation: PDU Headers Ethernet Frame: IP Datagram + Ethernet header Next hop and/or source Ethernet address May be hardware specific (works for hardwares other than Ethernet) Flow and sharing for the physical media Error detection information Janice Regan © Sept. 2007-2013

Using a relay (router) application application transport transport Physical Data link network transport application Physical Data link network transport application Network Data link Physical Janice Regan © Sept. 2007-2013

Encapsulation at each level Physical Data link network transport application Application data TCP segment TCP/UDP Application data IP datagram IP TCP/UDP Application data Ethernet frame Ethernet IP TCP/UDP Application data Janice Regan © Sept. 2007-2013

Using a relay (switch) application application transport transport Physical Data link network transport application Physical Data link network transport application Data link Physical Janice Regan © Sept. 2007-2013