Stamford 2
Stamford 2
Stamford 2
Communication
Chapter 2:Network Models
The OSI Model
Open Systems Interconnection (OSI).
Developed by the International Organization for
Standardization (ISO).
Model for understanding and developing computer-
to-computer communication architecture that is
flexible, robust and interoperable.
It is not a protocol.
Developed in the 1980s.
Divides network architecture into seven layers.
Dealing with Complex Systems:
explicit structure allows identification, relationship
of complex system’s pieces
layered reference model for discussion
modularization eases maintenance, updating of
system
change of implementation of layer’s service
transparent to rest of system
e.g., change in gate procedure doesn’t affect rest of
system
Introduction 1-3
• application: supporting network
applications application
– FTP, SMTP, HTTP
• transport: process-process data transfer transport
– TCP, UDP
• network: routing of datagrams from network
source to destination
– IP, routing protocols link
• link: data transfer between neighboring
network elements physical
– PPP, Ethernet
• physical: bits “on the wire”
Introduction 1-4
presentation: allow applications to
interpret meaning of data, e.g., Application
encryption, compression, machine-
Presentation
specific conventions
session: synchronization, session
checkpointing, recovery of data Transport
exchange
Network
Internet stack “missing” these layers!
these services, if needed, must be Data link
Introduction 1-5
OSI cont.
Each layer performs a subset of the required communication
functions
Each layer relies on the next lower layer to perform more
primitive functions
Each layer provides services to the next higher layer
Changes in one layer should not require changes in other
layers
Layer 1,2,3 are the network support layer, deals with the
physical aspects of moving data from one device to another.
Layer 5,6,7 are the user support layer, allow the
interoperability among unrelated software.
Layer 4 ensures that what the lower layer have transmitted
is in a form that the upper layers can use.
OSI layer
Application layer
Presentation layer
Session layer
Transport layer
Network layer
Data Link layer
Physical layer
OSI layer
Protocol Data Units (PDU)
At each layer, protocols are used to communicate
Control information is added to user data at each layer
For example, the transport layer may fragment user data
Each fragment has a transport header added
Destination Address
Sequence number
Error detection code
This creates a transport protocol data unit (TPDU)
An exchange using the OSI model
Layer 1,2,3
Application Application
Presentatio Presentatio
n
Session n
Session
Transport Transport
Network Network
Layer- Layer-
Data Link 3 3 Data Link
Physical Device Device Physical
Layer 2 and 3 addressing schemes needed and
layer 1 addressing scheme is not needed
Layer 1: Physical Layer
Responsible of:
Transmitting individual bits from one to the
next.
Physical characteristics of interface and media.
Representation of bits: a stream of bit(0s,1s),
Data rate.
Synchronize of bits
Line configuration
Physical topology
Transmission mode
Physical Layer cont.
Layer 2: Data Link layer
Responsible of:
Moving frames from one hop (node) to the next.
Framing: divided the stream of bits received from
the network layer manageable data units called
frames.
Physical address (MAC address).
Flow control.
Error control: added trailer to the end of frame.
Access control.
Hop to hop delivery
Data Link layer cont.
Telnet
SMTP Telnet HTTP SMTP HTTP
Summary
Application data stream