reference model 1,2,3,4&5
reference model 1,2,3,4&5
.
Cont.
Physical Layer
The Physical layer is responsible for the following activities:
• The physical layer coordinates the functions required to
carry a bit stream over a physical medium.
• It deals with the mechanical and electrical specifications of
the interface and transmission medium.
• It also defines the procedures and functions that physical
devices and interfaces have to perform for transmission to
occur.
Cont.
Network Layer
• The network layer is responsible for the source-to-
destination delivery of a packet, possibly across multiple
networks (links).
• Whereas the data link layer oversees the delivery of the
packet between two systems on the same network (links).
• the network layer ensures that each packet gets from its
point of origin to its final destination.
• If two systems are connected to the same link, there is
usually no need for a network layer.
• However, if the two systems are attached to different
networks (links) with connecting devices between the
networks (links), there is often a need for the network layer
to accomplish source-to-destination delivery.
Cont.
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.
Whereas the network layer oversees source to-destination
delivery of individual packets, it does not recognize any
relationship between those packets.
• It treats each one independently, as though each piece
belonged to a separate message, whether or not it does.
• The transport layer, on the other hand, ensures that the
whole message arrives intact and in order, overseeing both
error control and flow control at the sourceto-destination
level.
Cont.
• Error control: Like the data link layer, the transport layer
is responsible for error control. However, error control at
this layer is performed process-to-process rather than
across a single link.
• The sending transport layer makes sure that the entire
message arrives at the receiving transport layer without
error (damage, loss, or duplication). Error correction is
usually achieved through retransmission.
Cont.
• Session Layer
• The services provided by the first three layers (physical,
data link, and network) are not sufficient for some
processes.
• The session layer is the network dialog controller. It
establishes, maintains, and synchronizes the interaction
among communicating systems.
• Specific responsibilities of the session layer include the
following:
Cont.
Presentation Layer
• The presentation layer is concerned with the syntax and
semantics of the information exchanged between two
systems.
• Specific responsibilities of the presentation layer include
the following:
• Translation: The processes (running programs) in two
systems are usually exchanging information in the form of
character strings, numbers, and so on.
• The information must be changed to bit streams before
being transmitted. Because different computers use
different encoding systems, the presentation layer is
responsible for interoperability between these different
encoding methods.
Cont.
Application Layer
• 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.
• Specific services provided by the application layer include
the following:
• Network virtual terminal: A network virtual terminal is a
software version of a physical terminal, and it allows a user
to log on to a remote host.
Cont.
.
Cont.
Host-to-Network Layer:
• The TCP/IP reference model does not really say much
about what happens here, except to point out that the host
has to connect to the network using some protocol so it can
send IP packets to it.
• This protocol is not defined and varies from host to host
and network to network.
Cont.
Internet Layer:
• Its job is to permit hosts to inject packets into any network
and have they travel independently to the destination
(potentially on a different network).
• They may even arrive in a different order than they were
sent, in which case it is the job of higher layers to rearrange
them, if in-order delivery is desired.
• The internet layer defines an official packet format and
protocol called IP (Internet Protocol).
• The job of the internet layer is to deliver IP packets where
they are supposed to go. Packet routing is clearly the major
issue here, as is avoiding congestion.
Cont.