DCN Virtual Lab
Network design, packet simulation and fault diagnosis.
- Year
- 2026
- Status
- Live
- Category
- Simulation


01 / Overview
An academic-grade virtual laboratory that covers all eight DCN course experiments in one interactive system. Students design a network by dragging PCs, switches, routers and servers onto a canvas, configure IP, mask, gateway and DNS, and validate the topology against rules.
The simulator animates real packets (ICMP, TCP handshake, UDP) along the topology with a Wireshark-style dissector down to Ethernet, IPv4, TCP/UDP and payload. A rule-based fault-diagnosis engine models ten realistic multi-layer faults and walks students through symptom → hypothesis → test → evidence → root cause → corrective action → verification.
It also ships interactive tools for subnetting, (7,4) Hamming-code error correction and TCP header analysis, assessments, a completion report, and "Rogue Packet", a 2D mini-game where every clue comes from a real simulated network model.
02 / Problem
Networking labs are usually taught as separate, disconnected experiments with fake or hand-written command output.
Students rarely get to break a network on purpose and reason their way back to the root cause.
03 / Solution
- 01One system that synthesises Experiments 1–7 into a capstone: design, simulate, inject faults, diagnose, verify.
- 02No fake output: every ping, ARP lookup and traceroute hop is computed from the simulated network graph.
- 03A deductive troubleshooting loop with ten realistic faults across the OSI and TCP/IP stack.
04 / Features
- 01Drag-and-drop topology designer with IP/mask/gateway/DNS configuration and validation
- 02Discrete-event packet simulation with SVG path animation and a layer-by-layer packet inspector
- 03Ten multi-layer fault scenarios with a rule-based root-cause engine
- 04Interactive subnetting, Hamming (7,4) and RFC 793 TCP header tools
- 05Networking command runner: ping, ipconfig, tracert, arp, nslookup, netstat
- 06Assessments, completion report with JSON export, and the "Rogue Packet" mini-game
05 / Architecture
- 01React 19 + TypeScript + Vite, Tailwind CSS with shadcn/ui theme tokens
- 02Three.js / React Three Fiber warp-tunnel opening sequence, lazy-loaded and played once per session
- 03WebGL2 shader background capped at 30 fps, half resolution, paused when hidden
- 04Motion-based packet/node animation language that honours prefers-reduced-motion
- 05Procedural Web Audio synthesizer with no external audio files
