WEEK 5: OSI Model - M199205zn/Datacomm-CS3 GitHub Wiki
The Open Systems Interconnection (OSI) Model is a conceptual framework used to understand how different networking protocols interact in a layered manner. It was developed by the International Organization for Standardization (ISO) to standardize network communications and ensure interoperability between different systems.
Each layer has a specific function and communicates with the layers above and below it.
📌 Purpose: Defines the physical connection between devices.
📌 Functions:
- Manages voltage levels, data rates, and physical connectors (cables, switches).
- Converts digital data into electrical, optical, or radio signals.
📌 Examples: Ethernet cables, Fiber optics, Wi-Fi signals, Bluetooth.
📌 Purpose: Provides reliable data transfer between two directly connected nodes.
📌 Functions:
- Handles MAC (Media Access Control) addresses.
- Manages error detection and correction using techniques like CRC (Cyclic Redundancy Check).
- Controls frame synchronization in networks.
📌 Examples: Switches, MAC addresses, Ethernet, Wi-Fi (802.11).
📌 Purpose: Determines how data moves between different networks.
📌 Functions:
- Uses IP addresses to find the best path to the destination.
- Performs routing (sending data packets across networks).
- Manages logical addressing and packet forwarding.
📌 Examples: Routers, IP addresses, IPv4/IPv6, ARP (Address Resolution Protocol).
📌 Purpose: Ensures complete and accurate data transmission.
📌 Functions:
- Manages end-to-end communication.
- Uses segmentation and reassembly to break large data into smaller packets.
- Implements flow control and error handling.
📌 Examples: TCP (Transmission Control Protocol), UDP (User Datagram Protocol).
📌 Purpose: Establishes, manages, and terminates communication sessions.
📌 Functions:
- Controls dialog between applications (full-duplex, half-duplex communication).
- Handles authentication and re-establishing lost connections.
📌 Examples: Remote Procedure Call (RPC), NetBIOS, Session Initiation Protocol (SIP).
📌 Purpose: Converts data into a format the application layer can understand.
📌 Functions:
- Encryption and decryption for secure communication.
- Data compression for efficient transmission.
-
Character encoding and format conversion (e.g., ASCII, JPEG, MP3).
📌 Examples: SSL/TLS (Secure Sockets Layer/Transport Layer Security), JPEG, PNG, MP3, ASCII, Unicode.
📌 Purpose: Provides network services directly to end-users and applications.
📌 Functions:
- Supports user interfaces for email, web browsing, file transfers, and remote access.
- Uses protocols for different applications.
📌 Examples: HTTP (Web Browsing), FTP (File Transfer), SMTP (Email), DNS (Domain Name System).
✅ Standardization – Ensures devices from different manufacturers work together.
✅ Troubleshooting – Helps identify network problems layer by layer.
✅ Security – Enhances security by implementing measures at different layers.
✅ Interoperability – Allows multiple network types (wired, wireless, cloud-based) to communicate effectively.
Feature | OSI Model | TCP/IP Model |
---|---|---|
Layers | 7 | 4 |
Developed by | ISO | DoD (Department of Defense) |
Focus | Theoretical, used for learning | Practical, used in real networks |
Protocols | Conceptual (e.g., HTTP, FTP, TCP/IP fit into it) | Includes actual protocols (TCP, UDP, IP, etc.) |