OSI Model & TCP/IP Model
🌐 OSI Model & TCP/IP Model
Networking models explain how data travels from one computer to another in layers.
🧱 OSI Model (Open Systems Interconnection)
👉 Developed by ISO.
👉 Has 7 Layers.
🔹 OSI 7 Layers (Top to Bottom)
7️⃣ Application Layer
👉 User interacts with network.
Examples:
-
HTTP
-
FTP
-
SMTP
6️⃣ Presentation Layer
👉 Data formatting and security.
Functions:
-
Encryption
-
Compression
-
Translation
5️⃣ Session Layer
👉 Manages sessions.
Functions:
-
Session setup
-
Control
-
Termination
4️⃣ Transport Layer
👉 End-to-end delivery.
Protocols:
-
TCP
-
UDP
Functions:
-
Flow control
-
Error control
3️⃣ Network Layer
👉 Routing and addressing.
Protocols:
-
IP
-
ICMP
Devices:
-
Router
2️⃣ Data Link Layer
👉 Node to node delivery.
Functions:
-
Framing
-
MAC addressing
-
Error detection
Devices:
-
Switch
1️⃣ Physical Layer
👉 Actual transmission.
Examples:
-
Cable
-
Signals
-
Voltage
Devices:
-
Hub
🧠 Memory Trick (Top → Bottom)
👉 All People Seem To Need Data Processing
🌍 TCP/IP Model
👉 Developed by DARPA.
👉 Has 4 Layers.
🔹 TCP/IP Layers
4️⃣ Application Layer
👉 Combines OSI’s top layers.
Protocols:
-
HTTP
-
FTP
-
SMTP
-
DNS
3️⃣ Transport Layer
👉 Data transfer.
Protocols:
-
TCP
-
UDP
2️⃣ Internet Layer
👉 Routing.
Protocols:
-
IP
-
ICMP
-
ARP
1️⃣ Network Access Layer
👉 Hardware + data link.
Includes:
-
Ethernet
-
MAC
🔹 Difference Between OSI & TCP/IP
| OSI Model | TCP/IP Model |
|---|---|
| 7 Layers | 4 Layers |
| Theoretical | Practical |
| ISO developed | DARPA developed |
| Used for teaching | Used in real networks |
🔹 OSI to TCP/IP Mapping
| OSI | TCP/IP |
|---|---|
| Application | Application |
| Presentation | Application |
| Session | Application |
| Transport | Transport |
| Network | Internet |
| Data Link | Network Access |
| Physical | Network Access |
🔹 Important Exam Points
-
OSI has 7 layers.
-
TCP/IP has 4 layers.
-
TCP works at transport layer.
-
IP works at network layer.
-
OSI is reference model.
Comments
Post a Comment