CSC1202 3 The OSI Reference Model - V2
CSC1202 3 The OSI Reference Model - V2
Protocol Suite
Outline:
1. Protocol Layers
2. OSI Model
3. TCP/IP Model
4. Addressing
OBJECTIVES
To discuss the OSI model and its layer architecture and
to show the interface between the layers.
Tobriefly discuss the functions of each layer in the OSI
model.
To introduce the TCP/IP protocol suite and compare its
layers with the ones in the OSI model.
To show the functionality of each layer in the TCP/IP
protocol with some examples.
To discuss the addressing mechanism used in some
layers of the TCP/IP protocol suite for the delivery of a
message from the source to the destination.
Assume Maria and Ann are neighbors with a lot of common ideas. However, Maria
speaks only Spanish, and Ann speaks only English.
Since both have learned the sign language in their childhood, they enjoy meeting in
a cafe a couple of days per week and exchange their ideas using signs.
Occasionally, they also use a bilingual dictionary. Communication is face to face and
Happens in one layer as shown in Figure.
Application
Presentation Application
Session
Transport
Transport
Network
Internet
Data Link
Network
Physical Access
A R1 R3 R4 B
Physical Physical
layer layer
Link 1 Link 3 Link 5 Link 6
Physical Physical
Link 1 Link 3 Link 5 Link 6
D2 H2
Frame
D2 ame
Fr
H2
D2 H2 D2 H2
Frame Frame
Makes sure that the data arrives without errors, in the proper sequence and
in a reliable condition.
Functions:
◦ Port addressing, The network layer gets each packet to the correct computer; the transport
layer gets the entire message to the correct process on that computer.
◦ Segmentation and reassembly: a message is divided into transmittable segments, each
having a sequence number
◦ Connection control: The transport layer can be either connectionless or connection-oriented.
◦ Flow control
◦ Error control
Physical Physical
D4 H4
Segment
D4 H4
Segment
Functions:
◦ Dialog control
It also makes sure the session is orderly, establishing which node transmits first, how long it
can transmit, and what to do in case of an error.
It performs name-recognition and other functions, such as security, that are needed to allow
two applications to communicate over the network.
◦ Synchronization
The session layer synchronizes user tasks by placing checkpoints in the data stream.
The checkpoints break the data into smaller groups for error detection. It allows information
of different streams, perhaps originating from different sources, to be properly combined or
synchronized.
An example application is web conferencing , in which the streams of audio and video must be synchronous
to avoid so-called lip synch problems. It ensures that the person displayed on screen is the current speaker.
presentation layer
The presentation layer is responsible for
translation, compression, and encryption.
Deals with the actual formatting of the
data.
◦ For example, data might be converted from
EBCDIC to ASCII formatting so that the
receiving node can understand it.
A B
Application Legend Source Destination D Data H Header Application
Transport Transport
R1 R3 R4
Network Network
Physical Physical
D5 D5
Message
D5 D5
Message
TCP/IP Protocol Suite 34
Note
Application
Application Spec. Address
Presentation Application
Session
Transport
Port Address Transport
Network
Logic Address Internet
Data Link
Physical Address Network
Physical
Access
Example 1: physical addresses
packet packet
discarded discarded
1 packet
87 10 Data accepted
87 10 Data
2 3
4
Physical
addresses
changed
95 66 A P Data 95 66 A P Data
33 99 A P Data
Physical
addresses
changed
A Sender Receiver P
Data Data
a j Data a j Data
A P a j Data A P a j Data
H2 A P a j Data H2 A P a j Data
Internet
753
A 16-bit port address represented as one single number