osi reference model & layered communication sritrusta sukaridhoto

48
OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Upload: rosemary-gaines

Post on 27-Dec-2015

222 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

OSI Reference Model & Layered Communication

Sritrusta Sukaridhoto

Page 2: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

OSI Layer

Open Systems Interconnection for Communications

There are 7 Layers Layers 7,6,5 are oriented more toward

services to the applications Layer 4,3,2,1 are oriented more toward

the flows data from end-to-end through network

Page 3: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

7 Layer OSI

Page 4: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

How to Remember (CISCO)

Please Physical Do Data Link Not Network Throw Transport Sousces Session Pizza Presentation Away Application

Page 5: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Application

Layer 7

Page 6: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Function & Description

An application that communicates with other computers is implementing OSI application layer concepts. Application layer refer to communications service to application.

Page 7: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Example

Telnet HTTP FTP WWW Browser NFS SMTP Gateway SNMP

Page 8: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Presentation

Layer 6

Page 9: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Function & Description

This layer main purpose is defining data format such as ASCII text, EBCDIC text, binary, BCD, JPEG.

Encryption is also defined by OSI as presentation layer service.

Page 10: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Example

JPEG ASCII TIFF GIF PICT MPEG MIDI Encryption

Page 11: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Session

Layer 5

Page 12: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Function & Description

This session layer defines how to start, control, and end conversation (called session).

This includes the control and management of multi bidirectional messages so that application can be notified if only some of a series of messages are completed.

Page 13: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Example

RPC SQL NFS Netbios Names AppleTalk ASP SCP DECnet

Page 14: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Transport

Layer 4

Page 15: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Function & Description

Layer 4 includes the choice of protocols that either do or do not provide error recovery. Multiplexing of incoming data for different flows to applications on the same host.

Page 16: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Example

TCP UDP SPX

Page 17: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Network

Layer 3

Page 18: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Function & Description

This layer defines end-to-end delivery packets. To accomplish this, the network layer defines logical addressing so that any endpoint can be identified. It also defines how routing works and how routes are learned so that the packets can be delivered

Network layer also defines how to fragment a packet into smaller packets to accommodate media with smaller maximum transmission unit size

Page 19: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Example

IP IPX AppleTalk DDP

Page 20: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Data Link

Layer 2

Page 21: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Function & Description

The data link specifications are concerned with getting data across one particular link or medium. The data link protocols define delivery across an individual link. These protocols are necessary concerned with the type of media in question.

Page 22: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Example

IEEE 802.3/802.2 HDLC Frame Relay PPP FDDI ATM

Page 23: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Physical

Layer 1

Page 24: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Function & Description

Deal with the physical characteristics of the transmission medium, Connection pins, use of pins, electrical currents, encoding and light modulation.

Page 25: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Example

Ethernet RJ-45 V.35 FDDI EIA/TIA-232

Page 26: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Some protocol define details of multiple layers.

Example: NFS

Page 27: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Benefit & Concept

Humans can discuss and learn about many details of a protocol specification easier

Standardized interfaces among layers Better environment for interoperability Reduce complexity, faster production Each layer can define header and trailers

around the user data One layer use the services of the layer

immediately below it.

Page 28: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Interaction Between OSI Layer

Page 29: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

On Same Computer

Page 30: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Step 1 = Physical Layer, ensure bit synchronization

Step 2 = Data Link Layer, Frame Check Sequence (FCS) whether error occurred in transmission

Step 3 = Network Layer, Exam address Step 4 = Transport Layer, acknowleadment Step 5 = Session Layer, to ensure that a series

of messages is completed Step 6 = Presentation Layer, manipulate data

format Step 7 = Application Layer, processes the final

header and then can examine the true end-user data

Page 31: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Different Computer

Page 32: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Data Encapsulation

Page 33: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

5 Step Data Encapsulation

Create the data Package the data for transport Add the destination network layer

address to the data Add the destination data link address

to the data Transmit the bit

Page 34: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Frames, Packets and Seqments

Page 35: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

The layer 2 PDU (Protocol Data Unit) including the data link header and trailer = Frame

The Layer 3 PDU = packet The Layer 4 PDU = seqment

Page 36: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

OSI, TCP/IP

Page 37: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

OSI Transport Layer Function

Connection Oriented vs Connectionless Oriented

Page 38: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Error Recovery

Page 39: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto
Page 40: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto
Page 41: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Flow Control

Flow control is the process of controlling the rate at witch a computer sends data.

Implementation: Buffering Congestion Avoidance Windowing

Page 42: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Buffering

Buffering simply means that computers reserve enough buffer space that bursts of incoming data can be held until processed

Page 43: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Congestion Avoidance

Page 44: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Windowing

Page 45: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Data Link Function

MAC = Media Access Control

CSMA/CD = Carrier Sense Multiple Access/Collision Detect

Page 46: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

OSI Network Layer Function

Routing Sending data to a nearby Router Routing data Across Network Delivering Data to End Destination

Addressing

Page 47: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto
Page 48: OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

Summary

Application (Layer 7) User Interface Telnet, HTTP Application (Layer 6) How data is presented JPEG,

ASCII Session (Layer 5) Keeping data separate from different

application OS, application access scheduling Transport (Layer 4) Reliable or unreliable delivery,

Multiplexing TCP, UDP, SPX Network (Layer 3) Logical addressing, Routing IP, IPX Data Link (Layer 2) MAC, error detection 802.3/802.2,

HDLC Physical (Layer 1) Devices Ethernet, V.35