How zakari-a/netpractice works
NetPractice is a browser-based networking exercise: learners configure addresses, masks, and routes in staged network topologies, then check whether required communication paths work. The sampled code shows topology rendering and goal checks invoking the routing simulator, which reports success or failure with logs. Login and evaluation-mode flows are visible in the intro code. Level files define the exercise data, but their loading by the HTML pages was not sampled; those links are therefore shown as unverified. The README also documents networking lessons beyond the simulator.
Main entry points: show.js Topology Renderer · intro.js Start and Login · js Levels 1–5 · sim.js Packet Routing Simulator
Components 12
Entry and Progress
- Start and Login
net_practice/js/intro.js - Level Progression
net_practice/js/show.js
Network Exercises
- Levels 1–5
net_practice/js - Levels 6–10
net_practice/js
Exercise Runtime
- Topology Renderer
net_practice/js/show.js - Address and Route Inputs
net_practice/js/show.js - Goal Evaluation
net_practice/js/show.js - Packet Routing Simulator
net_practice/js/sim.js - Simulation Logs
net_practice/js/show.js - Configuration Export
net_practice/js/show.js
Networking Lessons
- Networking Guide
README.md
Other components
- Learner
Connections 13
- Learner → Start and Login: starts
net_practice/js/intro.js - Start and Login → Levels 1–5: opens level one
net_practice/js/intro.js - Start and Login → Levels 6–10: starts evaluation
net_practice/js/intro.js - Levels 1–5 → Topology Renderer: provides scenarios
- Levels 6–10 → Topology Renderer: provides scenarios
- Topology Renderer → Address and Route Inputs: renders inputs
net_practice/js/show.js - Topology Renderer → Goal Evaluation: checks goals
net_practice/js/show.js - Goal Evaluation → Packet Routing Simulator: simulates reachability
net_practice/js/show.js - Packet Routing Simulator → Simulation Logs: records outcomes
net_practice/js/sim.js - Goal Evaluation → Level Progression: offers next level
net_practice/js/show.js - Learner → Address and Route Inputs: edits network settings
- Learner → Configuration Export: downloads config
net_practice/js/show.js - Learner → Networking Guide: learns concepts
README.md