Networking-OSI Model

Manya Agarwal
3 min readFeb 22, 2024

--

OSI Model

it’s a model through which we can understand how the communication happened between two devices. That communication they have divided into 7 different parts.

Application Layer

Presentation layer

It converts your data into machine language.
suppose you are using WhatsApp here you have a user interface so WhatsApp is on the application layer, once you send any file, your file comes to the presentation layer. then data will be converted into machine language. also presentation layer will do encryption of that file.
so the presentation layer will do 3 things,
→ Data conversion
→ Encryption and Decryption
→ Compression of data

Sessions layer

It establishes the connection between devices A and B.

these 3 layers work on the software layer.

Transport layer —

→ Protocol selection
→ 2 protocols — TCP, UDP — which type of protocol is going to be used will be decided according to the application.
→ Segmentation — the file will be divided into different parts for error detection and that part will be given to the network layer

the below things will happen outside your device.

Network layer-

→ A particular routing path is selected with the help of routing protocols
→ the information of source and destination IP address will be attached to your segment.

Data Link Layer

Our routers, and switches come under the network and data link layer and all the cables come under the physical layer.

Physical Layer

But in the TCP IP Model, we have 5 layers, here instead of these 3 layers we have only the application layer.

that was all about this topic.
Thanks :)

you can connect to me on Linkedin —

www.linkedin.com/in/manya-agarwal-67a458219

and can follow me on Medium for more such articles -

https://medium.com/@ManyaAgarwal19

--

--

Manya Agarwal

Manya Agarwal – Cloud Rookie 🌦️ | Learning the art of tech magic with Cloud and DevOps🪄 | Dreaming in code for a cloudier world ☁️ agarwalmanya7456@gmail.com