CHG-0057: Build the Home Site

CHG-0057: Build the Home Site #

DateUnscheduled
Change typeDeployment · Configuration
ClassificationStructural
StatusPlanned
WindowUnscheduled. After CHG-0054 and CHG-0056. One ceremony at the factory; the rest on a visit, from the Builder
Sitehome
SystemsThe home site’s core router (OPNsense, Unbound), switch and access point; one tenant’s Deevnet Pi; the Builder dv00bld001p01; the offline ceremony machine
Automationansible-inventory-deevnet home/; deevnet.net and deevnet.builder (substrate_cert); deevnet.mgmt scripts/pki/
RiskMedium. Most likely to go wrong: the home network is the household’s, and a misapplied firewall or DHCP change takes it down. Each step is applied and checked on its own, with the router’s configuration exported first
Related changesCHG-0033 (the mobile site’s PKI, the pattern here), CHG-0007 (the mobile site’s zone policy)
Related incidentsNone
Related runbooksCeremony, Issuing CA

Summary #

The Mobile Factory builds sites as well as tenants, and home (home.deevnet.net, site code 01) is the next. This change builds what a site needs to host tenants’ Deevnet Pis: its own PKI, its network from its inventory, and DNS and DHCP on its core router. The Builder comes home and applies it with Ansible. Home runs no broker, registry or Deevnet API: a Pi is its devices’ broker and registry ( ADR-0039 §1, §8; Home Site; review phase P8).

Goal #

  • A Home Site CA, signed by the root, held offline; a Home Substrate CA, its key in home’s vault, signed by the Home Site CA.
  • The home inventory declares its hosts, VLANs, firewall policy and Wi-Fi, beside the mobile site’s.
  • The core router runs DNS (Unbound) and DHCP for home.deevnet.net, from the inventory, with a certificate from the Home Substrate CA.
  • No site broker at home: a hosted Pi is its devices’ broker, at mqtt.<tenant>.deevnet.net (ADR-0040 §5).
  • A hosted Pi’s site-less names and its home site name resolve at home.
  • One tenant’s Deevnet Pi served at home, its devices connecting to it.

Scope #

In scope: home’s PKI, inventory, router, switch and access point, one Pi’s DNS. Out of scope: Kea, a hypervisor at home, and anything for tenants beyond a Pi’s network and names ( Home Site, Later).

Risk and impact #

RiskWhereGuard
The household loses its networkhomeEach step applied and checked alone; the router’s configuration exported first; a change window agreed
The wrong inventory appliedthe BuilderEvery play run with -i home/ named explicitly and --limit
A home key written only to a local filecontrol nodeThe lock-in rule: vault, encrypt, commit, push before the next step

Prerequisites #

  • The offline ceremony machine, with its bootloader reset
  • The home inventory’s hardware recorded (by model, never by serial)
  • A Deevnet Pi provisioned at the factory for a tenant, its devices’ registrations written

Procedure #

Step 1: Home’s PKI #

A Home Site CA (ceremony path 2), then a Home Substrate CA: its key in home’s vault, its request signed by the Home Site CA (path 3).

Verify: both chain to the root; the Home Site CA carries the same name constraints as the mobile Site CA.

Step 2: The inventory #

Hosts, VLANs, firewall policy and Wi-Fi in home/.

Verify: a syntax check and a check-mode run against home report the intended changes only.

Step 3: The core router #

DNS and DHCP from the inventory; its certificate from the Home Substrate CA.

Verify: a client on each VLAN gets an address and resolves home.deevnet.net names; the router’s UI verifies with the root alone.

Step 4: The Pi #

The Pi’s VLAN, firewall and Wi-Fi from the inventory; its names in home’s DNS.

Verify: a computer reaches the Pi by its site-less name and verifies it; its devices connect.

Verification #

A Deevnet Pi is served at home and its devices connect to it.

Undo #

Each step reverses on its own: the router’s exported configuration restored, the inventory’s change reverted and applied. The CAs stay; they cost nothing unused.

To close #

What is left before this change closes, from its procedure and verification.

  • Step 1: a Home Site CA and a Home Substrate CA
  • Step 2: the home inventory: hosts, VLANs, firewall policy and Wi-Fi
  • Step 3: the core router’s DNS, DHCP and certificate
  • Step 4: the Pi’s VLAN, firewall, Wi-Fi and names in home’s DNS
  • Verification: a Deevnet Pi is served at home and its devices connect to it
Page last modified: November 8, 2026