Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ documents for different readers.

## Architecture

[![The home network: the ISP gateway in bridge mode, the pfSense firewall
morpheus, the core switch neo and the 32U rack across the top; below them one
[![The home network: the cable modem, the pfSense firewall morpheus,
the core switch neo and the 32U rack across the top; below them one
panel per VLAN in its patch-cable colour, holding every addressed host —
Winterfell's monitoring, wiki and household hosts, Hicks' workstations by role,
CasaBonita's NAS and screens, ImaginationLAN's hypervisor and its twenty-one guests,
Expand Down
24 changes: 24 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,30 @@ docstring gives: it is a record, not a claim about now.

## 2026-11-22

- **The Hitron CODA56 is in, and the WAN's receive errors were `em0`'s, not
the XB7's ([#1594](https://github.com/Gerrrt/HomeLab/issues/1594)).** This
corrects 2026-11-21's "A tripped breaker set off the WAN's receive errors a
fourth time, and another of the XB7's ports cleared them", and with it the
XB7 diagnosis in the 2026-11-19, 2026-11-08 and 2026-11-07 entries. The
CODA56 bought on 2026-11-20 replaced the XB7 at about 18:00 PST. `em0`,
whose counter had been flat all afternoon, began counting receive errors
as soon as it went in: about 10,000 in the first fifteen minutes. Downloads
fell to 20–48 Mbit/s. `ifconfig em0` read `1000baseT <full-duplex>` and
`mac_stats` read the old signature: CRC errors (1,152,752) and fragment and
length errors (1,374,571 each), with alignment, symbol and collision
errors all zero. A re-plug at `em0` did not stop it, and nor did a
different cable (1,200 more errors in four minutes after the swap). A
reboot of `morpheus` did: the counter restarted at 0 and held there, with
243 Mbit/s down from Hetzner Ashburn and OVH and 940 from the scheduled
test. So the fault is `em0`, the onboard I219, getting into a state a link
reset does not always clear. The earlier "fixes" by moving XB7 ports were
re-plugs that happened to reset it. The factory cable was never at fault.
`WanReceiveErrors`' description now says to reboot `morpheus`, and
`network.md`, the rack runbook's §6.1, the roadmap's #923 note and the
network diagram name the CODA56 and `em0`. Taking the WAN off `em0`, onto
a VLAN through `neo` to `igc0` or onto a NIC of its own, is the durable
fix and is not decided. The XB7 goes back to Comcast.

- **The office wall stops counting `info` alerts.** Its verdict took every
firing alert but Watchdog, so the two `HostBatteryTempNotMeasured` alerts
(on `oracle` and `prometheus`), which are `info` by design and resolve only
Expand Down
Binary file modified docs/diagrams/current/network.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions docs/diagrams/current/network.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions docs/hardware.md
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,15 @@ The BMC and the host it manages carry different names and different addresses:
`shiva` is the iLO, `Saruman` is the hypervisor at `10.0.30.20`. Earlier
revisions of this repository treated `shiva` as the hypervisor itself.

## WAN

The link to the internet, outside the rack.

| Part | What | Notes |
| --- | --- | --- |
| Modem | Hitron CODA56, DOCSIS 3.1, owned[^modem] | Installed 2026-11-22 in place of a rented Xfinity XB7 ([#1594](https://github.com/Gerrrt/HomeLab/issues/1594)). A modem only: no router, no Wi-Fi. One 2.5G Ethernet port, to `morpheus`'s `em0` at 1000baseT ([`network.md`](network.md)) |
| Power | The CODA56's 12 V brick | **Which outlet it is on is not read yet**, nor whether that outlet is on the UPS. The XB7 was not on the UPS: a tripped breaker on 2026-11-21 cut it while `morpheus` stayed up |

## Wall display

The office's dashboard, outside the rack
Expand Down Expand Up @@ -1188,6 +1197,7 @@ the runbook rather than backed up.
[^UPS]: [APC Smart-UPS](https://www.apc.com/us/en/product-range/61913-smart-ups/)
[^Shiva]: [HPE ProLiant DL360 Gen9](https://buy.hpe.com/us/en/servers/rack-servers/proliant-dl300-servers/proliant-dl360-server/p/1010026922)
[^ProDesk]: [HP ProDesk 600 G4 Mini](https://www.microcenter.com/product/692358/)
[^modem]: [Hitron CODA56](https://us.hitrontech.com/products/consumers/coda56/)
[^Trinity]: [HP ProDesk 600 G4 Micro, the refurbished unit that is `trinity`](https://www.ebay.com/itm/237046034784)
[^Exos]: [Seagate Exos X20 18TB SATA 6Gb/s 7200RPM Enterprise HDD ST18000NM003D 0HR Drives](https://www.ebay.com/itm/237056026029)
[^Exos2]: [Seagate Exos X20 18TB 7200 SATA 6Gb/s 3.5" Enterprise Hard Drive - ST18000NM003D, eBay Refurbished](https://www.ebay.com/itm/155636746868)
Expand Down
34 changes: 19 additions & 15 deletions docs/network.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,20 +81,24 @@ truth for what a box actually does.

### Notes

- Cat6 from the ISP gateway[^modem] to the WAN interface of the ProDesk[^ProDesk]
(`em0`): a factory cable since 2026-11-01
([#923](https://github.com/Gerrrt/HomeLab/issues/923)), in the
gateway's ports. Every one of the XB7's ports has now gone bad under it:
the striped 2.5G one (2026-11-01), the first two gigabit ports (2026-11-07,
2026-11-18), and the third (2026-11-21, after a tripped breaker cut the
XB7's power), when the cable went back to a port that had failed before.
Each one sent `em0` CRC and length errors with zero symbol errors, and
moving ports cleared it each time, so a port that fails does not stay
failed. That shows up as `errs` in `netstat -I em0 -w 5`, and as
`WanReceiveErrors`. The XB7 is the suspect, not the cable; the
[Hitron CODA56](https://github.com/Gerrrt/HomeLab/issues/1594) replaces it.
- The gateway runs in bridge mode; its own Wi-Fi radio stays operational but is
unused. All wireless is handled by eero units on tagged VLANs.
- Cat6 from the cable modem[^modem] to the WAN interface of the ProDesk[^ProDesk]
(`em0`), in the modem's one Ethernet port, a 2.5G port that `em0`, a
1 Gbit I219, meets at 1000baseT. The modem is a Hitron CODA56, owned, since
2026-11-22 ([#1594](https://github.com/Gerrrt/HomeLab/issues/1594)); it
replaced a rented Xfinity XB7.
Comment thread
Gerrrt marked this conversation as resolved.
Resolved
- **`em0` itself is the known fault on this link.** From time to time it
starts taking inbound frames as CRC and fragment (length) errors, with
zero symbol, alignment and collision errors on a clean 1000baseT
full-duplex link, and downloads fall to a few Mbit/s while upload and
latency look normal. That shows up as `errs` in `netstat -I em0 -w 5`, and
as `WanReceiveErrors`. On 2026-11-22 it carried on across a new modem, a
re-plug at `em0` and a different cable, and stopped when `morpheus` was
rebooted. So **the remedy is rebooting `morpheus`**, not the modem or the
cable. The earlier incidents blamed on the XB7's ports (2026-11-01, 11-07,
11-18, 11-21) were cleared by re-plugging, which also reset `em0`'s link.
Taking the WAN off `em0` is the durable fix, and it is not decided.
- The modem is a modem only: no router and no Wi-Fi radio. All wireless is
handled by eero units on tagged VLANs.
- **One inbound pass, and one only** — the WireGuard endpoint decided by
[ADR-0042](adr/0042-terminate-the-remote-path-on-the-lab-and-route-it.md): a
UDP `rdr` to the lab jumpbox, terminating on ImaginationLAN and reaching the
Expand All @@ -112,7 +116,7 @@ truth for what a box actually does.
what arrives through it is a keyed peer or nothing, and how far a peer
reaches is decided on the ImaginationLAN interface, not here.

[^modem]: [Xfinity Gateway (XB7)](https://www.xfinity.com/support/articles/broadband-gateways-userguides)
[^modem]: [Hitron CODA56](https://us.hitrontech.com/products/consumers/coda56/)
[^ProDesk]: [HP ProDesk 600 G4 Mini](https://www.microcenter.com/product/692358/)

---
Expand Down
5 changes: 3 additions & 2 deletions docs/roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,9 @@ fitted and read back from the installed host
([#421](https://github.com/Gerrrt/HomeLab/issues/421)). So did the factory
patch cable for the WAN, fitted on 2026-11-01
([#923](https://github.com/Gerrrt/HomeLab/issues/923)); it fixed the
hand-crimped plug, and the rest of that fault was the XB7's 2.5G port,
recorded in the [changelog](changelog.md). On 2026-10-13 the move
hand-crimped plug. The rest of that fault was blamed on the XB7's 2.5G port
and turned out on 2026-11-22 to be `em0` itself, recorded in the
[changelog](changelog.md). On 2026-10-13 the move
into the 32U rack ([#919](https://github.com/Gerrrt/HomeLab/issues/919)) put
its parts here, which had been listed only in its runbook's §0.1, and
`Saruman`'s memory joined them. The six rows the move needed (`smaug`'s
Expand Down
19 changes: 11 additions & 8 deletions docs/runbooks/move-into-the-32u-rack.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ and every part on the shopping list in [§0.1](#01-the-parts)
> step in §6.1 was wrong: the XB7's striped 2.5G port corrupted about one inbound
> frame in ten on `em0`, so the WAN patch now uses one of the XB7's gigabit
> ports. §6.1 says so.
>
> **2026-11-22: the WAN step corrected again.** The XB7 is gone: a Hitron
> CODA56 replaced it, and the errors blamed on the XB7's ports were `em0`'s
> own, cleared by rebooting `morpheus`
> ([`network.md`](../network.md)). §6.1 says so.

**Do the sections in order. Each step says what to do, what you should see,
and what to do if you see something else.** The reasoning is at the end,
Expand Down Expand Up @@ -421,14 +426,12 @@ units (§1.2), then the next one up.
- **`trinity`'s 2 TB USB photo disk goes on `trinity`'s tray**, beside it,
strapped down with velcro so it cannot slide off or hang by its cable. Plug
it back in before `trinity` powers up in §7: it holds Immich's originals.
- **The XB7 to `morpheus`'s `em0`:** a factory cable, seated until the latch
clicks, in one of the XB7's **gigabit** ports, **not** the striped 2.5 Gbit
one. On 2026-11-07 the 2.5G port delivered about 10 % of inbound frames
to `em0` corrupt (`sysctl dev.em.0.mac_stats` showed CRC and length errors,
with zero symbol errors). That held downloads near 20 Mbit/s. A gigabit
port gave zero errors and about 630 Mbit/s. `em0` is a 1 Gbit I219, so
the 2.5G port never had anything to give it. After moving it,
`netstat -I em0 -w 5` should show `errs` at 0.
- **The modem to `morpheus`'s `em0`:** Cat6, seated until the latch clicks,
in the CODA56's one Ethernet port. `em0` is a 1 Gbit I219 and meets the
port at 1000baseT. Afterwards `netstat -I em0 -w 5` should show `errs` at
0. If `errs` climbs with `sysctl dev.em.0.mac_stats` showing CRC and length
errors and zero symbol errors, reboot `morpheus`: on 2026-11-22 that
cleared it when a new modem, a re-plug and a different cable did not.
- KVM: one lead set each, **by the port map in
[`hardware.md`](../hardware.md#console-and-power-maps)**: `morpheus` on 1,
`trinity` on 2, `Saruman` on 3, `smaug` on 4 if the TS150's rear VGA is
Expand Down
12 changes: 7 additions & 5 deletions stacks/observability/prometheus/rules/internet.rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,10 @@ groups:
# received packets as CRC errors during a download. That is a physical
# fault on the cable between the XB7 and morpheus — the cable, the
# modem's port, or the NIC's — and nothing upstream of the modem can
# cause it. Reseating the plug in the XB7 cleared it. TCP cannot
# cause it. Reseating the plug in the XB7 cleared it. (On 2026-11-22
# it was narrowed to the NIC: the errors carried on across a new
# modem and a different cable, and a reboot of morpheus cleared
# them. Each reseat had been resetting em0's link.) TCP cannot
# outrun 0.6% loss at ~14ms, so it looks exactly like "the internet is
# slow". ifInErrors is the generic receive-error counter, not CRC
# alone, which is why the description names the driver's breakdown.
Expand All @@ -185,10 +188,9 @@ groups:
`ssh admin@10.0.99.1 sysctl dev.em.0.mac_stats | grep -E
'crc|align|symbol|jabber|fragment'`. If crc_errs climbs with
symbol_errors at 0, the signal decodes cleanly and the frames
arrive bad: move the factory cable to another of the XB7's
gigabit ports, which cleared it on 2026-11-07 and 2026-11-19
when an XB7 reboot did not. If symbol_errors climb too, suspect
the plug's seating or the I219's port.
arrive bad: reboot morpheus, which cleared it on 2026-11-22
when a new modem, a re-plug and a different cable did not.
If symbol_errors climb too, suspect the plug's seating.

- alert: SpeedtestStale
# No completed test for over 90 minutes, in either of two shapes:
Expand Down
7 changes: 3 additions & 4 deletions stacks/observability/prometheus/tests/internet.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,9 @@ tests:
`ssh admin@10.0.99.1 sysctl dev.em.0.mac_stats | grep -E
'crc|align|symbol|jabber|fragment'`. If crc_errs climbs with
symbol_errors at 0, the signal decodes cleanly and the frames
arrive bad: move the factory cable to another of the XB7's
gigabit ports, which cleared it on 2026-11-07 and 2026-11-19
when an XB7 reboot did not. If symbol_errors climb too, suspect
the plug's seating or the I219's port.
arrive bad: reboot morpheus, which cleared it on 2026-11-22
when a new modem, a re-plug and a different cable did not.
If symbol_errors climb too, suspect the plug's seating.

# A stray error every two minutes, 7.5 in fifteen: under the line.
- interval: 1m
Expand Down