What Is Network Virtualization
What Is Network Virtualization
It accepts the services from the data link layer and supports the services to the
transport layer.
Functions of network layer
The functions of the network layer are explained below −
Internetworking: This is the main responsibility of the network layer. It offers a
logical connection between multiple types of networks.
Addressing: Addressing is important to recognize each device on the internet
specifically.
Routing: There are several roots possible from a source to a destination, and
one of them is to be selected. Routing algorithms are created to discover the
most efficient paths between the source and destination hub of a message.
Packetizing: It divides the more outstanding packets into lower packets, if the
packet is greater than the most extensive data from the data link layer. This is
known as packetizing.
Data Switching: The procedure of changing packet (data blocks) from source to
the destination hub is known as data switching.
Congestion Control: Congestion in a network can appear when the network's
pack. There are several packets sent to the network, which is higher than their
capacity.
What is a presentation layer?
The presentation layer changes the data from an application layer into the device
native internal mathematical structure and encodes communicated information into a
displayable output format.
It executes the code changes, document compressions, security encryption, etc. It also
defines the data as per the software/hardware environment of the hub. For instance,
demonstrating UNIX structured data in windows.
The link between the presentation layer and the application and session layer has been
shown in the diagram below −
It is concerned with the syntax of data.
Translation
The procedure in two frameworks are generally to exchange the data in the form of
character strings, numbers etc. The data must be exchanged into a bitstream before
being transmitted.
Encryption
To carry any sensitive data, the presentation layer encrypts the data at the sender's
end and decrypts at the receiver's end.
Compression
Compression means the reduction of bits. It is required in the case of multiline text,
audio and video.
Multiplexing
Multiplexing is the process of collecting the data from multiple application processes of
the sender, enveloping that data with headers and sending them as a whole to the
intended receiver.
Demultiplexing
Delivering the received segments at the receiver side to the correct app layer
processes is called demultiplexing.
The destination host receives the IP datagrams; each datagram has a source IP
address and a destination IP address.
Each datagram carries 1 transport layer segment.
Each segment has the source and destination port number.
The destination host uses the IP addresses and port numbers to direct the
segment to the appropriate socket.
Multiplexing and demultiplexing are just concepts that describe the process of the
transmission of data generated by different applications simultaneously. When the data
arrives at the Transport layer, each data segment is independently processed and sent
to its appropriate application in the destination machine.
The above figure shows that the source computer is using Google, Outlook, and
Chat applications at the same time.
All the data is forwarded to a destination computer.
Each application has a segment put on a wire to be transmitted. It signifies that all
applications are running simultaneously.
Without multiplexing/demultiplexing exists, a user can use only one application at
a time because only the segments of that application are put on the wire and
transmitted. For clarification, see the figure below −
In the above figure, the Application layer has generated data, and then passed it down
to the Transport layer to be segmented.
After segmenting the data, port numbers are given to each segment to be ready
for transmission.
Then the segments are put on a wire to travel across the network to the
destination. This process is called "multiplexing".
When the transmitted segments reach the Transport layer of the destination, they
are automatically sent up to their appropriate applications. This process is called
"demultiplexing".
What are the services provided by the transport layer?
The services provided by the transport layer are explained below −
Address Mapping
It means mapping of transport address onto the network address. Whenever a session
entity requests to send a transport service data unit (TSDU) to another session entity, it
sends its transport service access point address as its identification. The transport
entity then determines the network service access point (NSAP) address. This is known
as address mapping.
Data Transfer
The transport layer provides the data transfer of two types, such as the regular data
transfer and expedited data transfer. In normal data transfer, the user can request to
transfer user data with any integral number of octets.
This transfer is transparent, i.e., user data boundaries are preserved during the
transfer, and there are no constraints on the content and number of octets. The mode
of data transfer can be two ways simultaneously. The expedited data transfer has a
distinct control flow, and it can pass all the data queue with maximum priority for
delivery. It is a user optional or optional provider service. The number of user data
octets is restricted to 16.
Segmentation and Concatenation of TPDUs
The transport entity divides the transport service data unit into several transport
protocol data units, each with a separate header containing a PCI (Protocol Control
Identifier). This function is known as segments.
This segmenting function is used when the network service cannot support the
transport protocol data unit's size containing an unsegmented TSDU. A reassembly
process is performed at the transmitting end for such TPDUs.
Error Recovery
The errors at this level can be introduced due to TPDU errors, protocol errors or signal
failure conditions of network connections, i.e., reset or release of network connections.
Such errors occurring at layer 3 are reported to the transport layer. The TPDU errors
can be in the form of lost TPDU, duplicated TPDU, re-ordering of sequence, or content
errors.
The duplicate TPDUs are discarded, lost are acknowledged to resend. In the recording,
they are re-sequenced, and content errors are detected by incorporating error detection
bytes in TPDUs by the transport entity.
Such TPDUs with content errors are discarded and treated as lost, and hence they are
also acknowledged. In the case of protocol errors, the connection is released, and in
the case of signal failure errors, reassignment of network connection and
resynchronization is done.
Sequence Numbering
Each TPDU is given a sequence number by a transport entity that is seven bits long in
the normal operations mode. This sequence numbering is done to provide flow control
and error recovery. In the case of extended mode, the sequence number can be 31 bits
long.