Introduction To 7 Layer OSI Model
Introduction To 7 Layer OSI Model
CS4390
Network Architecture
How should we go about building the network
that will realize our wish-list of requirements?
Many requirements, including general, reliable,
secure, efficient, fair, high performance
Connectivity among a large number of computers
Technology and application demands constantly
changing
Hardware is heterogeneous
History
Rapid growth of computer networks caused compatibility
problems
ISO recognized the problem and released the OSI model in
1984
OSI stands for Open Systems Interconnection and consists
of 7 Layers
The use of layers is designed to reduce complexity and
make standardization easier
Layered structure makes a complex system easy to
Construct, understand, and manage
Application programs
Process-to-process channels
Application programs
Request/reply Message stream
channel
channel
Host-to-host connectivity
Host-to-host connectivity
Hardware
Hardware
4
Responsible For:
4.) Transport
3.) Network
1.) Physical
Examples
Layer
Example
4.) Transport
3.) Network
1.) Physical
router
Ethernet h
Layering Concepts
Encapsulation
Each highest layer protocol creates messages and sends them
via its lower layer protocol.
These messages are treated as data by the lower level
protocols
Each protocol adds its own control information in the form of
headers or trailers
Message
header
data
trailer
Encapsulation
Data exists at each layer contained within a
unit called a Protocol Data Unit (PDU).
The process by which data moves between
PDU types is called Encapsulation
PDU move through interfaces between
layers using Service Access Points (SAP)
PDU Name
Data
Data
4.) Transport
Segment
3.) Network
Packet
Frame
1.) Physical
Bits
Physical
layer
Physical medium:
direct digital signals (e.g., Ethernet, optical fib
modulated signals (e.g., WiFi, 3G)
Note
The physical layer is responsible for movements of
individual bits from one hop (node) to the next.
PDU: Frames
Framing (frame is also called packet in Internet).
Physical addressing (MAC address)
Flow control
Constrain sender from overwhelming receiver
Error control
Adding error detection/correction bits
Detect error, correct error
Access control
Resolve how multiple nodes share the same data channel
Note
The data link layer is responsible for moving
frames from one hop (node) to the next.
2.
Example device:
Ethernet switch/hub
WiFi access point
PDU: Packet
End to end delivery of packets
Creates logical paths
Path determination (routing)
Hides the lower layers making things
hardware independent
Uses logical hierarchical addresses
Network layer
Note
The network layer is responsible for the
delivery of individual packets from
the source host to the destination host.
The two hosts can be many hops away
Source-to-destination delivery
Example device:
Routers
Transport layer
Note
The transport layer is responsible for the delivery
of a message from one process to another.
Sport:8050
Dport: 25
A
B
Sport:4625
Dport: 80
Transport Layer
35