Sunteți pe pagina 1din 36

Module 2

OSI Reference Model

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


Agenda

2.1 The Layered Model


2.2 Layers 1 and 2: Physical and
Data Link Layers
2.3 Layer 3: Network Layer
2.4 Layers 47: Transport,
Session, Presentation,
and Application Layers

CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-2
The Layered Model

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


Devices Function at Layers

7 Application
6 Presentation
NIC Card
5 Session
Routers
4 Transport
3 Network Bridges and Switches
2 Data Link
1 Physical
Hub

NIC = Network Interface Card


CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-4
Layer Functions

7 Application Provides network services to


application processes

CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-5
Layer Functions

7 Application Network services to applications

6 Presentation Data representation


Ensures data is readable by
receiving system
Format of data
Data structures
Negotiates data transfer
syntax for application layer

CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-6
Layer Functions

7 Application Network services to applications

6 Presentation Data representation

5 Session Inter-host communication


Establishes, manages, and
terminates sessions between
applications

CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-7
Layer Functions

7 Application Network services to applications

6 Presentation Data representation

5 Session Inter-host communication

4 Transport 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

CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-8
Layer Functions

7 Application Network services to applications

6 Presentation Data representation

5 Session Inter-host communication

4 Transport End-to-end connection reliability


3 Network Addresses and best path
Provides connectivity and path
selection between two end
systems
Domain of routing

CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-9
Layer Functions
7 Application Network services to applications

6 Presentation Data representation

5 Session Inter-host communication

4 Transport End-to-end connection reliability


3 Network Addresses and best path

2 Data Link Access to media


Provides reliable transfer of data
across media
Physical addressing, network
topology, error notification, flow
control
CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-10
Layer Functions
7 Application Network services to applications

6 Presentation Data representation

5 Session Inter-host communication

4 Transport End-to-end connection reliability


3 Network Addresses and best path

2 Data Link Access to media


1 Physical Binary transmission
Wires, connectors, voltages,
data rates
CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-11
Peer-to-Peer Communications

Host A Host B
7 Application Application

6 Presentation Presentation

5 Session Session
Segments
4 Transport Transport
Packets
3 Network Network
Frames
2 Data Link Data Link
Bits
1 Physical Physical

CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-12
Data Encapsulation
Host A Host B

} {
Application Application

Presentation Data Presentation

Session Session

Transport Transport

Network Network

Data Link Data Link

Physical Physical
CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-13
Data Encapsulation
Host A Host B

} {
Application Application

Presentation Data Presentation

Session Session

Transport Transport
Network Data
Network Header Network

Data Link Data Link

Physical Physical
CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-14
Data Encapsulation
Host A Host B

} {
Application Application

Presentation Data Presentation

Session Session

Transport Transport
Network Data
Network Header Network
Frame Network Data Frame
Data Link Data Link
Header Header Trailer

Physical Physical
CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-15
Data Encapsulation
Host A Host B

} {
Application Application

Presentation Data Presentation

Session Session

Transport Transport
Network Data
Network Header Network
Frame Network Data Frame
Data Link Data Link
Header Header Trailer

Physical 0101101010110001 Physical


CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-16
TCP/IP Protocol Stack vs. OSI
Model
TCP/IP Protocol Stack OSI Model
Application
Application
Application Presentation Layers
Protocols
Session

Transport Transport

Internet Network
Data Flow
Layers
Networks Data Link
Network
Access
Physical

TCP / IP = Transmission Control Protocol / Internet Protocol


CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-17
Layers 1 and 2
Physical and Data Link
Layers

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


Physical and Logical Addressing

Logical Address
Layer 3, not fixed
0000.0c12.3456
MAC Address

MAC = Media Access Control

CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-19
MAC Address
24 bits 24 bits

Vendor Code Serial Number


0000.0c12. 3456
ROM
RAM

MAC address is burned into ROM on a network interface card


Also called Burnt in Address (BIA) ROM = Read Only Memory
RAM = Random Access Memory
CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-20
Layer 3
Network Layer

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


Network Layer: Path Determination

Which
Which Path?
Path?

Layer 3 functions to find the best


path through the internetwork

CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-22
Network Layer: Communicate Path

5
2 9
6 8
4
10 11
1 3
7

Addresses represent the path of media


connections
Routing helps restrain broadcasts
CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-23
AddressingNetwork and Node

Network Node

1 1 2.1
2
3 1.2
2 1 1.3 1.1 3.1

3 1

Network addressPath part used by the router


Node addressSpecific port or device on the network

CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-24
Network Layer
Protocol Operations
X Y
C
C

A
A

Each router provides its services to support upper layer


functions

CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-25
Network Layer
Protocol Operations
X Y
C
C

A
A

B
B
Host X Host Y
Application Application
Presentation Presentation
Session Router A Router B Router C Session
Transport Transport
Network Network Network Network Network
Data Link Data Link Data Link Data Link Data Link
Physical Physical Physical Physical Physical

Each router provides its services to


support upper layer functions
www.cisco.com
CSE: Networking FundamentalsOSI Model 1999, Cisco Systems, Inc. 2-26
Layers 47
Transport, Session,
Presentation and
Application Layers
1999, Cisco Systems, Inc. www.cisco.com 1999, Cisco Systems, Inc.
Transport Layer

Segments upper-layer applications


Establishes an end-to-end connection
Sends segments from one end host to another
Optionally, ensures data reliability

CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-28
Transport Layer
Segments Upper-Layer Applications

Application Electronic File Terminal


Presentation Mail Transfer Session

Session

Transport Application Application


Data Data
Port Port

Segments

CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-29
Transport Layer
Establishes Connection

Sender Receiver
Synchronize
Negotiate Connection
Synchronize
Acknowledge

Connection Established
Data Transfer
(Send Segments)

CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-30
Transport Layer
Sends Segments with Flow Control

Transmit
Sender Receiver

Buffer Full
Not Ready
Stop
Process
Segments

Go Ready
Buffer OK

Resume Transmission

CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-31
Transport to Network Layer

End-to-End Segments

Routed Packets

CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-32
Session Layer

Network File System (NFS)


Structured Query Language (SQL)
Remote-Procedure Call (RPC)
X Window System
AppleTalk Session Protocol (ASP)
DEC Session Control Protocol (SCP)

Service Request

Service Reply

Coordinates applications as
they interact on different hosts DEC = Digital Equipment Corporation

CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-33
Presentation Layer

Text Graphics
Data Visual images
ASCII PICT
login:
EBCDIC TIFF
Encrypted JPEG
Sound GIF
MIDI
Video
MPEG
QuickTime

ASCII = American Standard Code for Information Interchange TIFF = Tagged Image File Format
EBCDIC = Extended Binary Coded Decimal Interchange Code JPEG = Joint Photographic Experts Group
MIDI = Musical Instrument Digital Interface GIF = Graphic Interchange Format
MPEG = Moving Picture Experts Group

Provides code formatting and


conversion for applications

CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-34
Application Layer
COMPUTER
APPLICATIONS NETWORK
Word Processor APPLICATIONS INTERNETWORK
Presentation Graphics Electronic Mail APPLICATIONS
File Transfer Electronic Data Interchange
Spreadsheet
Remote Access World Wide Web
Database
Client-Server Process E-Mail Gateways
Design/Manufacturing
Information Location Special-Interest Bulletin Boards
Project Planning
Network Management Financial Transaction Services
Others
Others Internet Navigation Utilities
Conferencing (Voice, Video, Data)
Internetwork applications
can extend beyond the Others
enterprise

CSE: Networking FundamentalsOSI Model www.cisco.com 1999, Cisco Systems, Inc. 2-35
Presentation_ID 1999, Cisco Systems, Inc. www.cisco.com 36

S-ar putea să vă placă și