In networks, the study of a network and working on a live network are two different things. Studying a network needs more detail whereas working on a network is relatively simple. Working is simpler than study because we work after we have studied that network.
Layered approach is a methodology to explain or see the working of a network. When we differentiate this approach, we find one that is best to study the network while another that is best to work on a network.
These two approaches are:
OSI stands for Open System Interconnection. It is an abstract model comprising of seven discreet layers that collectively show how a network works. The entire storyline that starts from composing the data on source machine and ends at arrival of that data on destination machine is differentiated among these layers.
The layers in OSI are:
This layer is responsible for composing or constructing data that has to be sent. On receiver’s end it works for the proper arrival of data and the appropriate usage for the user.
On source, this layer implements protocols for compressing and encrypting the data. Similarly on destination, it implements protocols for decompression and decryption.
On source this layer designs a session that must be followed for timely delivery of the data. On destination, it checks whether the data arrives within the allowed session or not.
Transport layer performs three important functions which are as follows:
On source, it defines route for every packet whereas on destination, it checks whether the packet has followed the assigned route or not. This route definition is in consequence to the protocol running on transport layer (TCP or UDP).
This layer is the busiest layer in OSI model. It implements the following functionalities:
This layer works for the most fundamental workout. On source, it modulates the signal whereas on destination, it demodulates it. Modulation refers to the boarding of data on to the signal and demodulation means to landing the data from signal.
TCP/IP layers are also known as DoD (Department of Defense) layers. Since these layers were proposed by the Dept. of Defense of US Govt., these layers are standardized by the same name.
Unlike of OSI, TCP/IP layers comprise the following four layers only:
Here, Physical Layer consists of both the Physical and Data Link Layers of OSI.
Internet Layer is the whole Network Layer of OSI.
Host to Host layer is the whole Transport Layer.
Application Layer consists of all three top layers of OSI i.e. Session, Presentation and Application Layers.