Osi Model Explained
Osi Model Explained
The OSI model is a model created to enable communication between different operating
systems. With this model, it has become easier to understand network structures. It divides the
process of communication into seven layers, each responsible for specific aspects of data
transmission. These layers work together to ensure that data is successfully transferred from
one device to another over a network.
Example: When a computer sends data to another computer on the same network, the MAC
address is used to identify the destination device (like an Ethernet frame).
3. Network Layer (Layer 3)
What it does:
This layer handles the routing and forwarding of data packets between devices across different
networks. It is responsible for logical addressing, such as IP addresses.
Example: The IP addresses used for routing data over the internet, like when you send an email
to someone across the globe. Routers operate at this layer to direct traffic to the correct
destination.
Example: Protocols like TCP (Transmission Control Protocol) and UDP (User Datagram
Protocol) work here. TCP guarantees data delivery by checking for errors and ensuring the
packets arrive in the correct order.
5. Session Layer (Layer 5)
What it does:
It manages sessions or connections between applications. It establishes, maintains, and
terminates communication sessions between devices.
Example: A video call between two people is managed at this layer, ensuring the session
remains active and can be closed once the call is finished.
Example: If you're sending an encrypted email or accessing a website with SSL (Secure
Sockets Layer), the encryption and decryption processes are handled at this layer.
Example: When you use a web browser to visit a website, HTTP (Hypertext Transfer Protocol)
operates at this layer. Similarly, email applications use SMTP (Simple Mail Transfer Protocol) to
send messages.