The simple way to OSI model — PART 1

Sivaram Rasathurai
Hacking Hunter
Published in
3 min readOct 13, 2019
Photo by Isabela Martins on Unsplash

So far, the OSI model can not be ignored by networking people. Many of the students could not understand this layered architecture model. OSI model is straightforward to understand. If you have an interest, go further.

First, we want to know about what is layer? Layers are a well-defined set of functions. In simplicity, we have grouped some related functions into one set and call it as a layer.

Layers Of OSI Model

OSI layers are physical layer, data link layer, network layer, transport layer, session layer, presentation layer, and application layer. I will explain whole layers with the same scenario in the following sections.

Physical Layer

Siva and Ram are the two students. One is in London, and the other one is in Sri Lanka. Now, Siva wants to send an e-mail to Ram. When Siva is typing, the data will send to Siva’s computer through the cable by the keyboard. So the cable should accept the data and transmit across the wire. These functions, such as accepting the string of bits(data) and transmit across the link(cable), are grouped, and we call this as the Physical layer.

Data Link Layer

In this cable, the data may be destroyed or changed. When the actual data is modified, This is called an error. As an example, you typed ‘A,’ but you got other than “A.’ So, we want to deliver a mechanism to provide an error-free transmission. For that, we want to detect the errors first, then if we can correct the errors correct them, otherwise, request the sender to retransmit. Such functions are defined into one layer(set), and it is called as Data link layer. Here we check the error across a single link. In our example, we check its errors in the data which is flying through the cable.

Network Layer

The next layer is the Network layer, and it likes a courier man. What can courier man do? Courier man takes the parcel from the sender and gives to the receiver so the courier man should know the addresses of the men in his area and should know the path as well. Now think our scenario, Siva sends an email to Ram, which travels from Sri Lanka to London. So we want a courier man to send the email from here to there without opening the email (In realistic, the email will be divided into packets and packets will be sent).

Siva and Ram have their own identities, such as IP addresses. So we want to give them these IP addresses before connecting to them to the network. This is called as addressing. We want to direct the email through a path such work will be called routing; these functions are grouped into one layer which is called as a Network layer

The email should not be damaged through the network. The receiver Ram should receive what the sender sends. So we want to provide an end to end error-free transmission. Here end to end means sender to receiver. This is what the transport layer does. Further about the transport, session, presentation, and application layers will be in part 2.

--

--