Design for a rebuild
The value of a homelab is not uptime, it is iteration. Assume you will rebuild it twice a year and choose components you can reprovision from code.
Addressing plan
VLAN | Subnet | Purpose |
|---|---|---|
10 | 10.10.10.0/24 | Management (switches, IPMI, hypervisors) |
20 | 10.10.20.0/24 | Trusted clients |
30 | 10.10.30.0/24 | Servers and containers |
40 | 10.10.40.0/24 | IoT, no outbound to management |
50 | 10.10.50.0/24 | Lab / break-things network |
Out-of-band access is not optional
A serial console server or at minimum an IPMI interface on the management VLAN turns a wrecked routing change from a physical trip into a two-minute fix.
Virtualisation layer
# Proxmox: bridge with VLAN awareness
auto vmbr0
iface vmbr0 inet static
address 10.10.10.5/24
gateway 10.10.10.1
bridge-ports enp1s0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094Core services first
DNS and DHCP with records under a real internal domain.
NTP from a local source so certificate validation does not fail overnight.
A jump host with your SSH keys and nothing else.
Backups, tested by restoring, before anything interesting is deployed.
Backups that actually restore
restic -r sftp:backup@10.10.30.9:/srv/restic backup /srv/data --tag nightly
restic -r sftp:backup@10.10.30.9:/srv/restic forget --keep-daily 7 --keep-weekly 4 --prune
restic -r sftp:backup@10.10.30.9:/srv/restic restore latest --target /tmp/restore-test