Upload
ngodieu
View
248
Download
0
Embed Size (px)
Citation preview
OSI Reference Model 1
Protocols and Reference Models
Faisal Karim [email protected]
DEWSNet GroupDependable Embedded Wired/Wireless
Networkswww.fkshaikh.com/dewsnet
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”
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
OSI Reference Model 4
Key Elements of a Protocol
syntax - data format semantics - control info & error handling timing - speed matching & sequencing
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
OSI Reference Model 6
LAYERED TASKS: Tasks involved in sending a letter
OSI Reference Model 7
Simplified Network Architecture
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)
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)
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
OSI Reference Model 11
Standardized Protocol Architectures
OSI Reference Model 12
Seven layers of the OSI model
OSI Reference Model 13
Interaction b/w layers in the OSI model
OSI Reference Model 14
Exchange of data using the OSI model
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
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
OSI Reference Model 17
Hop-to-hop delivery
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.
OSI Reference Model 19
Diff b/w InterServ and DiffServ Model for ensuring QoS for Networks
OSI Reference Model 20
Source-to-destination delivery
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
OSI Reference Model 22
Reliable process-to-process delivery of a message
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
OSI Reference Model 24
Presentation layer
Data formats and coding Data compression Encryption
OSI Reference Model 25
Application layer
Support for various protocols
OSI Reference Model 26
Summary of layers
OSI Reference Model 27
www.muet.edu.pk/~shaikh/courses