While doing out activities with a software in a computer network, the computer network basically does some backend activities of the software or the service you are using. In this scenario Bob is the user where he will be accessing Amazon to help himself with a washing machine where he will be trying to access the product on the website hence some activities will take place in the back-end on the website which Bob doesn't know about.
So, for this case the OSI reference model comes to action about how Bob will get the desired washing machine.
- There are 7-layer models in the OSI model but for this example we will be try and understand how the mentioned protocols work (Application layer, Data link layer, Network layer and the transport layer).
Application layer
- At this layer, both the end-sur and the application layer tend to interact directly with the software application or the service that is available at the moment.
- In this layer, it sees and scans the network services that have been provided to the end-user application e.g. web browser or the MS office 365
- The Application also takes note of communication partners, resource availability and later synchronizes the communication.
- At this point Bob is only aware of the end software/service which he will interact with.
- When all the process is done in the back-end he will only see the information in the application layer.
Data Link Layer
- Right in this layer, directly connected nodes are used to perform node-to-node data transfer where data is packaged into what is called frames.
- The data link layer tends to correct errors that may have taken place in the physical layer.
- The data link layer also encompasses 2 sub-layers of its own. 1st. is the media access control (MAC) that provides flow control and multiplexing for device transmissions over a network.
- Second is the logical link control (LLC) that provides flow and error control over the physical medium but also identifies the line protocols.
Network Layer
- This layer in practically responsible for receiving of frames from the data link layer and delivers them to their intended destinations based on the addresses that are in the frame.
- The network layer tends to spot the destination by use of logical addresses such as IP (internet protocol)
- At this juncture, routers are vital since they are used to route information where it is needed in between the networks.
Transport Layer
- This layer is responsible for delivery and also error checking of the data packets.
- It regulates the sizes, sequencing and finally the transfer of data in between systems and hosts.
- One goo d example of the transport layer is the TCP (Transmission Control Protocol).
Step-by-step explanation
Conclusion
- For this case Bob is trying to buy a washing machine from Amazon where Bob asks the website to add it to his cart then buys the product.
- When he clicks on the buy now, he will first interact with the API and that is the data link layer and then later on the network layer that asks to receive frames from the data link layer and then the network layer sends the information to the transport layer for error check-ups and also error correction.
- After all the processes done at status code of 200 means okay where it relays the output at the application layer.
- This is how the process takes place for the underlaying computer network protocols when buying a product from Amazon.