←Back to Subject
Notes
Notes
Study material and explanations
Diagrams
Diagrams
Visualize concepts easily
Mnemonics
Mnemonics
Tricks to remember faster
One Night Prep
One Night Prep
Short and focused revision
Revision
Revision
Quick summary and key points
Important Questions
Important Questions
Practice most relevant questions
Notes

OSI vs TCP/IP Model: Comparison & Ethernet Encapsulation

Study material and explanations for Unit 5

OSI Model vs TCP/IP Reference Model and Ethernet Frame Structure

While the OSI model is the theoretical blueprint studied in classrooms, the TCP/IP model is the real-world operational protocol suite that powers the global Internet.


1. Architectural Layer Mapping: OSI vs. TCP/IP

The TCP/IP model simplifies the 7 OSI layers into 4 practical layers:

+-----------------------------------+-----------------------------------+
| ISO OSI 7-LAYER MODEL             | TCP/IP 4-LAYER MODEL              |
+-----------------------------------+-----------------------------------+
| Layer 7: Application Layer        |                                   |
| Layer 6: Presentation Layer       | Application Layer                 |
| Layer 5: Session Layer            | (HTTP, FTP, SMTP, DNS, SSH)       |
+-----------------------------------+-----------------------------------+
| Layer 4: Transport Layer          | Transport / Host-to-Host Layer    |
|                                   | (TCP, UDP)                        |
+-----------------------------------+-----------------------------------+
| Layer 3: Network Layer            | Internet Layer                    |
|                                   | (IP, ICMP, ARP)                   |
+-----------------------------------+-----------------------------------+
| Layer 2: Data Link Layer          | Network Access / Link Layer       |
| Layer 1: Physical Layer           | (Ethernet, Wi-Fi, PPP)            |
+-----------------------------------+-----------------------------------+

2. In-Depth Comparison: OSI vs. TCP/IP

Comparison Parameter ISO OSI Reference Model TCP/IP Reference Model
Number of Layers 7 Layers 4 Layers (or 5 in modern textbooks)
Development History Theoretical standard created before protocols were written. Protocols created first (ARPANET); model written after!
Real-World Usage Academic conceptual reference model. The practical implementation running on all internet devices.
Session & Presentation Two dedicated distinct layers (Layers 5 & 6). Merged directly into the top Application Layer.
Transport Layer Services Only connection-oriented service originally. Supports both connection-oriented (TCP) and connectionless (UDP).
Protocol Independence High (clearly defines services, interfaces, protocols). Loosely coupled (model doesn’t fit other non-IP protocol stacks).

3. The IEEE 802.3 Ethernet Frame Structure

Every data packet traveling over wired Ethernet cables must be packaged into the standard Ethernet Frame:

+------------+--------+------------+------------+-----------+---------------+------------+
| Preamble   | SFD    | Dest MAC   | Source MAC | Type/Len  | Data Payload  | FCS (CRC)  |
| 7 Bytes    | 1 Byte | 6 Bytes    | 6 Bytes    | 2 Bytes   | 46-1500 Bytes | 4 Bytes    |
+------------+--------+------------+------------+-----------+---------------+------------+
  1. Preamble (7 Bytes): Pattern of alternating 1s and 0s (10101010...) used to synchronize receiver clocks.
  2. SFD (Start of Frame Delimiter - 1 Byte): The bit sequence 10101011 warning that the next byte is the destination address.
  3. Destination MAC (6 Bytes): 48-bit address of the receiving device.
  4. Source MAC (6 Bytes): 48-bit address of the sending device.
  5. Length / EtherType (2 Bytes): Specifies packet length or upper layer protocol (e.g., 0x0800 for IPv4).
  6. Data Payload (46 to 1500 Bytes): The actual IP packet. (Minimum frame size is 64 bytes total; if data is less than 46 bytes, padding zeros are added).
  7. FCS (Frame Check Sequence - 4 Bytes): 32-bit CRC checksum used to detect transmission errors.

💡 DAVV Exam Tip

Guaranteed 10-Mark Question: “Compare OSI and TCP/IP models with a layer mapping diagram. Explain the fields of an Ethernet frame.”

  • Draw the side-by-side 7-layer vs 4-layer comparison box.
  • Write the 6-point comparison table.
  • Draw the Ethernet frame layout with byte sizes: 7 + 1 + 6 + 6 + 2 + (46-1500) + 4.