Professional Documents
Culture Documents
OSI Reference Model: © 1999, Cisco Systems, Inc
OSI Reference Model: © 1999, Cisco Systems, Inc
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-2
The Layered Model
L: Dutch Information
Ik hou for the
Remote
van Translator
konijnen
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-4
Layered Communication
Location A Location B
I like J’aime
Message
rabbits les lapins
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-5
Layered Communication
Location A Location B
Layers
I like J’aime
rabbits
Message
3 les lapins
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-6
Why a Layered Network Model?
7 Application
6 Presentation
NIC Card
5 Session
4 Transport
3 Network
2 Data Link
1 Physical
Hub
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-8
Host Layers
}
7 Application
6 Presentation Host layers: Provide
accurate data delivery between
5 Session
computers
4 Transport
3 Network
2 Data Link
1 Physical
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-9
Media Layers
}
7 Application
6 Presentation Host layers: Provide
5 Session accurate data delivery between
computers
4 Transport
}
3 Network
2 Data Link
Media layers: Control
physical delivery of messages
1 Physical over the network
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-10
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-11
Layer Functions
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-12
Layer Functions
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-13
Layer Functions
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-14
Layer Functions
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-16
Layer Functions
7 Application Network services to applications
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 Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-19
Data Encapsulation
Host A Host B
} {
Application Application
Session Session
Transport Transport
Network Network
Physical Physical
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-20
Data Encapsulation
Host A Host B
} {
Application Application
Session Session
Transport Transport
Network Data
Network Header Network
Physical Physical
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-21
Data Encapsulation
Host A Host B
} {
Application Application
Session Session
Transport Transport
Network Data
Network Header Network
Frame Network Data Frame
Data Link Data Link
Header Header Trailer
Physical Physical
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-22
Data Encapsulation
Host A Host B
} {
Application Application
Session Session
Transport Transport
Network Data
Network Header Network
Frame Network Data Frame
Data Link Data Link
Header Header Trailer
0000.0c12.3456
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-25
MAC Address
24 bits 24 bits
Which Path?
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-28
Network Layer: Communicate Path
5
2 9
6 8
4
10 11
1 3
7
Network Node
1 1 2.1
2
3 1.2
2 1 1.3 1.1 3.1
3 1
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-30
Protocol Addressing Variations
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-31
Network Layer
Protocol Operations
X Y
C
C
A
A
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
AppleTalk 100.110
VAX
• Routed protocol
used between
routers to direct
user traffic
Examples: IP, IPX,
Network Destination Exit Port
AppleTalk, DECnet Protocol Network to Use
Protocol Name 1.0 1.1
2.0 2.1
3.0 3.1
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-35
Routed Versus Routing Protocol
• Routed protocol
used between
routers to direct
user traffic
Examples: IP, IPX,
AppleTalk, DECnet
• Routing protocol
used only between
routers to maintain
routing tables
Examples: RIP, IGRP, OSPF
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-36
Static Versus Dynamic Routes
Static Route
Uses a protocol route that a network
administrator enters into the router
Dynamic Route
Uses a route that a network protocol
adjusts automatically for topology or
traffic changes
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-37
Static Route Example
Point-to-point or
A
A circuit-switched
connection
“Stub” network
• Fixed route to address reflects
administrator’s knowledge
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-38
Adapting to Topology Change
A
A B
B
D
D C
C
A
A B
B
X
D
D C
C
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-40
Adapting to Topology Change
A
A B
B
X
D
D C
C
Network 3 Network 2
Host 4
Host 5
Token
Network 1 E1 To0
Ring
E0
Routing Table
Destination Outgoing
Network Interface
1 E0
2 To0
3 E1
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-42
LAN-to-LAN Routing
From LAN to LAN
Network 3 Network 2
Host 4
Host 5
Token
Network 1 E1 To0
Ring
E0
Routing Table
Destination Outgoing
Network Interface
1 E0
2 To0
3 E1
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-43
LAN-to-WAN Routing
Data
A
A
To
WAN Frame
Relay
B
B
2.4
To
LAN
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-44
LAN-to-WAN Routing
Data
B
B
2.4
To
LAN
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-45
LAN-to-WAN Routing
Data
Data
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-46
Layers 4–7:
Transport, Session,
Presentation, and
Application Layers
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-48
Transport Layer—
Segments Upper-Layer Applications
Session
Segments
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-49
Transport Layer—
Establishes Connection
Sender Receiver
Synchronize
Negotiate Connection
Synchronize
Acknowledge
Connection Established
Data Transfer
(Send Segments)
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-50
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 Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-51
Transport Layer—
Reliability with Windowing
• Window Size = 1
Send 1 Receive 1
Ack 2
Sender Send 2 Receive 2 Receiver
Ack 3
• Window Size = 3
Send 1 Receive 1
Send 2 Receive 2
Sender
Send 3 Receive 3 Receiver
Ack 4
Send 4
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-52
Transport Layer—
An Acknowledgement Technique
Sender Receiver
1 2 3 4 5 6 7 1 2 3 4 5 6 7
Send 1
Send 2
Send 3
Ack 4
Send 4
Send 5
Send 6
Ack 5
Send 5
Ack 7
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-53
Transport to Network Layer
End-to-End Segments
Routed Packets
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-54
Session Layer
Service Request
Service Reply
• Coordinates applications as
they interact on different hosts
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-55
Presentation Layer
• Text • Graphics
• Data • Visual images
ASCII PICT
login:
EBCDIC TIFF
Encrypted JPEG
• Sound GIF
MIDI
• Video
MPEG
QuickTime
CSE: Networking Fundamentals—OSI Model www.cisco.com © 1999, Cisco Systems, Inc. 2-58
Presentation_ID © 1999, Cisco Systems, Inc. www.cisco.com 59