Educational Workflows
This section walks through repeatable workflows for planning, deploying, and maintaining GNS3 lab environments withgns3util in educational settings.
Class Management Workflow
Step 1 · Create a Class
Cluster scope note: Classes are scoped to the endpoint you target. Use-s/--serverfor an individual server or--cluster <name>for a configured cluster entry—both ultimately hit a single cluster node. Clusters provide scheduling convenience but not aggregation:gns3util class lsonly reports data for the nodes you reach, and a “single-node” cluster created via--serveris still tracked in your local cluster config files.
Step 2 · Deploy Exercises
Exercise listings: gns3util exercise ls behaves just like class listing—results come from whichever server or cluster node you target. Plan class schedules so each group knows the exact server (or cluster node) they must log into.
Template Management Workflow
How Templates Work
- Selection: Choose an existing project on the server or import a
.gns3projectarchive to act as the base topology. - Duplication: Deploying an exercise clones the template for every group in the class.
- Naming: Projects follow
{Class}-{Exercise}-{Group}-{UUID}to keep names unique. - Access control: ACLs are applied so each student group sees only their assigned lab.
Step 1 · Prepare a Template in the GNS3 Web UI (Recommended)
- Open the GNS3 web interface (typically
http://your-gns3-server:3080). - Create a new project with a clear name (for example,
NetworkTemplate). - Design and validate the topology until it meets your teaching objectives.
- Save the project—it is now ready to use as a template.
Template Types
- Server-based templates (recommended): Reuse a project already stored on the server. Fastest option and keeps artifacts local.
- File-based templates: Import a
.gns3projectarchive. Useful for moving labs between environments, but confirm images exist at the destination first. - Cluster awareness: Clusters schedule deployments, but they do not share UI sessions. Instructors and students still authenticate to each server URL individually.
Step 2 · Select a Template
Step 3 · Validate Template Quality
Step 4 · Update Templates Safely
Step 5 · Export Templates (Optional)
Cluster limitation reminder: Template deployment runs on the server you target with -s/--server. When working across a cluster, repeat the deployment on every node that hosts student groups or script a loop over server URLs.
Troubleshooting Template Deployments
- Template not found: Run
gns3util project ls | grep -i templateor rely on--select-templateto discover names. - Duplication failed: Check server resources, confirm the template opens cleanly, and inspect server logs.
- Access control issues: Verify class membership and execute
gns3util -s https://server:3080 project acl <project>to review ACLs.