day 1.3 osi reference

34
OSI Reference Model

Upload: cyberintelligents

Post on 17-Aug-2015

99 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Day 1.3 osi reference

OSI Reference Model

Page 2: Day 1.3 osi reference
Page 3: Day 1.3 osi reference

All - Application

People - Presentation

Seems - Session

To - Transport

Need of - Network

Data - Data Link

Processing - Physical

How to Remember

Page 4: Day 1.3 osi reference

Why a Layered Network Model?

7 Application

6 Presentation

5 Session

4 Transport

3 Network

2 Data Link

1 Physical

• Reduces complexity (one big problem to seven smaller ones)

• Standardizes interfaces

• Simplifies teaching and learning

Page 5: Day 1.3 osi reference

Devices Function at Layers

7 Application

6 Presentation

5 Session

4 Transport

3 Network

2 Data Link

1 Physical

NIC Card

Hub

Page 6: Day 1.3 osi reference

Host Layers

7 Application

6 Presentation

5 Session

4 Transport

3 Network

2 Data Link

1 Physical

Host layers: Host layers: Provide accurate data delivery between computers}

Page 7: Day 1.3 osi reference

Media Layers

7 Application

6 Presentation

5 Session

4 Transport

3 Network

2 Data Link

1 Physical

Host layers:Host layers: Provide accurate data delivery between computers

Media layers:Media layers: Controlphysical delivery of messages over the network}}

Page 8: Day 1.3 osi reference

Application Layer

Provides network services to application processes (such as electronic mail, file transfer, and terminal emulation)

7 Application

Page 9: Day 1.3 osi reference

Presentation Layer

Network services to applicationsNetwork services to applications

• Ensures data is readable by receiving system

• Format of data• Negotiates data transfer

syntax for application layer

7 Application

6 Presentation Data representation

Page 10: Day 1.3 osi reference

Session Layer

Inter-host communication• Establishes, manages, and

terminates sessions between applications

7 Application

6 Presentation

5 Session

Network services to applicationsNetwork services to applications

Data representationData representation

Page 11: Day 1.3 osi reference

Transport Layer

7 Application

6 Presentation

5 Session

Transport4

Inter-host communicationInter-host communication

Network services to applicationsNetwork services to applications

Data representationData representation

End-to-end connection reliability• Concerned with data transport

issues between hosts• Data transport reliability• Establishes, maintains, and

terminates virtual circuits• Fault detection and recovery• Information flow control

Page 12: Day 1.3 osi reference

Network Layer

7 Application

6 Presentation

5 Session

Transport4

Network3

Inter-host communicationInter-host communication

Network services to applicationsNetwork services to applications

Data representationData representation

End-to-end connection reliabilityEnd-to-end connection reliability

Addresses and best path• Provides connectivity and path

selection between two end systems

• Domain of routing

Page 13: Day 1.3 osi reference

Data Link Layer

7 Application

6 Presentation

5 Session

Transport4

Network3

Data Link2

Inter-host communicationInter-host communication

Network services to applicationsNetwork services to applications

Data representationData representation

End-to-end connection reliabilityEnd-to-end connection reliability

Addresses and best pathAddresses and best path

Access to media• Provides reliable transfer of data

across media• Physical addressing, network

topology, error notification, flow control

Page 14: Day 1.3 osi reference

Physical Layer

7 Application

6 Presentation

5 Session

Transport4

Network3

Data Link2

Physical1

Inter-host communicationInter-host communication

Network services to applicationsNetwork services to applications

Data representationData representation

End-to-end connection reliabilityEnd-to-end connection reliability

Addresses and best pathAddresses and best path

Access to mediaAccess to media

Binary transmission• Wires, connectors, data rates

Page 15: Day 1.3 osi reference

7 Application

6 Presentation

5 Session

4 Transport

3 Network

2 Data Link

1 Physical

Host A

Communications

Application

Presentation

Session

Transport

Network

Data Link

PhysicalBits

Frames

Packets

Segments

Host B

Page 16: Day 1.3 osi reference

Data EncapsulationApplication

Presentation

Session

Transport

Network

Physical

Data Link

Application

Presentation

Session

Transport

Network

Physical

Data Link

Host A Host B

