+ All Categories
Home > Documents > OSI Reference Model

OSI Reference Model

Date post: 02-May-2017
Category:
Upload: priyasingh1682
View: 216 times
Download: 1 times
Share this document with a friend
38
The O S I O S I (Open System Interconnect) Model
Transcript
Page 1: OSI Reference Model

The O S IO S I

(Open System Interconnect)Model

Page 2: OSI Reference Model

The OSI Model

• OSI Layer defines several different process to

which data goes when it is transmitted from one to

another.

• OSI Layer is meant for Networking manufacturers

and developers to provide them a standard based

on which they can make their products.

Page 3: OSI Reference Model

• All OSI Layers are independent from each other,

which makes introducing changes easier as no

other layers are effected.

Page 4: OSI Reference Model

Key Purpose of OSI

All the points give the two main purpose that OSI Model solves:

• Provides general functioning rather than how to do it.

• Ease of Troubleshooting.

Page 5: OSI Reference Model

The Seven OSI Layers• Application Layer

• Presentation Layer

• Session Layer

• Transport Layer

• Network Layer

• Datalink Layer

• Physical Layer

Page 6: OSI Reference Model

Application Layer• This is where users communicate to the computer.

• This is where communication between two users are established.

• This is a point where user or application interfaces with the protocols to gain access to the network.

• Examples are HTTP, Telnet, FTP, E-mail, SNMP, DNS

Page 7: OSI Reference Model

Presentation Layer• Tasks like Translation, Encryption,

decryption, compression, decompression

are associated with this layer.

• It is mainly responsible for how the data is

to be presented to the Application Layer.

• Examples are PICT, TIFF, JPEG, MIDI,

MPEG, GIFF etc.

Page 8: OSI Reference Model

Session Layer

• It is mainly responsible for

– Session Establishment

• Establishes a session between two devices before

actual transmission of data.

Page 9: OSI Reference Model

• Dialog Control

• Simplex

• Half Duplex

• Full Duplex

• RPC, SQL, NFS and NetBIOS are

examples of Session Layer.

Page 10: OSI Reference Model

• Simplex– Data travels only one way.

• Radio transmission is the best example of this.

• Half Duplex– Both way but one at a time. By default all LAN

Cards (NICs) work on Half Duplex.

• Full Duplex– Both way at the same time.

Page 11: OSI Reference Model

Transport Layer• Transport Layer never actually transports the

data but only prepares for transporting.

• Responsible for the following :– Segmentation– End-to-end Communication– Flow Control– Error Control– Multiplexing of Applications

• TCP, UDP and SPX work at this layer

Page 12: OSI Reference Model

Segmentation

• This is a mechanism wherein the data is divided into

multiple segments and sent over the network.

• By doing this different segments can use different links

for travelling across the network.

Page 13: OSI Reference Model

• If one segment is lost the only segment is

required to be re-sent and not the entire data.

• Once all segments reach to the destination the

received segments have to be sequenced back,

which is also done at this layer.

Page 14: OSI Reference Model

End-to-End Communication

• Connection Less Transmission– UDP is used– Not reliable– Faster

• Connection Oriented Transmission– TCP or SPX is used– Reliable– Slower

Page 15: OSI Reference Model

Connection Oriented Protocol

• These protocols relies on Acknowledgement.

• Positive acknowledgement means data has been received.

Page 16: OSI Reference Model

• Negative acknowledgement means data is lost no

further data is sent till positive acknowledgement

is received.

• It is slow but Reliable.

• Eg. TCP and SPX

Page 17: OSI Reference Model

Connection Less Protocol

• They do not provide acknowledgement neither sequence numbers.

• It is faster but not reliable

• Eg. UDP and IPX

Page 18: OSI Reference Model

Flow Control

• Used while connection oriented

communication

• It helps to have a control on over flow of

Buffer.

• Advantages are:

Page 19: OSI Reference Model

– The segments delivered are acknowledged if

received

– Any segment not acknowledged are

retransmitted

– segments are sequenced back upon their arrival

– Congestion, Overloading and data loss are

avoided

Page 20: OSI Reference Model

Sliding Window / Windowing

• This mechanism is used to overcome the

problem of data loss due to buffer overflowing.

• A “WAIT” signal is sent by the receiver, when

buffer is full and “YES” signal is sent when it is

ready to receive.

• This approach is call “Sliding Window” method.

Page 21: OSI Reference Model

Contd…

• In this mechanism it auto adjusts the number of

segments that it is going to send before receiving the

acknowledgement.

• If sender does not receive the acknowledgement after

sending the pre-defined number of segments, it stops

transmission till it receives the positive signal.

Page 22: OSI Reference Model

Error Control• It is very important to check the integrity of

the segments received.

• It is accomplished at transport layer by following methods :

• Parity Checking• ODD / EVEN

• Cyclic Redundancy Check (CRC)

• derives checksum

Page 23: OSI Reference Model

Multiplexing• Multiplexing of application is supported at

Transport Layer

• In other words running FTP and Telnet simultaneously is supported.

Page 24: OSI Reference Model

Network Layer• It is responsible for communicating

Networks

• It recognizes Networks with the help of Netwok Addresses – Network Address is a logical address like IP

Address or IPX Address– It is common for a group of computers

Page 25: OSI Reference Model

• It works only with Network IDs and has got

nothing to do with host Ids.

• Path determination or Routing is performed at

this layer. Router works at this layer.

Contd…

Page 26: OSI Reference Model
Page 27: OSI Reference Model

Data Link Layer

• It uniquely identifies each device in the Network.

• It translates data from Network Layer into bits for the Physical layer to transmit.

• It formats the messages into Data Frames

Page 28: OSI Reference Model

Contd..

• Adds a customized header containing Source and Destination hardware address

• This layer works with Frames

• This layer is logically divided in two sub-layers:

– LLC (Logical Link Control)– MAC (Media Access Control)

Page 29: OSI Reference Model

Data Link Sub-Layers

Page 30: OSI Reference Model

Logical Link Control • It identifies Network Layer Protocols and

encapsulates them.

• With the help of LLC header it determines what to do once the frame is received.

• It also provides

– Error Control– Flow Control– Sequencing of Bits

Page 31: OSI Reference Model

Media Access Control• Identifies how packets are placed on the

media.

• Physical addressing and Logical Topology is defined here.

– Logical Topology is the signal path through a Physical Topology.

• Uses device hardware address to communicate between devices

Page 32: OSI Reference Model

Devices at Data Link Layer

• Devices that works at this layer are

– LAN Card

– Switches

– Bridges etc.

Page 33: OSI Reference Model
Page 34: OSI Reference Model

Physical Layer

• Electrical and Mechanical settings are provided at this layer.

• Transmits data in the form of bits.

• This layer communicates directly with actual communication media.

Page 35: OSI Reference Model

Physical Layer Implementation

Page 36: OSI Reference Model

Contd..

• At this layer DCE & DTE are identified

• DCE (Data Circuit-Terminating Equipment)• Located at Service Provider’s side

• DTE (Data Terminal Equipment)• The attached device at customer’ Place eg.

Router

Page 37: OSI Reference Model

• Note: Services available to a DTE is most

often accessed via a Modem or Channel

Service Unit (CSU) Data Service Unit (DSU).

Page 38: OSI Reference Model

Devices Working At This Layer

• HUBs & REPEATERS are working at this layer.

• Max. troubleshooting occurs at this layer.


Recommended