Ch.2 The OSI Model
Ch.2 The OSI Model
Ch.2 The OSI Model
3
Internetworking Models
• In the late 1970s, the Open Systems Interconnection
(OSI) reference model was created by the
International Organization for Standardization (ISO)
to break through this barrier.
• The OSI model was meant to help vendors create
interoperable network devices and software in the
form of protocols so that different vendor networks
could work with each other.
• The OSI model is the primary architectural model for
networks. It describes how data and network
information are communicated from an application
on one computer through the network media to an
application on another computer. The OSI reference
model breaks this approach into layers.
4
Advantages of Reference
Models
Advantages of using the OSI layered model include, but
are not limited to, the following:
• It divides the network communication process into
smaller and simpler components, thus aiding
component development, design, and troubleshooting.
• It allows multiple-vendor development through
standardization of network components.
• It encourages industry standardization by defining
what functions occur at each layer of the model.
• It allows various types of network hardware and
software to communicate.
• It prevents changes in one layer from affecting other
layers, so it doesn’t hamper development and makes
application programming easier.
5
The OSI Model
6
OSI Layer Functions
• File, print, message, database, and application services
Application
• Dialog control
Session
• End-to-end connection
Transport
• Routing
Network
• Framing
Data Link
• Physical topology
Physical
7
The Upper Layers
• Provides a user interface
Application
• Presents data
Presentation • Handles processing such as encryption
Transport
Network
Data Link
Physical
8
The Lower Layers
Application
Presentation
Session
9
Reliability
Reliable data transport employs a connection-oriented
communications session between systems, and the
protocols involved ensure that the following will be
achieved:
• The segments delivered are acknowledged back to
the sender upon their reception.
• Any segments not acknowledged are retransmitted.
• Segments are sequenced back into their proper
order upon arrival at their destination.
• A manageable data flow is maintained in order to
avoid congestion, overloading, and data loss.
10
A Connection Oriented
Session
Sender Receiver
SYN
SYN/ACK
ACK
Connection Established
Data transfer
(Send bytes of Segments)
11
Flow Control
Sender Receiver
Transmit
Buffer full
No ready –
STOP!
Segments
processed
GO!
Transmit
12
Windowing Flow Control
Sender Receiver
Window size of 1
Send 1 Receive 1
Ack 1
Send 2 Receive 2
Ack 2
Window size of 3
Send 1
Send 2
Send 3
Ack 4
Send 4
13
Acknowledgements
Sender Receiver
1 2 3 4 5 6 1 2 3 4 5 6
Send 1
Send 2
Send 3
Ack 4
Send 4
Send 6
Ack 5
Send 5
Ack 7
14
Routing at Layer 3
3.0
1.0
3.1
1.1
2.1 2.2
1.3 3.3
E0 E0
S0 S0
3.2
1.2
1 E0 0 1 S0 1
2 S0 0 2 S0 0
3 S0 1 3 E0 0
15
Routers at Layer 3
Internet
FastEthernet0/0
Serial0
WAN Services
FastEthernet0/1
16
Data Link Layer (Layer 2)
17
Data Encapsulation
PDU
Application
Presentation
Upper layer data
Session
TCP Header Upper layer data Segment Transport
18
Summary
• Summary
• Exam Essentials Section
• Written Labs
• Review Questions
19