Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

homelab-network-setup — Claude Code skill: network setup

Plan or troubleshoot a home or small lab network with guidance for gateways, IP ranges, DHCP, DNS, Wi-Fi, cabling, and future VLANs.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add affaan-m/ECC --skill homelab-network-setup -a claude-code
Open on GitHub

What homelab-network-setup does

This skill separates the main network roles: modem or ONT, gateway, managed switch, access points, servers, NAS, and client devices. It helps choose a gateway, map IP subnets, create DHCP reservations, and use home.arpa for local DNS names.

It includes small homelab network layouts plus guidance on VLAN preparation, DNS, PoE, wired AP backhaul, cable labels, and UPS power. It also covers double NAT, 192.168.1.0/24 conflicts with VPNs, duplicate DHCP on secondary routers, and changing addresses for service hosts.

Install it when a network needs room for NAS, Pi-hole, VPN access, or VLANs. For a basic setup with no segmentation plans, some of the planning detail may be more than you need.

What it helps with

  • map gateway, switch, and access point roles
  • divide devices across IP subnets
  • reserve addresses for NAS and service hosts
  • prepare a network for VLANs and VPN access
  • troubleshoot double NAT and unstable Wi-Fi

Example prompts for the agent

  • Plan a home network with a NAS, Pi-hole, and guest Wi-Fi.
  • Find the cause of double NAT in this network.
  • Create an IP plan for clients, IoT devices, servers, and network management.

How to install homelab-network-setup

1Skills CLI (Vercel)

npx skills add affaan-m/ECC --skill homelab-network-setup -a claude-code

2Manually: put the files in place

~/.claude/skills/homelab-network-setup/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/homelab-network-setup/

From the same set146

The whole set →
video-editing affaan-m AI-assisted workflow for editing, trimming, and enriching real footage. Connects raw recordings with FFmpeg cuts, Remotion overlays, and ElevenLabs voiceovers. Claude Code CX Codex Cursor +1 6,500installs docker-patterns affaan-m A skill with Dockerfile and Docker Compose patterns: local dev stacks, networking, volumes, container hardening. Claude Code CX Codex Cursor +1 6,300installs frontend-patterns affaan-m A skill for React and Next.js work: component patterns, state, data fetching, and render performance. Use it when building or reviewing UI. Claude Code CX Codex Cursor +1 5,900installs backend-patterns affaan-m A skill with backend patterns for Node.js, Express and Next.js API routes: layering, caching, transactions, error handling. Claude Code CX Codex Cursor +1 5,900installs coding-standards affaan-m Baseline cross-project coding conventions for naming, immutability, and clean code principles. Useful for code reviews and refactoring. Claude Code CX Codex Cursor +1 5,600installs api-design affaan-m Provides REST API design standards covering resource naming, status codes, pagination, and error payloads. Use it when creating or auditing API contracts. Claude Code CX Codex Cursor +1 5,500installs rust-testing affaan-m A skill for writing Rust tests: unit, integration, async, property-based, mocks and coverage. Useful when the project runs on TDD. Claude Code CX Codex Cursor +1 5,500installs laravel-security affaan-m This skill reviews Laravel authentication, Eloquent safety, CSRF, XSS, APIs, and production settings. Use it for security reviews or deployment checks. Claude Code CX Codex Cursor +1 5,400installs

Similar

google-cloud-networking-observability official google Investigate Google Cloud network logs, metrics, and connectivity paths. Use it to trace packet drops, firewall blocks, or routing problems. Claude Code Gemini CLI CX Codex 11,856installs cloudflare-deploy official openai This skill helps choose Cloudflare services and prepare application or infrastructure deployments through Workers, Pages, and related products. Claude Code CX Codex Cursor +1 4,300installs gcloud official Google LLC Validates gcloud commands, reduces command output, and adds execution guardrails for Google Cloud work. Use it when an agent handles the CLI. Claude Code Gemini CLI CX Codex 10,974installs agent-platform-skill-registry official google Connects agents to the Gemini Enterprise Agent Platform Skill Registry for discovery and lifecycle tasks. Useful when your workflow manages registered skills. Claude Code Gemini CLI CX Codex 10,068installs wizard Matt Pocock This skill creates an interactive bash wizard for manual setup steps, CI secrets, third-party dashboards, and one-off migrations. Claude Code 553,369installs hyperframes-cli heygen-com Controls HyperFrames video workflows from the CLI: audits layouts and contrast, edits timeline clips, captures snapshots, and renders locally or in cloud runtimes. Claude Code CX Codex Cursor +1 1,200,000installs setup-pre-commit Matt Pocock This skill configures pre-commit checks for a JavaScript repository, running Prettier, type checking, and tests before each commit. Claude Code 489,289installs using-git-worktrees Jesse Vincent Prepares an isolated workspace before feature work or plan execution. It checks the repository first, then uses native worktree support or Git. Claude Code CX Codex 217,153installs

Questions about homelab-network-setup

How do I install homelab-network-setup in Claude Code?

Run npx skills add affaan-m/ECC --skill homelab-network-setup -a claude-code. The skill file is placed at ~/.claude/skills/homelab-network-setup/SKILL.md.

