Network Layer in OSI Model
This article will help you in getting a good understanding of the Network Layer in the OSI model.
The network layer is the third layer of the OSI Model from the bottom. The network layer is mainly responsible for controlling of delivery of data from source to destination via multiple nodes.
The network layer consists of various networking protocols for sending data(in the form of packets) from one network to another network. A few networking protocols are Internet Protocol(IP)(IPv4, IPv6), User Datagram Protocol(UDP), File Transfer Protocol(FTP), Hyper Text Transfer Protocol(HTTP), etc.
The information/data(data packets) which is routed from source to destination contain the source address and the host address of the receiver. If we speak non-technically the network layer finds out the shortest and easier path between source and destination with the help of various routing, and switching techniques. It utilizes subnetting designs and logical network addressing for transferring the data packets from source to destination.
The function of this layer is only to route the data packets from source to destination whether the source and destination may present in different networks and use different protocols. This routing can be achieved with the help of logical IP addressing and routers.
The IP address is a 32-bit numerical value that is used to uniquely identify a device in a network. It consists of 2 components they are network and host address. The network part determines the type of network assigned to the data and the host part is helpful in uniquely identifying the device in the network. It generally represented in a dotted-decimal format.
A router is a network device that receives, analyses, and routes the data packets to the destination. Routers are used in LAN(Local Area Network) and WAN (Wide Area Network)networks. It uses various routing protocols for sending the data across various networks.
Functionality of Network Layer
To maintain the connection between different networks the network layer is used. It helps the networks to be connected.
We can transfer the data using either the connection-oriented way or the wireless way. The network layer can only transfer the data using either one of these two ways. It is also helpful during the movement of data bits between network parts or segments.
As we all know network layer is said to be situated in between the transport layer and data link layer, it is used to transfer the data from transport to data link layer. Whenever, there is a necessity of data to be transferred the network layer is said to be receiving the data from the transport layer. The data which is received is sent in a bulk form which means the data has no divisions instead all the data is sent as a single pack.
To separate the data into segments and send it further to the network layer is the only solution to be existing. The network layer not only transports the data but also divides the whole data among different segments and seals them into different packets and then formulates the sets or frames of data to the forwarding layer which is the data link layer.
The network layer is said to be even dictating the path for the data to be transferred. It determines the data to traverse through a particular physical path. Such a decision is taken by the network layer only when there are multiple paths for the data to be transferred.
The functions of the network layer can be classified into three various types. The first functionality is named to be addressed. It addresses different sets of data with a unique number to identify wherever it may be present in the whole set of data or not.
Further functionality can be entitled as internetworking which is said to be one of the vital tasks and responsibilities of the network layer. Internetworking is nothing more of a complicated task instead it is the process of arranging the connection between the networks.
And, the third functionality is routing where the network layer optimizes a best route among different routes for the data to get transferred. To discuss the next functionality there is a need to be gaining an idea of a special term which is known as Internet Protocol. It is a layer named network layer protocol. It helps the network layer to perform a functionality known as packetizing. In packetizing, the received packets or frames of data from the upper layer are summed up and made into new frames of data.