Professional Documents
Culture Documents
Lec 02 Network Models
Lec 02 Network Models
Computer Network 1
NUB
2020
1
Introduction
• The process of transmitting data through a
network involves many operations.
• Network designers put related networking
functions into separate groups called layers.
• Each layer defines a family of functions distinct
from those of the other layers.
• Each layer provides services to the layer above
it.
• In this part, we briefly describe the functions of
each layer in the OSI model.
2
OSI Model’s Seven Layers
• The Open Systems Interconnection (OSI) model was introduced
in late 1970s by the International Standards Organization (ISO)
to cover all aspects of network communications. The model
consists of 7 layers.
3
Interaction between layers
• Adjacent layers at the same host are connected by an
interface.
• The same layers at different hosts are communicating using
protocols.
4
Protocols
• To ensure that two hosts communicates together correctly,
rules for all aspects of communication must be specified:
— High-level details: e.g. address information, packet
size, packet number
— Low-level details: e.g. how data is represented in
electrical or radio signals, speed at which data is
transmitted
• A protocol is a set of rules that governs data communications.
• Computer networks are built upon several protocols.
• Protocols or standards are developed through the cooperation
of international committees such as: ISO – ANSI – IEEE.
5
Same Layers Interaction
• From the previous figure, we realize that a layer
n at device A is interacting with the same layer
n at device B.
• It is fundamental that this interaction be
independent of the operations or protocols used
in the layers above or below.
6
Different Layers Interaction
• Also, from the previous figure, we can realize the need
of each layer to interact with the layers above or below
it within the same device.
7
Encapsulation
• The interaction between one layer and the layer below it
is performed using ‘Encapsulation’.
• For example, when layer 6 receives data unit (D6) from
layer 7, it adds a header to it (H6). Both H6+D6 now
constitute the data unit in layer 6.
• The whole data unit at layer 6 is encapsulated in
another data unit at layer 5, and so on.
• The header contains important information for the
correct delivery of the data.
• At the receiving end, the process is reversed. This is
called decapsulation.
8
The Physical Layer (1)
• The physical layer is concerned with the
transmission of individual bits from one node
another over the physical medium.
9
The Physical Layer Specifies:
• Type of transmission medium and network connector
— copper wire,
— wireless,
— optical fiber
• Mode of transmission
— half or
— full-duplex
• How bits (0s and 1s) are converted into voltage signals.
• Bit rate (duration of each bit)
• Synchronization of bits between sender and receiver.
10
Data Link Layer (2)
• This layer is concerned with:
11
Data Link Layer, continued
— Flow control: when the Tx and Rx operate at
different speeds, the rate at which data is sent
should not exceed receiver’s processing
capability.
12
Network Layer (3)
• It is responsible for:
— Logical addressing: which is needed if a packet
is to pass the network (LAN) boundary.
14
Transport Layer (4)
• Isolates upper layers from any changes in Hardware
technology
• One main task of transport layer is to deliver the message to
the required application on the destination host.
— Note that the network layer only gets each packet to the
correct computer
• Another task is to divide the message into segments which
are numbered.
— These numbers enable reassembling the message
correctly upon arriving at the destination and to identify
and replace packets that were lost in transmission.
• Transport layer also provides error and flow control.
15
Layers 5, 6, and 7
• Session layer (5): responsible for establishing
connection between local and remote
application
17