Professional Documents
Culture Documents
University of Technology
Department of Electrical Engineering
Division Electronic Engineering
Computer Networks
Lecture 2-1
Network Models
The overall view of the OSI layers is shown In Figure(3). Fig (3)
The data link layer is responsible for delivering data units (groups of bits) from
one station to the next without errors. It accepts a data unit from the third layer
and adds meaningful bits to the beginning (header) and end (trailer) that contain
addresses and of control information. A data unit with this additional information
called a Frame
Fig (6)
Network Models Dr. Khalida Sh. Rijab 12
2. Data Link layer:
Example
assume a node with physical address 10 sends a frame to nodes with physical
address 87. The two nodes are connected by a link. At the data link level this
frame contains physical address in the header contains other information
needed bits for error control, as shown in fig. (7).
Fig (7)
Network Models Dr. Khalida Sh. Rijab 13
3. Network layer:
Fig (8)
Network Models Dr. Khalida Sh. Rijab 14
3. Network layer:
To make such end-to-end delivery possible, the network layer provides two related
services: switching and routing.
Routing and switching require the addition of a header that includes, among other,
information, the source and destination addresses of the packet. These addresses
are different from the physical(node) addresses included in the data link header; it
is known as a logical address.
Fig (9)
Network Models Dr. Khalida Sh. Rijab 17
4. Transport Layer
The transport layer is responsible for process-to-process delivery of the entire
message.
A process is an application program running on a host. The transport layer ensure
that the whole message arrives computer without intact and in order overseeing
both error control and flow control at the process to process level
Fig (10)
Network Models Dr. Khalida Sh. Rijab 18
4. Transport Layer
Port addressing: Computers often run several programs (running program) at the
same time. For this reason, process to process delivery means delivery not only
from one computer to the next but also from a specific process on one computer to
a specific process on the other. The transport layer header must therefore include a
type of address called service-point address (port address).
Network layer gets each packet to the correct computer; the transport layer gets
the entire message to the correct process on that computer.
Fig (12)
Network Models Dr. Khalida Sh. Rijab 21
5. Session layer
Specific responsibilities of the session layer include the following:
The session layer allows two systems to enter into a dialog. It allows the
communication between two processes to take place (either half duplex or full
duplex)
Synchronization. The session layer allows a process to add checkpoints, or
synchronization, to a stream of data.
Example:
if a system is sending a file of 2000 pages, it is advisable to insert checkpoints after
every 100 pages to ensure that each 100-page unit is received and acknowledged
independently. In this case, if a crash happens during the transmission of page 523,
the only pages that need to be resent after system recovery are pages 501 to 523.
Pages previous to 501 need not be resent.
Fig (13)
The application layer enables the user, whether human or software, to access
the network. It provides user interfaces and support for services such as
electronic mail, remote file access and transfer, shared database management,
and other types of distributed information services.
XAOO (message-handling services), X.500 (directory services),
and file transfer,
access, and management (FTAM). The user in this example
employs XAOO to send an
e-mail message layer is responsible
The application
for providing services to the user.
Fig (14)
Fig (6)