Skip to content

Free containerized labs for CompTIA Network+, Linux+, and Security+ exam preparation. Hands-on practice with real tools in GitHub Codespaces.

License

Notifications You must be signed in to change notification settings

ciscoittech/comptia-certification-labs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CompTIA Certification Labs

Free, hands-on containerized labs for Network+, Linux+, and Security+ exam preparation

Lab Validation License: MIT Open in GitHub Codespaces


🎯 What is This?

This repository provides 9 free, containerized labs (3 per certification) designed to help you pass CompTIA Network+, Linux+, and Security+ exams through hands-on practice with real tools.

No VMs. No simulators. Real Linux networking in containers.

πŸ’‘ Looking for full exam prep? Visit PingToPass.com for practice exams, study guides, and comprehensive CompTIA certification resources!


πŸ“š Available Labs

🌐 Network+ (N10-009)

Lab Duration Exam Objectives Difficulty
01-static-routing-basics 30 min Domain 2: Routing technologies Beginner
02-nat-pat-configuration 45 min Domain 2: NAT/PAT Intermediate
03-vlan-trunking 45 min Domain 2: VLANs, Domain 4: VLAN security Intermediate

🐧 Linux+ (XK0-005)

Lab Duration Exam Objectives Difficulty
01-network-interface-config 30 min Domain 1: Configure network interfaces Beginner
02-iptables-firewall-basics 45 min Domain 2: iptables firewall rules Intermediate
03-systemd-service-management 30 min Domain 1: systemd service management Beginner

πŸ”’ Security+ (SY0-701)

Lab Duration Exam Objectives Difficulty
01-dmz-network-design 45 min Domain 3: Security zones, DMZ Intermediate
02-ssh-key-authentication 30 min Domain 3: Authentication methods Beginner
03-network-segmentation-zones 45 min Domain 3: Network segmentation Intermediate

πŸš€ Quick Start

Option 1: GitHub Codespaces (Recommended)

Click the "Code" button above β†’ "Create codespace on main"

Everything is pre-configured. No setup required.

Option 2: Local Installation

Prerequisites:

  • Docker Desktop installed
  • Containerlab installed (Install Guide)

Clone and run:

git clone https://github.com/ciscoittech/comptia-certification-labs.git
cd comptia-certification-labs/network-plus/01-static-routing-basics
sudo containerlab deploy -t topology.clab.yml

πŸ“– Why These Labs?

Exam Objective Mapping

