Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Slides:



Advertisements
Similar presentations
Exercises and Solutions Lecture 1
Advertisements

2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1.1 Chapter 1 Introduction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 2 Network Models.
1.1 Chapter 1 Introduction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 2 Network Models.
The OSI Model and the TCP/IP Protocol Suite
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 2 The OSI Model and the TCP/IP.
Chapter 2 Network Models Dr. Mznah Al-Rodhaan.
NETWORK MODELS T.Najah Al_Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
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:
The OSI Model and the TCP/IP Protocol Suite
Computer Networks Lecture 1 & 2 Introduction and Layer Model Approach Lahore Leads University.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 2 Network Models.
NDSL, Chang Gung University, 2.1 Chapter 2 Network Models 長庚大學資訊工程學系 陳仁暉 副教授 Tel: (03) Ext: 5990
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
CSCI-235 Micro-Computer in Science The Network. © Prentice-Hall, Inc Communications  Communication is the process of sending and receiving messages 
The OSI Model and the TCP/IP Protocol Suite
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 2 Network Models.
Service Primitives Six service primitives that provide a simple connection-oriented service 4/23/2017
Internet Model. Interfaces Between Layers The passing of the data and network information down through the layers of the sending device and back up.
1.1 Chapter 1 Introduction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Overview of Data Communications and Networking PART I.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 2 Network Models.
Prof. Hosny Ibrahim.  Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011  Text book (TX2): Data Communications.
Chapter 1 Introduction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 2. Network Models
BZUPAGES.COM 2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Network Models.
Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to.
CSCD 218 : DATA COMMUNICATIONS AND NETWORKING 1
Chapter 2. Network Models
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 9 Introduction To Data-Link Layer Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
2.1 Chapter 2 Network Models – cont. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 1 Introduction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1.#
Data Communication Network Models
Computer Networks. Understand the rationale for the existence of networks. Distinguish between the three types of networks: LANs, MANs, and WANs. After.
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
1. Introduction and Background Network Performance and Quality of Service.
Chapter 2 Network Models
Chapter 9 Introduction To Data-Link Layer
Chapter 9 Introduction To Data-Link Layer 9.# 1
Network Models.
Chapter 2 Network Models
Chapter 2 Network Models.
Chapter 2 Network Models
Part III Datalink Layer 10.
Part I. Overview of Data Communications and Networking
Chapter 2 Network Models
Net 431: ADVANCED COMPUTER NETWORKS
Lec 5 Layers Computer Networks Al-Mustansiryah University
Chapter 2 Network Models.
Chapter 2 Network Models
Chapter 2 Network Models.
Overview of Data Communications and Networking
Chapter 2 Network Models.
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Part III Datalink Layer 10.
Chapter 2 Network Models
CSE 313 Data Communication
Chapter 2 Network Models.
Introduction to TCP/IP protocol Suite
Chapter 2 Network Models
Protocol Layering - Introduction
Chapter 2 Network Models
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Presentation transcript:

Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Components of Communication Sender Receiver Message Transmission medium Protocol

Effectiveness of Communication Delivery (confidentiality) Accuracy (integrity) Timeliness (availability) Jitter – a subset of timeliness 2.3

Data Flow Simplex Half-Duplex Duplex 2.4

Connection Types Point-to-Point A circuit switch creates a point to point connection. Multi-point Many packet switched networks are multi- point 2.5

Physical Topologies Bus Ring Star Mesh Compound 2.6

Physical Topology Links Let n=# of nodes. The number of links is: Busn-1 Ringn Starn-1 (includes the hub) Meshn*(n-1)/2 2.7

Network Types LAN – nodes belonging to an address space that are part of a well defined domain. WAN – When two or more LANs are linked together. 2.8

Chapter 2: Outline 2.1 Protocol Layering 2.1 Protocol Layering 2.2 TCP/IP Protocol Suite 2.2 TCP/IP Protocol Suite 2.3 OSI Model 2.3 OSI Model

PROTOCOL LAYERING A protocol defines the rules that the sender, receiver and all intermediate devices must follow to communicate effectively.

Scenarios Consider two scenarios. Scenario 1: communication is so simple it occurs in one layer. Scenario 2: communication takes place in three layers.

PROTOCOL LAYERING When communication is simple, one simple protocol may be enough; When the communication is complex, layers are introduced, and each layer has its own protocol.

2.13 Figure 2.1 : A single-layer protocol

2.14 Figure 2.2 : A three-layer protocol

Principles of Protocol Layering Consider two principles of protocol layering.

Principles of Protocol Layering Consider two principles of protocol layering. 1. For half-duplex or full duplex data flow, each layer must perform a forward operation and the corresponding inverse operation.

