Dr. Mohammed Aldasht and Dr. Mahdi Nasereddin

Slides:



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

Eighth Edition by William Stallings
Chapter 1 Data Communications and Networks - Overview Data Communications deals with the transmission of signals in a reliable and effective manner. Topics.
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.
COE 341: Data & Computer Communications (T081) Dr. Marwan Abu-Amara Chapter 1: Data Communications & Networking Overview.
PROTOCOLS AND ARCHITECTURE Lesson 2 NETS2150/2850.
Data and Computer Communications
COE 341: Data & Computer Communications (T061) Dr. Marwan Abu-Amara Chapter 1: Data Communications & Networking Overview.
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
William Stallings Data and Computer Communications 7 th Edition Chapter 1 Data Communications and Networks Overview.
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.
William Stallings Data and Computer Communications 7 th Edition Chapter 2 Protocols and Architecture.
ECS 152A 1. Introduction. A Communications Model Source —generates data to be transmitted Transmitter —Converts data into transmittable signals Transmission.
William Stallings Data and Computer Communications 7th Edition
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 2: Protocols and Architecture.
1 K. Salah Module 1.0: Introduction Definition Communication Model Type of networks –WAN –MAN –LAN, WLAN –PAN, WPAN Networking Technologies Network Switching.
Network Technology CSE Network Technology CSE3020 Week 1.
Protocols; TCP/IP and OSI Model
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.
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.
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.
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
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 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.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
EEC4113 Data Communication & Multimedia System Chapter 1: Introduction by Muhazam Mustapha, September 2011.
Chonbuk National University, DCS LabLab Seminar presented by ghcho 2002/1/7 1 Computer Networks 2003/Fall Division of Electronics & Information Engineering.
William Stallings Data and Computer Communications 7 th Edition Chapter 1 Data Communications and Networks Overview.
William Stallings Data and Computer Communications
Communication Networks - Overview CSE 3213 – Fall November 2015.
Data Communications and Networking Overview
CHAPTER 4 PROTOCOLS AND THE TCP/IP SUITE Acknowledgement: The Slides Were Provided By Cory Beard, William Stallings For Their Textbook “Wireless Communication.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Protocols and Architecture Slide 1 Use of Standard Protocols.
Communication Architecture and Network Protocol Layering Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by:
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 1 – Data Communications, Data Networks, and.
Chapter 2: Protocols and Architecture COE 341: Data & Computer Communications (Term 061) Dr. Radwan E. Abdel-Aal.
TUNALIData Communications1 Chapter 2 Protocols and Architecture.
M. R. Kharazmi Chapter 1 Data Communications and Networks Overview.
Data and Computer Communications Eighth Edition by William Stallings Chapter 1 – Data Communications, Data Networks, and the Internet.
Data Communications Chapter 1 – Data Communications, Data Networks, and the Internet.
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.
William Stallings Data and Computer Communications 7th Edition
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
Introduction Supplementery Slides
Lecture (2).
CS408/533 Computer Networks Text: William Stallings Data and Computer Communications, 6th edition Chapter 1 - Introduction.
Computer Networks with Internet Technology William Stallings
Protocols and the TCP/IP Suite
Data and Computer Communications by William Stallings Eighth Edition
William Stallings Data and Computer Communications 7th Edition
William Stallings Data and Computer Communications 7th Edition
William Stallings Data and Computer Communications
Protocols and the TCP/IP Suite
EEC4113 Data Communication & Multimedia System Chapter 1: Introduction by Muhazam Mustapha, July 2010.
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara
Presentation transcript:

Dr. Mohammed Aldasht and Dr. Mahdi Nasereddin PALESTINE POLYTECHNIC UNIVERSITY College of Administrative sciences and Informatics Department of Information Technology Data communications and networks William Stallings Data and Computer Communications 7th Edition Slides modified and updated by: Dr. Mohammed Aldasht and Dr. Mahdi Nasereddin Summer 2006

William Stallings Data and Computer Communications 7th Edition Chapter 1 Data Communications and Networks Overview