We carefully selected these 9 labs based on:

  1. High-weight exam domains (20%+ of exam)
  2. Hands-on requirements (can't learn from videos alone)
  3. Real-world relevance (skills used in actual jobs)
  4. Progression difficulty (beginner β†’ intermediate)

Network+ Lab Selection Rationale

1. Static Routing Basics - Domain 2 (20% of exam)

  • βœ… Foundation for all routing concepts
  • βœ… Required for understanding dynamic protocols (OSPF, BGP)
  • βœ… Appears in 5-10 exam questions
  • βœ… Used daily in network engineering

2. NAT/PAT Configuration - Domain 2 (20% of exam)

  • βœ… Critical for IPv4 address conservation
  • βœ… Appears in troubleshooting scenarios
  • βœ… Required knowledge for home/SMB networks
  • βœ… Foundation for understanding PAT vs SNAT

3. VLAN Trunking - Domains 2 & 4 (34% of exam combined)

  • βœ… Core switching technology
  • βœ… Security segmentation concept
  • βœ… Appears in multiple question types
  • βœ… NEW in N10-009: Emphasis on VLAN security

Linux+ Lab Selection Rationale

1. Network Interface Config - Domain 1 (32% of exam)

  • βœ… Most fundamental Linux networking skill
  • βœ… Required for all other network tasks
  • βœ… ip command is exam-critical
  • βœ… Replaces deprecated ifconfig

2. iptables Firewall Basics - Domain 2 (21% of exam)

  • βœ… Essential security skill
  • βœ… Appears in simulation questions
  • βœ… Foundation for firewalld understanding
  • βœ… Real-world filtering requirements

3. systemd Service Management - Domain 1 (32% of exam)

  • βœ… Modern Linux service control
  • βœ… Appears in troubleshooting scenarios
  • βœ… Critical for production systems
  • βœ… systemctl and journalctl are exam-heavy

Security+ Lab Selection Rationale

1. DMZ Network Design - Domain 3 (18% of exam)

  • βœ… Core security architecture concept
  • βœ… Three-zone model is exam-critical
  • βœ… Demonstrates defense-in-depth
  • βœ… Real-world enterprise requirement

2. SSH Key Authentication - Domain 3 (18% of exam)

  • βœ… Modern authentication best practice
  • βœ… Appears in both Linux+ and Security+
  • βœ… Replaces password authentication
  • βœ… Foundation for zero-trust concepts

3. Network Segmentation with Zones - Domain 3 (18% of exam)

  • βœ… Microsegmentation is trending topic
  • βœ… Demonstrates least privilege
  • βœ… Zone-based firewalls are common
  • βœ… Applies to both on-prem and cloud

πŸŽ“ What You'll Learn

Real Tools, Not Simulators

These labs use the same tools used in production:

  • Alpine Linux - Lightweight container OS
  • iproute2 - Modern Linux networking (ip command)
  • iptables/nftables - Linux firewall
  • FRR - Production routing daemon (OSPF, BGP)
  • Containerlab - Network lab orchestration

Skills You'll Build

βœ… Configure network interfaces and routes βœ… Troubleshoot connectivity issues βœ… Implement firewall rules and NAT βœ… Design secure network architectures βœ… Manage Linux services with systemd βœ… Deploy authentication best practices


πŸ“Š Lab Difficulty Progression

Beginner Labs (3):
β”œβ”€β”€ Network+ Static Routing
β”œβ”€β”€ Linux+ Network Interface Config
└── Security+ SSH Key Authentication

Intermediate Labs (6):
β”œβ”€β”€ Network+ NAT/PAT Configuration
β”œβ”€β”€ Network+ VLAN Trunking
β”œβ”€β”€ Linux+ iptables Firewall Basics
β”œβ”€β”€ Linux+ systemd Service Management
β”œβ”€β”€ Security+ DMZ Network Design
└── Security+ Network Segmentation Zones

Recommended Study Path:

  1. Start with all 3 Beginner labs
  2. Move to certification-specific Intermediate labs
  3. Practice troubleshooting scenarios
  4. Take practice exams

πŸ› οΈ Lab Structure

Each lab includes:

lab-name/
β”œβ”€β”€ README.md              # Learning objectives, exercises
β”œβ”€β”€ topology.clab.yml      # Container topology
β”œβ”€β”€ configs/               # Pre-built configurations
β”œβ”€β”€ scripts/
β”‚   └── validate.sh       # Automated testing
└── .devcontainer/         # GitHub Codespaces config

Every lab provides:

  • πŸ“– Clear learning objectives
  • 🎯 Exam objective mapping
  • πŸ”¬ Hands-on exercises
  • βœ… Automated validation tests

πŸ† Exam Coverage Statistics

Certification Domains Covered Exam Weight Labs Provided
Network+ N10-009 Domains 2, 4 34% 3 labs
Linux+ XK0-005 Domains 1, 2 53% 3 labs
Security+ SY0-701 Domain 3 18% 3 labs

Combined Exam Coverage: These 9 labs address ~30% of total exam content across all three certifications.


πŸ’‘ Why Containerized Labs?

vs. Virtual Machines:

  • βœ… 10x faster startup (5 seconds vs 5 minutes)
  • βœ… 75% less memory (50MB vs 1GB per node)
  • βœ… 90% less disk space (500MB vs 5GB per lab)
  • βœ… Run on laptops, no beefy hardware needed

vs. Simulators (Packet Tracer, CertMaster):

  • βœ… Real Linux networking stack, not simulated
  • βœ… Learn tools used in actual jobs
  • βœ… Transferable skills (Docker, containers)
  • βœ… Free and open source

vs. Cloud Labs (INE, CBT Nuggets):

  • βœ… $0 cost (vs $50-100/month)
  • βœ… No time limits
  • βœ… Full control over environment
  • βœ… Works offline after initial pull

πŸ“ Prerequisites

Knowledge:

  • Basic understanding of IP addressing
  • Familiarity with command line
  • Willingness to experiment and break things!

Software (for local usage):

No prerequisites for GitHub Codespaces - everything is pre-configured!


🀝 Contributing

We welcome contributions! Ideas for new labs:

Network+ Expansion:

  • IPv6 addressing and configuration
  • DNS server setup (BIND9)
  • DHCP server configuration
  • Wireless network setup

Linux+ Expansion:

  • LVM and RAID configuration
  • Bash scripting basics
  • SELinux configuration
  • User and group management

Security+ Expansion:

  • IDS/IPS deployment (Snort/Suricata)
  • VPN configuration (OpenVPN, WireGuard)
  • Certificate management (PKI)
  • Log analysis and SIEM basics

See CONTRIBUTING.md for guidelines.


πŸ“œ License

This project is licensed under the MIT License - see LICENSE file for details.


πŸ™ Acknowledgments

  • Containerlab - Amazing network lab orchestration tool
  • FRR Project - Open-source routing protocol suite
  • Alpine Linux - Lightweight container OS
  • CompTIA - Certification exam objectives

πŸ“¬ Support & Community


🎯 Next Steps

  1. ⭐ Star this repository to bookmark it
  2. πŸš€ Launch a Codespace or clone locally
  3. πŸ“š Start with a beginner lab (Static Routing, Network Interface, or SSH Keys)
  4. βœ… Run validation tests to verify your configuration
  5. πŸŽ“ Practice, practice, practice!

Good luck on your certification journey! πŸš€


Made with ❀️ for aspiring network and security engineers

About

Free containerized labs for CompTIA Network+, Linux+, and Security+ exam preparation. Hands-on practice with real tools in GitHub Codespaces.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages