FULL INTERACTIVE LEARNING ENVIRONMENT

Computer Networking Masterclass

Explore how data flows across the global internet. Visualize packet routing, OSI layer encapsulation, TCP 3-way handshakes, IP subnetting, and DNS resolution in real-time animated simulations.

LIVE NETWORK TOPOLOGY
SIMULATING PACKETS

1. Network Architectures & Topologies

Core Concept

Client-Server vs Peer-to-Peer (P2P)

Client-Server: Centralized architecture where clients request services (web pages, database queries) from dedicated server nodes (e.g. AWS, GCP, Databricks).

Peer-to-Peer (P2P): Decentralized architecture where every node acts as both client and server (e.g. BitTorrent, Blockchain nodes).

Physical Layer

Bandwidth vs Latency vs Throughput

Bandwidth: Maximum theoretical capacity of a link (e.g. 10 Gbps fiber).
Latency: Round-trip time (RTT) for a packet to travel (e.g. 15ms).
Throughput: Actual rate of data delivered successfully over a network link.

Scope

LAN vs WAN vs VPC

LAN (Local Area Network): High-speed local network inside an office or home.
WAN (Wide Area Network): Spans continents via fiber cables and satellite.
VPC (Virtual Private Cloud): Isolated logical cloud network inside GCP/Azure.

2. The 7-Layer OSI Model & Encapsulation

7
Application Layer (HTTP, DNS, SSH)
Data Payload
6
Presentation Layer (TLS/SSL, JPEG, JSON)
Formatted Data
5
Session Layer (RPC, NetBIOS, Sockets)
Session Sync
4
Transport Layer (TCP, UDP)
Segment
3
Network Layer (IP, ICMP, BGP, Routers)
Packet
2
Data Link Layer (Ethernet MAC, Switches)
Frame
1
Physical Layer (Fiber, Cables, Signals)
Bits (0s & 1s)
Layer 7: Application Layer
Directly interacts with software applications. Converts user actions (e.g. browsing a web page) into network requests using protocols like HTTP/HTTPS, DNS, and FTP.
LIVE ENCAPSULATION PREVIEW:
DATA GET /api/v1/data HTTP/1.1

3. IP Addressing & Interactive Subnet Calculator

Subnet Mask
255.255.255.0
Network Address
192.168.1.0
Broadcast Address
192.168.1.255
Usable Host Range
192.168.1.1 - 192.168.1.254
32-BIT BINARY MASK (Network vs Host Bits):
11111111.11111111.11111111.00000000

4. TCP 3-Way Handshake & Protocols

Reliable Transport Layer Protocol (TCP)

Interactive TCP 3-Way Handshake Animation

CLIENT
SYN [Seq=100]
SERVER
Click "Start Handshake" to step through SYN -> SYN-ACK -> ACK.

5. Interactive Network CLI Terminal

net-cli v2.4 (Simulated Shell)
Welcome to Networking Lab CLI Shell.
Type help to list commands (ping, traceroute, nslookup, netstat, clear).

user@netlab:~$

6. Computer Networking Knowledge Check

Question 1 of 4
Score: 0

Which OSI Layer is responsible for logical IP Addressing and packet routing across routers?

Layer 2 — Data Link Layer
Layer 3 — Network Layer
Layer 4 — Transport Layer
Layer 7 — Application Layer