Home Lab Setup

Building a playground for tech exploration and experimentation.

4 min read

Why Build a Home Lab?

A home lab is a personal testing and learning environment that lets you experiment with technologies in a safe, isolated setting. Whether you're preparing for certifications, testing new configurations, or just curious about how things work under the hood, a home lab gives you the freedom to break things without consequences.

The best part? You don't need expensive enterprise hardware to get started. Some of the best labs are built from repurposed office machines, Raspberry Pis, and second-hand networking gear found on eBay or local surplus sales.

Hardware Selection

The foundation of any home lab starts with hardware. Here's what works based on years of trial and error:

Virtualization Layer

Virtualization is the heart of most home labs. The two main contenders are:

Proxmox VE is my go-to for a full-featured, open-source hypervisor. It combines KVM virtualization with LXC containers, has a web UI, built-in clustering, and backing up VMs is straightforward. Install it on bare metal and you've got an enterprise-grade platform for a fraction of the cost.

VMware ESXi remains the enterprise standard and is still free for personal use (up to 2 CPUs per host). It's rock-solid and has excellent hardware compatibility. If you're pursuing VCP or working in enterprise environments, ESXi gives you hands-on experience with what companies actually run.

Hyper-V is the natural choice if your lab runs on Windows Server. With Windows Server 2022 and System Center, you get a fully integrated virtualization stack that plays nicely with Active Directory and PowerShell automation.

Network Architecture

A well-designed lab network separates traffic into logical segments:

OPNsense or pfSense on a VM (or a dedicated mini PC) handles routing, DHCP, DNS, and firewall rules between VLANs. Setting up site-to-site VPNs between lab segments teaches you real-world network security concepts.

Storage Setup

TrueNAS SCALE is my preferred storage solution for the lab. Running as a VM on Proxmox with直通 drives gives you ZFS snapshots, self-healing datasets, and SMB/NFS/iSCSI shares. The key lessons from setting up TrueNAS:

Getting Started Checklist

  1. Secure one reliable machine -- even an old office PC works
  2. Install a hypervisor (Proxmox or ESXi)
  3. Set up a firewall/router VM (OPNsense)
  4. Configure VLANs and basic firewall rules
  5. Add a storage node (TrueNAS)
  6. Deploy your first Linux VM and learn the basics
  7. Gradually add services: DNS (Pi-hole), DHCP, web server, monitoring
  8. Document everything -- your future self will thank you