A Communications Model Source: generates data to be transmitted, examples are telephones and personal computers. Transmitter: converts data into transmittable signals; e.g. the modem takes a digital bit stream from an attached device such as a PC and transforms that bit stream into an analog signal that can be handled by the telephone network. Transmission System: carries data, this can be a single line or a complex network connecting source and destination. Receiver: converts received signal into data; e.g. a modem will accept an analog signal coming from a network or transmission line and convert it into a digital bit stream. Destination: takes incoming data from the receiver.

Communications Tasks I Transmission system utilization: refers to the need to make efficient use of transmission facilities that are typically shared among a number of communicating devices. Multiplexing. Congestion control. Interface: to communicate, a device must interface with the transmission systems. Most systems use electromagnetic signals. Signal generation: the form and intensity of the signal must be capable of being propagated through the transmission systems and interpretable as data at the receiver.

Communications Tasks II Synchronization: the receiver must be able to determine when a signal begins to arrive and when it ends. Exchange management: establish the connection between the two parties, end the connection, decide for both to transmit simultaneously or must take turns. Error detection and correction: for example, in transferring a file from one computer to another, it is not acceptable for the contents of the file to be accidentally altered. Flow control: the source should not send data faster than the destination can process it. Addressing: a source system must indicate the identity of the intended destination.

Communications Tasks III Routing: a specific route through the transmission system (network) must be chosen. Recovery: needed in situations in which an information exchange is interrupted due to a fault somewhere in the system. Message formatting: has to do with an agreement between two parties as to the form of the data to be exchanged. Security: the sender may wish to be assured that only the intended receiver actually receives the data. And the receiver may wish to be assured that the received data have not been altered in transit. Network management: capabilities are needed to configure the system, monitor its status, reacts to failures and overloads, and plan for future growth.

Simplified Communications Model - Diagram

Simplified Data Communications Model

Networking Point to point communication not usually practical Devices are too far apart. It would be inordinately expensive. Large set of devices. It is impractical to provide a dedicated wire between each pair of devices. Solution to this problem is to attach each device to a communications network Wide Area Network (WAN): Local Area Network (LAN): covers a small area, building or a floor.

Wide Area Networks Cover a large geographical area (country or continent) Rely at least in part on circuits provided by a common carrier. WAN technologies Circuit switching: a dedicated communications path is established between the sender and receiver through the network. Example: telephone network. Packet switching: data are sent out in a sequence of small chunks, called packets. Packets passed from node to node between source and destination. Used for terminal to computer and computer to computer communications.

WAN technologies (Cont.) Frame Relay (unreliable) Packet switching systems have large overheads to compensate for errors Modern systems are more reliable Errors can be caught in end system Most overhead for error control is stripped out Asynchronous Transfer Mode (ATM) (unreliable) Evolution of frame relay Little overhead for error control Fixed packet (called cell) length Anything from 10Mbps to Gbps Constant data rate using packet switching technique Although they are capable of doing error checking, this is not enough to make Frame relay reliable.

Local Area Networks Smaller scope Building or small campus Usually owned by same organization as attached devices Data rates much higher Usually broadcast systems Now some switched systems and ATM are being introduced

LAN Configurations Switched Wireless Switched Ethernet LAN: which may consist of a single switch with a number of attached devices, or a number of interconnected switches. ATM LAN: ATM network in a local area. Wireless Widely used in business environments. Advantages: Mobility Ease of installation

Metropolitan Area Networks MAN: occupies a middle ground between LANs and WANs. Point-to-point and switched network techniques used in WANs may be inadequate for the growing needs of the organizations. Recently, wireless networks and metropolitan extensions to Ethernet have been implemented in MANs. A MAN in intended to provide the required capacity at lower costs and greater efficiency than obtaining an equivalent service from the local telephone company.

Networking Configuration

William Stallings Data and Computer Communications 7th Edition Chapter 2 Protocols and Architecture

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 (port on TCP/IP stacks)

Protocol Data Units (PDU) The combination of data from the next higher layer and control information is known as a PDU. At each layer, protocols are used to communicate Control information is added to user data at each layer e.g. 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 (Control Information)