Data} {

Page 17: Day 1.3 osi reference

Data EncapsulationApplication

Presentation

Session

Transport

Network

Physical

Data Link

Application

Presentation

Session

Transport

Network

Physical

Data Link

Data} {DataNetwork

Header

Host A Host B

Page 18: Day 1.3 osi reference

Data EncapsulationApplication

Presentation

Session

Transport

Network

Physical

Data Link

Application

Presentation

Session

Transport

Network

Physical

Data Link

Data} {DataNetwork

Header

Frame

HeaderFrame

TrailerDataNetwork

Header

Host A Host B

Page 19: Day 1.3 osi reference

Data EncapsulationApplication

Presentation

Session

Transport

Network

Physical

Data Link

Application

Presentation

Session

Transport

Network

Physical

Data Link

Data} {DataNetwork

Header

Frame

HeaderFrame

TrailerDataNetwork

Header

0101101010110001

Host A Host B

Page 20: Day 1.3 osi reference

Layers 1 & 2: Physical & Data Link

Layers

Page 21: Day 1.3 osi reference

MAC Address24 bits

ROMRAM

24 bits

0000.0c12. 3456Serial NumberVendor Code

• MAC address is burned into ROM on a network interface card

Page 22: Day 1.3 osi reference

Layer 3: Network Layer

© 1999, Cisco Systems, Inc. www.cisco.com

Page 23: Day 1.3 osi reference

Network Layer: Path Determination

Which Path?Which Path?

• Layer 3 functions to find the best path through the internetwork

Page 24: Day 1.3 osi reference

Layers 4–7: Transport, Session,

Presentation, and Application Layers

Page 25: Day 1.3 osi reference

• Segments upper-layer applications• Establishes an end-to-end connection• Sends segments from one end host to another• Optionally, ensures data reliability

Transport Layer

Page 26: Day 1.3 osi reference

Transport Layer— Establishes Connection

Synchronize

Synchronize

Acknowledge

Negotiate Connection

Receiver

Data Transfer

Connection Established

(Send Segments)

Sender

Page 27: Day 1.3 osi reference

Transport Layer— Sends Segments with Flow Control

Transmit

Buffer FullNot Ready

StopProcessSegments

Buffer OKReadyGo

Resume Transmission

ReceiverSender

Page 28: Day 1.3 osi reference

Transport Layer— Reliability with Windowing

•Window Size = 1

Sender

Send 1 Receive 1

Receiver

Ack 2

Send 2 Receive 2Ack 3

Sender

Send 1Send 2

Receive 1Receive 2

Receiver

•Window Size = 3

Send 3 Receive 3Ack 4

Send 4

Page 29: Day 1.3 osi reference

Transport Layer— An Acknowledgement Technique

Sender Receiver

Send 2Send 1

Send 3Ack 4

Send 5Send 4

Send 6Ack 5

Send 5Ack 7

1 2 3 4 5 6 7 1 2 3 4 5 6 7

Page 30: Day 1.3 osi reference

Transport to Network Layer

End-to-End SegmentsEnd-to-End Segments

Routed PacketsRouted Packets

Page 31: Day 1.3 osi reference

• Coordinates applications as they interact on different hosts

Session Layer

• Network File System (NFS)• Structured Query Language (SQL)• Remote-Procedure Call (RPC)• AppleTalk Session Protocol (ASP)• DEC Session Control Protocol (SCP)

Service Request

Service Reply

Page 32: Day 1.3 osi reference

• Provides code formatting and conversion for applications

Presentation Layer

ASCIIEBCDICEncrypted

• Text• Data

login:

PICTTIFFJPEGGIF

• Graphics• Visual images

• Sound

• VideoMPEGQuickTime

MIDI

Page 33: Day 1.3 osi reference

• User Interaction

Application Layer

Word Processor

Presentation Graphics

Spreadsheet

Database

Design/Manufacturing

Project Planning

Others

COMPUTERAPPLICATIONS

Electronic Mail

File Transfer

Remote Access

Client-Server Process

Information Location

Network Management

Others

NETWORKAPPLICATIONS INTERNETWORK

APPLICATIONS

Electronic Data Interchange

World Wide Web

E-Mail Gateways

Special-Interest Bulletin Boards

Financial Transaction Services

Internet Navigation Utilities

Conferencing (Voice, Video, Data)

Others

Page 34: Day 1.3 osi reference

• OSI reference model describes building blocks of functions for program-to-program communications between similar or dissimilar hosts

• Layers 4–7 (host layers) provide accurate data delivery between computers

• Layers 1–3 (media layers) control physical delivery of data over the network

Summary