Applc TRNSPT NW LAyers
Applc TRNSPT NW LAyers
Applc TRNSPT NW LAyers
Dr.B.H.K
Application Layer
Dr.B.H.K
Application Layer
Dr.B.H.K
Presentation layer
Dr.B.H.K
The Session Layer
Dr.B.H.K
Functionalities of the Application layer
3) Addressing: To achieve communication between client and
server system, there is a need for addressing. When a request
is sent from the client side to the server side, this request
contains the server address and its own address.
The server answered to the client request, this request
contains the destination address, i.e., client address. DNS is
used to achieve this type of addressing.
4) Mail Services: Email forwarding and storage of e-mails
provided by an application layer.
5) Directory Services: A distributed database is contained by
an application that provides access for global information
about various objects and services.
6) Authentication: It provides authentication to occur
between devices for an extra layer of security and it
authenticates the sender or receiver's message or both.
Dr.B.H.K
TCP/IP Application Layer Protocols
• The most widely known TCP/IP application layer protocols are those
that provide the exchange of user information.
• These protocols specify the format and control information
necessary for many of the common Internet communication
functions.
• Among these TCP/IP protocols are the following:
• Domain Name System (DNS) is used to resolve Internet names to IP
addresses.
• Hypertext Transfer Protocol (HTTP) is used to transfer files that
make up the web pages of the World Wide Web.
• Simple Mail Transfer Protocol (SMTP) is used for the transfer of
mail messages and attachments.
• Telnet, a terminal emulation protocol, is used to provide remote
access to servers and networking devices.
• File Transfer Protocol (FTP) is used for interactive file transfer
between systems.
Dr.B.H.K
OSI-Transport Layer
Dr.B.H.K
OSI and TCP/IP Model
Dr.B.H.K
OSI-Transport Layer
Services Provided to the Upper Layers:
• The ultimate goal of the transport layer is to provide
efficient, reliable, and cost-effective data transmission
service to its users, normally processes in the
application layer.
• To achieve this, the transport layer makes use of the
services provided by the network layer.
• The software and/or hardware within the transport
layer that does the work is called the transport entity.
• The transport entity can be located in the operating
system kernel, in a library package bound into network
applications, in a separate user process, or even on the
network interface card.
Dr.B.H.K
OSI-Transport Layer
The (logical) relationship of the network, transport, and
application layers is illustrated in the figure.
Dr.B.H.K
OSI-Transport Layer
• There are two types of transport service. The connection-
oriented transport service and connectionless transport
service.
• The connection-oriented transport service is similar to
connection oriented net work. In both cases, connections
have three phases: establishment, data transfer, and release.
Addressing and flow control are also similar in both layers.
• Furthermore, the connectionless transport service is also very
similar to the connectionless network service.
• However, note that it can be difficult to provide a
connectionless transport service on top of a connection-
oriented network service,
• since it is inefficient to set up a connection to send a single
packet and then tear it down immediately afterwards.
Dr.B.H.K
OSI-Transport Layer
Role of the Transport layer:
• Encapsulating application data for use by the
Network layer
• Enables multiple applications to communicate over
the network at the same time on a single device
• Ensures that, if required, all the data is received
reliably and in order by the correct application
• Employs error handling mechanisms
Dr.B.H.K
OSI-Transport Layer
Responsibilities :
• Tracking the individual communication between
applications on the source and destination hosts
(Establishing a Session )
• Segmenting data and managing each piece
• Reassembling the segments into streams of
application data
• Identifying the different applications (Port Number)
Dr.B.H.K
OSI-Transport Layer
TCP/IP Transport layer protocols : The two most
common Transport layer protocols of TCP/IP protocol
suite are
• Transmission Control Protocol (TCP) and
• User Datagram Protocol (UDP).
• Both protocols manage the communication of
multiple applications.
Dr.B.H.K
OSI-Transport Layer
Basic characteristics of the UDP and TCP protocol:
Dr.B.H.K
OSI-Transport Layer
UDP :
• UDP is a simple, connectionless protocol
• low overhead data delivery.
• datagrams are sent as "best effort" by this Transport
layer protocol.
Applications that use UDP include:
• Domain Name System (DNS)
• Video Streaming
• Voice over IP (VoIP)
Dr.B.H.K
OSI-Transport Layer
• Transmission Control Protocol (TCP)
• Connection-oriented protocol,
• Overhead Flow control is the management of data between
Devices in a network. It is used to avoid too much
• Flow control data arriving before a device can handle it, causing
data overflow.
Dr.B.H.K
OSI Reference Model: 7 Layers
Dr.B.H.K
OSI: Network Layer
• The main aim of this layer is to deliver packets from source
to destination across multiple links (networks).
• The network layer is concerned with getting packets from
the source all the way to the destination.
• Implements routing of frames (packets) through the
network.
• Defines the most optimum path the packet should take
from the source to the destination
• Defines logical addressing so that any endpoint can be
identified.
• Handles congestion in the network.
• Facilitates interconnection between heterogeneous
networks (Internetworking).
• The network layer also defines how to fragment a packet
into smaller packets to accommodate different media.
Dr.B.H.K
OSI: Network Layer
Functions of Network Layer:
• It translates logical network address into physical
address. Concerned with circuit, message or
packet switching.
• Routers and gateways operate in the network
layer. Mechanism is provided by Network Layer
for routing the packets to final destination.
• Connection services are provided including
network layer flow control, network layer error
control and packet sequence control.
• Breaks larger packets into small packets.
Dr.B.H.K
OSI: Network Layer
Dr.B.H.K
OSI: Network Layer
Design Issues with Network Layer:
• A key design issue is determining how packets are
routed from source to destination. Routes can be
based on static tables that are wired into the network
and rarely changed. They can also be highly dynamic,
being determined anew for each packet, to reflect the
current network load.
• If too many packets are present in the subnet at the
same time, they will get into one another's way,
forming bottlenecks. The control of such
congestion also belongs to the network layer.
• Moreover, the quality of service provided(delay,
transmit time, etc) is also a network layer issue.
Dr.B.H.K
OSI: Network Layer
Design Issues with Network Layer:
• When a packet has to travel from one network to
another to get to its destination, many problems
can arise such as:
– The addressing used by the second network may be
different from the first one.
– The second one may not accept the packet at all
because it is too large.
– The protocols may differ, and so on.
• It is up to the network layer to overcome all these
problems to allow heterogeneous networks to be
interconnected.
Dr.B.H.K
Network Layer Protocols