PDU Headers Transport PDU header Includes the following: Destination SAP: when the destination transport layer receives the transport PDU, it must know to whom the data are to be delivered. Sequence number: if the PDUs arrive out of order, the destination transport entity may reorder them. Error-detection code: the sending transport entity may include a code that is a function of the contents of the remainder of the PDU. The receiving transport protocol performs the same calculation and compares the result with the incoming code Network PDU header Includes the following: Destination computer address: the network must know to which computer on the network the data are to be delivered. Facilities requests: the network access protocol might want the network to make use of certain facilities, such as priority.

Standardized Protocol Architectures Required for devices from different vendors 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: application, presentation, session, transport, network, data link, and physical layer. A theoretical system delivered too late! TCP/IP is the de facto standard

OSI - The Model The communications functions are partitioned into a hierarchical set of layers. 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

OSI Layers

The OSI Environment

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 PDUs Service definition Functional description of what is provided, but not how the services are to be provided. Addressing Each layer provides services to entities at the next higher level. These entities are referenced by means of a service access point (SAP).

Service Primitives and Parameters Services between adjacent layers expressed in terms of primitives (actions) and parameters Primitives specify function to be performed Parameters pass data and control information. The actual form of a primitive is implementation dependent. An example is a procedure call.

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 to: 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

Data transfer between two peer entities Steps occur for data transfer from an (N) entity to a peer (N) entity in another system: The source (N) entity invokes its (N-1) entity with a request primitive. Associated with the primitive are the parameters needed, such as the data to be transmitted and the destination address. The source (N-1) entity prepares an (N-1) PDU to be sent to its peer (N-1) entity. The destination (N-1) entity delivers the data to the appropriate destination (N) entity via an indication primitive, which includes the data and source address as parameters. If an acknowledgment is called for, the destination (N) entity issues a response primitive to its (N-1) entity.

Timing Sequence for Service Primitives

OSI Layers (1) Physical: Covers the physical interface between devices, and rules by which bits are passed from one to another. Has the following characteristics: Mechanical: physical properties like: pluggable connectors and cables (called circuits) Electrical: bits representation (e.g. voltage levels) and transmission rate. Functional: specifies the function of each circuit, (control, data) Procedural: specifies the sequence of events by which bit streams are exchanged across the physical medium.

OSI Layers (2) Data Link The data link layer attempts to make the physical link reliable. Provides means of activating, maintaining and deactivating a reliable link. Error detection and control Higher layers may assume error free transmission, but if the communication is between two systems that are not connected directly (different data links). The higher layers are not relived of an error control responsibility.

TCP/IP Protocol Architecture Developed by the US Defense Advanced Research Project Agency (DARPA) for its packet switched network (ARPANET) Consists of a large collection of protocols that have been issued as Internet standards by the Internet Architecture Board (IAB) No official model but a working one. Five layers: Application layer Host to host or transport layer Internet layer Network access layer Physical layer

TPC/IP Layers Physical Layer: Network Access Layer: Physical interface between data transmission device (e.g. computer) and transmission medium or network Specify the characteristics of transmission medium, nature of the signals and data rate. Network Access Layer: Exchange of data between end system and network Destination address provision Invoking services like priority

TCP/IP Layers (Cont.) Internet Layer (IP) Transport Layer (TCP) Systems may be attached to different networks Concerned with routing data across multiple networks Implemented in end systems and routers Transport Layer (TCP) Reliable delivery of data (error handling) Ordering of delivery (sequencing) Application Layer Support for various user applications e.g. http, SMTP, POP, …

OSI v TCP/IP

TCP Usual transport layer is Transmission Control Protocol Connection Reliable connection Connection Temporary logical connection (using port values) between entities in different systems TCP PDU Called TCP segment Includes source and destination port (called 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 (unreliable) No preservation of sequence No protection against duplication Minimum overhead (connectionless) Adds port addressing to IP (full address)

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

PDUs in TCP/IP

TCP Header Information Destination port: when TCP entity at the receiver receives the segment, it must know to which application the data must be delivered. Sequence number: if the segments arrive out of order, the TCP entity at the receiver can order them. Checksum: Sent segment includes a code that is a function of the contents of the remainder of the segment. Receiving TCP performs the same calculation and compare the result with the incoming code to detect errors.

Some Protocols in TCP/IP Suite