27
OSI Reference Model 1 Protocols and Reference Models Faisal Karim Shaikh [email protected] DEWSNet Group Dependable Embedded Wired/Wireless Networks www.fkshaikh.com/dewsnet

Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

  • Upload
    ngodieu

  • View
    248

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 1

Protocols and Reference Models

Faisal Karim [email protected]

DEWSNet GroupDependable Embedded Wired/Wireless

Networkswww.fkshaikh.com/dewsnet

Page 2: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 2

Protocols

Cooperative action is necessary computer networking is not only to exchange bytes huge system with several utilities and functions.

For proper communication, entities in different systems must speak the same language

Those conventions and associated rules are referred as “PROTOCOLS”

Page 3: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 3

Need For Protocol Architecture

data exchange can involve complex procedures, cf. file transfer example

better if task broken into subtasks implemented separately in layers in stack

each layer provides functions needed to perform comms for layers above

using functions provided by layers below peer layers communicate with a protocol

Page 4: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 4

Key Elements of a Protocol

syntax - data format semantics - control info & error handling timing - speed matching & sequencing

Page 5: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 5

A Real World Example to Protocol Architecture

Issues: peer-to-peer protocols are independent of each otherfor example, secretaries may change the comm. medium to emailor the translators may agree on using another common language

Page 6: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 6

LAYERED TASKS: Tasks involved in sending a letter

Page 7: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 7

Simplified Network Architecture

Page 8: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 8

Standard Protocol Architectures

Two approaches (standard) OSI Reference model

•• never used widelynever used widely•• but well knownbut well known

TCP/IP protocol suite•• Most widely usedMost widely used

Another approach (proprietary) IBM’s Systems Network Architecture (SNA)

Page 9: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 9

OSI Reference Model

Open Systems Interconnection Reference model

provides a general framework for standardization defines a set of layers and services provided by each layer one or more protocols can be developed for each layer

Developed by the International Organization for Standardization (ISO) also published by ITU-T (International Telecommunications

Union)

Page 10: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 10

OSI Reference Model

A layered model Seven layers – seven has been presented as the optimal number

of layer Delivered too late (published in 1984)!

by that time TCP/IP started to became the de facto standard Although no OSI-based protocol survived, the model is

still valid

Page 11: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 11

Standardized Protocol Architectures

Page 12: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 12

Seven layers of the OSI model

Page 13: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 13

Interaction b/w layers in the OSI model

Page 14: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 14

Exchange of data using the OSI model

Page 15: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 15

Physical layer

Physical interface between devices Characteristics

•• Mechanical Mechanical -- interface specsinterface specs•• Electrical Electrical -- voltage levels for bits, transmission ratevoltage levels for bits, transmission rate

Page 16: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 16

Data link layer

Principle service: error detection and control Higher layers may assume error free transmission link to link (point to point) Later a sublayer is added to Data Link Layer

•• MAC (Medium Access Control) MAC (Medium Access Control) sublayersublayer•• to deal with broadcast networksto deal with broadcast networks

Page 17: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 17

Hop-to-hop delivery

Page 18: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 18

Network layer Transfer of information through comm. network Higher layers do not need to know about underlying networking

technology Not needed on direct links If needed network nodes (relays) should perform switching and routing

functions QoS (Quality of Service) and congestion control are also addresses in

this layer Several other internetworking issues

•• e.g. differences in addressing, max. data length, etc.e.g. differences in addressing, max. data length, etc.

Page 19: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 19

Diff b/w InterServ and DiffServ Model for ensuring QoS for Networks

Page 20: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 20

Source-to-destination delivery

Page 21: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 21

Transport layer

Exchange of data end to end If needed, upper layer data are split into smaller units In sequence, no losses, no duplicates

Page 22: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 22

Reliable process-to-process delivery of a message

Page 23: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 23

Session layer Control of dialogues

•• whose turn to talk?whose turn to talk? Dialogue discipline (full-duplex, half-duplex) Checkpointing and recovery

Page 24: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 24

Presentation layer

Data formats and coding Data compression Encryption

Page 25: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 25

Application layer

Support for various protocols

Page 26: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 26

Summary of layers

Page 27: Protocols and Reference Models - Mehran UET Scholarsscholars.muet.edu.pk/.../slides/02CCN_ProtocolsReferenceModels.pdf · OSI Reference Model 1 Protocols and Reference Models

OSI Reference Model 27

www.muet.edu.pk/~shaikh/courses