What does homelab-network-setup do?

It guides home and small homelab network design and troubleshooting. The scope covers gateways, switches, access points, IP planning, DHCP, DNS, cabling, and VLAN preparation.

Which local addresses and names does the skill recommend?

It recommends home.arpa for local names and separate /24 subnets with reserved infrastructure addresses. The layout can cover trusted clients, IoT, servers, guest Wi-Fi, and network management.

Source text

SKILL.md · MIT
---
name: homelab-network-setup
description: Practical home and homelab network planning for gateways, switches, access points, IP ranges, DHCP reservations, DNS, cabling, and common beginner mistakes. Use when planning or fixing a home or homelab network — gateway, switch, AP, IP ranges, DHCP, DNS, or cabling.
metadata:
  origin: community
---

# Homelab Network Setup

Use this skill to design a home or small-lab network that can grow without
needing a full rebuild.

## When to Use

- Planning a new home network or redesigning an ISP-router-only setup.
- Choosing gateway, switch, and access point roles.
- Designing IP ranges, DHCP scopes, static reservations, and DNS.
- Preparing for future VLANs, Pi-hole, NAS, lab servers, or VPN access.
- Troubleshooting a new network that has double NAT, unstable Wi-Fi, or changing
  server addresses.

## How It Works

Start by separating device roles:

```text
Internet
  |
Modem or ONT
  |
Gateway or router      NAT, firewall, DHCP, DNS, inter-VLAN routing
  |
Managed switch         wired clients, AP uplinks, optional VLAN trunks
  |
Access points          Wi-Fi only; ideally wired backhaul
Servers and NAS        stable addresses, DNS names, monitoring
Clients and IoT        DHCP pools, isolated later if VLANs are available
```

Pick a gateway that matches the operator, not just the feature checklist:

| Option | Best fit | Notes |
| --- | --- | --- |
| ISP router | Basic internet only | Limited control and often poor VLAN support |
| UniFi gateway | Managed home network | Good UI, ecosystem lock-in |
| OPNsense or pfSense | Flexible homelab | Strong VLAN, firewall, VPN, and DNS control |
| MikroTik | Advanced network users | Powerful, but easy to misconfigure |
| Linux router | Tinkerers | Document rollback before using as primary gateway |

## IP Plan

Avoid the most common default, `192.168.1.0/24`, when you expect to use VPNs.
It often conflicts with hotels, offices, and ISP routers.

```text
Example small homelab plan:

192.168.10.0/24  trusted clients
192.168.20.0/24  IoT and media devices
192.168.30.0/24  servers and NAS
192.168.40.0/24  guest Wi-Fi
192.168.99.0/24  network management

Gateway convention: .1
Infrastructure reservations: .2 through .49
Dynamic DHCP pool: .50 through .240
Spare room: .241 through .254
```

Use `home.arpa` for local names. It is reserved for home networks and avoids the
leakage/conflict problems of ad hoc names like `home.lan`.

```text
nas.home.arpa
pihole.home.arpa
gateway.home.arpa
switch-01.home.arpa
```

## DHCP And DNS

- Use DHCP reservations for anything you SSH into, bookmark, monitor, or expose
  as a service.
- Hand out the gateway as DNS until a local resolver is intentionally deployed.
- If using Pi-hole or another DNS filter, give it a reservation first, then point
  DHCP DNS options at that address.
- Keep a small static/reserved range per subnet so replacements do not collide
  with dynamic leases.

## Cabling And Wi-Fi

- Prefer wired AP backhaul over mesh when you can run Ethernet.
- Use a PoE switch for APs and cameras if the budget allows it.
- Label both ends of each cable and keep a simple port map.
- Put the gateway, switch, DNS server, and NAS on UPS power if outages are common.

## Examples

### Beginner Upgrade

Goal: Keep the ISP router but stabilize a small lab.

1. Set DHCP reservations for NAS, Pi, and any SSH hosts.
2. Move local names to `home.arpa`.
3. Disable duplicate DHCP servers on secondary routers or APs.
4. Wire the main AP instead of relying on wireless backhaul.

### VLAN-Ready Plan

Goal: Prepare for future segmentation without enabling it immediately.

1. Choose non-overlapping /24 ranges for trusted, IoT, servers, guest, and
   management.
2. Reserve .1 for the gateway and .2-.49 for infrastructure on every subnet.
3. Buy a gateway and switch that support VLANs and inter-VLAN firewall rules.
4. Document which SSIDs and switch ports will eventually map to each network.

## Anti-Patterns

- Double NAT without a reason or documentation.
- Using `192.168.1.0/24` when VPN access is planned.
- Dynamic addresses for NAS, Pi-hole, Home Assistant, or other service hosts.
- Consumer routers repurposed as APs while their DHCP servers are still enabled.
- Flat networks with cameras, smart plugs, laptops, and servers all sharing the
  same trust boundary.

## See Also

- Skill: `network-interface-health`
- Skill: `network-config-validation`

© affaan-m · MIT · affaan-m/ECC

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor