OSI model and diff
OSI model and diff
The Open Systems Interconnection (OSI) model describes seven layers that computer
systems use to communicate over a network. Introduced in 1983 by representatives of major
computer and telecommunications companies, it was adopted by the International Organization
for Standardization (ISO) as an international standard in 1984. The OSI model was the first
standard model for network communications, helping major companies adopt a unified
approach to networking.
Although the modern Internet relies on the simpler TCP/IP model, the OSI 7-layer model
remains widely used. It serves as a valuable tool for visualizing and understanding how
networks operate, and it is particularly useful for isolating and troubleshooting networking
problems. The OSI model provides a structured framework that aids in the design,
implementation, and management of complex network systems.
We’ll describe OSI layers “top down” from the application layer
that directly serves the end user, down to the physical layer.
1. Physical Layer
3. Network Layer
● Function: Manages the delivery of packets across multiple networks and determines the
best path for data transfer.
● Key Points:
○ Logical Addressing: Uses IP addresses to identify devices on the network.
○ Routing: Determines the optimal path for data to travel from source to
destination across interconnected networks.
○ Packet Forwarding: Moves packets from one network to another.
○ Fragmentation and Reassembly: Breaks down large packets into smaller ones
for transmission and reassembles them at the destination.
○ Components: Routers and Layer 3 switches.
○ Protocols and Standards: IP (Internet Protocol), ICMP (Internet Control
Message Protocol), ARP (Address Resolution Protocol), and others.
4. Transport Layer
5. Session Layer
6. Presentation Layer
● Function: Translates data between the application layer and the network format.
● Key Points:
○ Data Translation: Converts data formats between the application and the
network (e.g., character encoding, data serialization).
○ Data Encryption and Decryption: Ensures data security during transmission.
○ Data Compression: Reduces the size of data to save bandwidth.
○ Protocols and Standards: SSL/TLS (Secure Sockets Layer/Transport Layer
Security), JPEG, MPEG, ASCII, EBCDIC.
7. Application Layer
Advantages
1. Complexity:
○ The OSI model can be overly complex for practical implementation,
leading to confusion and difficulty in understanding for some users.
2. Theoretical Nature:
○ It is a theoretical model and not always directly applicable to
real-world networking scenarios. The OSI model does not always
align perfectly with practical implementations.
3. Redundancy:
○ Some functions are repeated across different layers, leading to
redundancy. For example, error detection can occur in both the data
link layer and the transport layer.
4. Implementation Inflexibility:
○ Strict adherence to the OSI model can lead to inflexibility, as
real-world protocols often span multiple layers or do not fit neatly into
a single layer.
5. Performance Overhead:
○ Implementing all seven layers can introduce performance overhead,
especially in smaller or less complex networks where a simpler
model might suffice.
It is horizontally
Approach It is vertically approached
approached
Built into Data Link and Transport Built into protocols like
Error Handling
layers TCP