Unit 1: Network Architecture & Physical Layer 35 mins study timeBASIC
OSI 7-Layer Architecture & Packet Encapsulation Mechanics
Protocol Data Units (PDUs): Application Data -> TCP Segment -> IP Packet -> Ethernet Frame -> Physical Bits.
Verified: IDRAS Academic Review Board
Learning Objectives
- •Analyze OSI 7-layer and TCP/IP protocol architectures
- •Trace socket state machines and flow/congestion control loops
- •Solve subnetting and routing algorithm equations
Essential Prerequisites
- •Foundations of computer systems and communication
Layer 1: Intuition & Why It Matters
The Core Mental Model
“Sending a letter: You write a note (Application), put it in an addressed envelope (Transport/Network), hand it to a postal courier in a delivery truck (Data Link/Physical). The recipient's post office opens outer boxes first, delivering the raw note intact.”
Why This Exists
Network protocols power all internet routing, distributed microservices, and client-server clouds.
Beginner Foundation
Sending a letter: You write a note (Application), put it in an addressed envelope (Transport/Network), hand it to a postal courier in a delivery truck (Data Link/Physical). The recipient's post office opens outer boxes first, delivering the raw note intact.
Micro Concepts Decomposition
Layer 3 & 4: Formal Specification & Mechanism
Hardware State Machine Architecture
Encapsulation adds headers at each layer: Port addresses at Layer 4 (Transport), IP addresses at Layer 3 (Network), MAC addresses and CRC-32 Frame Check Sequence (FCS) at Layer 2 (Data Link).
Data
-> [TCP Hdr | Data] (Segment)
-> [IP Hdr | TCP Hdr | Data] (Packet)
-> [Eth Hdr | IP Hdr | TCP Hdr | Data | FCS] (Frame)
-> Voltage/Light pulses on physical wire
Layer 7: Interactive Laboratory
Interactive Simulator
NETWORKS • VISUALIZATIONOSI & TCP/IP Packet Encapsulation Laboratory
NETWORKS • OSI & TCP/IP ARCHITECTUREProtocol Data Unit (PDU) Stacking
Packet Encapsulation & Decapsulation Laboratory
Current Protocol Level:Application Layer (L7)
Progressive Protocol Data Unit (PDU) Wrapper:
Application Layer (L7)Data (Payload)
GET /curriculum/networks HTTP/1.1\r\nHost: idras.edu
Transport Layer (L4)TCP Segment
[TCP Header: SrcPort: 54120 | DstPort: 443 | Seq: 1000 | Flags: PSH,ACK]
Network Layer (L3)IP Packet
[IP Header: Src: 192.168.1.100 | Dst: 10.0.0.1 | Protocol: 6 (TCP) | TTL: 64]
Data Link Layer (L2)Ethernet Frame
[Ethernet Header: DestMAC: 00:1A:2B:3C:4D:5E | SrcMAC: AA:BB:CC:DD:EE:FF | Type: IPv4] ... [FCS/CRC]
Physical Layer (L1)Bits (010110...)
01001111 01101110 00100000 01110100 01101000 01100101 00100000 01110111 01101001 01110010 01100101
Application Layer (L7) Function:
User creates data payload. HTTP/HTTPS request generated in user space.
Layer 5: Step-by-Step Worked Numerical Example
End-to-End Execution Trace
Detailed packet encapsulation and handshake trace demonstration.
Layer 6: Active Runtime CodeLab
Step-by-Step Code Execution (PYTHON)
AURXON Digital Engine
Font
main.pyGlacier Light
Ln 1 • Python 3.12
1
2
3
4
5
6
7
8
9
10
11
368 chars • 11 lines • Ln 1UTF-8 • 4 Spaces
Interactive Terminal Shell
Sandbox Terminal Ready
Click Run Code or press Ctrl+Enter to compile and execute.
⚡ AURXON Bitstream Runtime v4.8IDRAS Academic Virtual Node
Common Student Pitfalls & Mistakes
Where Students Lose Marks
❌ Mistake:
✓ Correct Understanding:
❌ Mistake:
✓ Correct Understanding:
Layer 8: Practice & Knowledge Verification
Active Assessment Quiz
No Practice Questions Configured
Questions for this topic are currently undergoing faculty review.
Academic Evaluation Preparation
Viva Examination & University Scoring Strategy
Standard Viva Examination Questions
Q1:
Answer:
Q2:
Answer:
How to Write High-Scoring University Exam Answers
Step-by-step protocol header decomposition and state machine transitions.