zlh-grind/SCRATCH/new-host-ips.md

1.8 KiB

New Host IP Assignments — Detroit (zlh1)

Core LAN (10.60.0.0/24) — vmbr1

Service New ID IP
zlh-dns (Technitium) 9010 10.60.0.14
zlh-proxy (Caddy) 9011 10.60.0.16
zlh-artifacts (Caddy file server) 9014 10.60.0.17
zpac-api 9020 10.60.0.18
zpac-portal 9021 10.60.0.19
zlh-monitor (Prometheus/Grafana) 9016 10.60.0.25
zlh-back (PBS) 9017 10.60.0.24 (CORE_LAN)

MGMT LAN (172.60.0.0/24) — vmbr5

Service IP Notes
zlh-back (PBS) 172.60.0.30 Used by Proxmox host to reach PBS — add second NIC on vmbr5
Proxmox host (zlh1) 172.60.0.6 Direct access to PBS without going through OPNsense

ZPACK LAN (10.70.0.0/24) — vmbr6

Service New ID IP
zpack-velocity 9015 10.70.0.10
zpack-proxy (Traefik) 9012 10.70.0.11

Routers

Service New ID IP
zlh-router (OPNsense core) 9001 10.60.0.254 (gateway)
zpack-router (OPNsense game/dev) 9002 10.70.0.254 (gateway)

Proxmox PBS Storage Config

  • Use 172.60.0.30:8007 when adding PBS as storage in Proxmox Datacenter
  • NOT 10.60.0.24 — Proxmox host can't reach CORE_LAN directly, only via vmbr5 MGMT_LAN

Files to update with new IPs

  • zpac-api .env — PORTAL_URL, API_URL, ARTIFACTS_URL, TECHNITIUM_URL, VELOCITY_URL, ZPACK_PROXY_IP, PUBLIC_IP
  • zpac-portal .env.local — NEXT_PUBLIC_API_BASE_URL=http://10.60.0.18:4000
  • zlh-agent — ZLH_ARTIFACT_BASE_URL=http://10.60.0.17:8080 (+ update.go compiled constant)
  • Caddy 9011 — update reverse_proxy IPs for api (10.60.0.18) and portal (10.60.0.19)
  • Traefik 9012 dynamic config — update API IP to 10.60.0.18
  • Proxmox API .env — PROXMOX_HOST=https://66.163.115.224:8006