Principles of Protocol Layering Consider two principles of protocol layering. 2. The two objects under each logically linked layer at both sites should be identical.

Principles of Protocol Layering Consider two principles of protocol layering. 1. For half-duplex or full duplex data flow, each layer must perform a forward operation and the corresponding inverse operation. 2. The two objects under each logically linked layer at both sites should be identical.

2.19 Figure 2.2 : A three-layer protocol

Logical Connections The principles of protocol layering lead to a logical connection between the layers at sending and receiving ends of the communication.

2.21 Figure 2.3 : Logical connection between peer layers

TCP/IP PROTOCOL SUITE A protocol defines the rules that both the sender and receiver and all intermediate devices must follow to communicate effectively.

TCP/IP PROTOCOL SUITE TCP/IP is a five layer protocol suite.

TCP/IP PROTOCOL SUITE TCP/IP is a five layer protocol suite. Application Layer

TCP/IP PROTOCOL SUITE TCP/IP is a five layer protocol suite. Application Layer Transport Layer

TCP/IP PROTOCOL SUITE TCP/IP is a five layer protocol suite. Application Layer Transport Layer Network Layer

TCP/IP PROTOCOL SUITE TCP/IP is a five layer protocol suite. Application Layer Transport Layer Network Layer Data Link Layer

TCP/IP PROTOCOL SUITE TCP/IP is a five layer protocol suite. Application Layer Transport Layer Network Layer Data Link Layer Physical Layer

2.29 Figure 2.4 : Layers in the TCP/IP protocol suite

Layered Architecture TCP/IP protocol suite example: Consider three LANs Each LAN has a group of hosts connected to a switch (aka 2-level switch). Each switch is connected to a router (aka 3-level switch)

2.31 Figure 2.5: Communication through an internet

Layers in the TCP/IP Protocol Suite Draw a diagram with multiple nodes in each LAN Why is it called a 2-level switch? Why is a router is 3-level switch?

2.33 Figure 2.6 : Logical connections between layers in TCP/IP Logical connections

2.34 Network Data Objects Data objects: message

2.35 Network Data Objects Data objects: message segment

2.36 Network Data Objects Data objects: message segment datagram

2.37 Network Data Objects Data objects: message segment datagram frame

2.38 Network Data Objects Network data object taxonomy: message segment datagram frame signals representing bits

2.39 Figure 2.7 : Identical objects in the TCP/IP protocol suite Identical objects (messages) Identical objects (segment or user datagram) Identical objects (datagram) Identical objects (frame) Identical objects (bits) Identical objects (datagram) Identical objects (frame) Identical objects (bits)

2.40 Network Data Objects Data Object Taxonomy: Application layer - message Transport layer - segment Network layer - datagram Data link layer - frame Physical layer – signals representing bits

The TCP/IP Layers Descriptions of the TCP/IP layers will come later; next, we will follow a data object through the layers…

Encapsulation and Decapsulation One of the important concepts in protocol layering in the Internet is encapsulation/ decapsulation.

Encapsulation and Decapsulation As the object passes through each layer, an information header (and or trailer) is added to the object. The information header is used to assist in any of these tasks: routing of the object, flow control, error detection, error correction, etc. (see next slide)

2.44 Figure 2.8 : Encapsulation / Decapsulation

Encapsulation payload Each layer receives an object that is referred to as the payload, and then attaches a data header. Payload can be relative to each layer, or absolute. The absolute case refers to the original object message. 2.45

Example Encapsulation Q: What is the efficiency of the link in figure 2.8, between LANs if each header is 60 bytes and the message is 1000 bytes? 2.46

Example Encapsulation Q: What is the efficiency of the link in figure 2.8, between LANs if each header is 60 bytes and the message is 1000 bytes? A: 84.7% 2.47

Example Encapsulation Q: How does the efficiency change if the message is only 100 bytes? 2.48

Example Encapsulation Q: How does the efficiency change if the message is only 100 bytes? A: 35.7% 2.49

2.50 Figure 2.9: Addressing in the TCP/IP protocol suite

OSI MODEL A seven layer protocol model. It never really caught on due to the success of TCP/IP

2.52 Figure 2.11: The OSI model

2.53 Figure 2.12 : TCP/IP and OSI model

OSI versus TCP/IP When we compare the two models, we find that two layers, session and presentation, are missing from the TCP/IP protocol suite. These two layers were not added to the TCP/IP protocol suite after the publication of the OSI model. The application layer in the suite is usually considered to be the combination of three layers in the OSI model, as shown in Figure 2.12.