docs: record Matter/IPv6 findings — stale matter-server mDNS address, SSID cleanup, ER-X ULA infeasibility (W1N-207)
This commit is contained in:
+38
-1
@@ -13,6 +13,11 @@ from each section below.
|
||||
> **Verified live on 2026-08-06** by read-only SSH from the WSL client. No
|
||||
> changes were made. `gfw.windy.lan` root SSH was re-verified the same day after
|
||||
> the key was installed; its facts below are from the fresh probe.
|
||||
>
|
||||
> **IPv6 re-verified 2026-08-20** (read-only): UniFi controller `Default`
|
||||
> network IPv6 enabled (SLAAC/RA), both APs hold global SLAAC addresses, and
|
||||
> `zhiqiangf` key-only AP SSH re-confirmed. See
|
||||
> [unifi-network.md](unifi-network.md).
|
||||
|
||||
---
|
||||
|
||||
@@ -76,7 +81,10 @@ from each section below.
|
||||
| Port-forwards | `hass`→192.168.55.11:8123 · `transmission`→192.168.66.51:51413 · `ssh`→192.168.66.36:22 (orig 5822) · `openvpn`→192.168.66.32:1194 · WAN iface pppoe0 |
|
||||
| Management | SSH TCP 22 · EdgeOS GUI HTTP 80 / HTTPS 443 |
|
||||
|
||||
**Static DHCP mappings (LAN66):** `OnePlus-12`=.37, `gfw`=.1, `hp-nas`=.32, `pihole`=.36, `pve`=.26, `transmission`=.51, `ubnt-6`=.6, `ubnt-app`=.46, `windy-pc`=.99. LAN55: `Aqara-Hub-M3-10CB`=.248.
|
||||
**Static DHCP mappings (LAN66):** `OnePlus-12`=.37, `gfw`=.1, `hp-nas`=.32, `pihole`=.36, `pve`=.26, `transmission`=.51, `ubnt-6`=.6, `ubnt-app`=.46, `windy-pc`=.99. LAN55: `Aqara-Hub-M3-10CB`=.248, `SmartThings-Station`=.48, `espressif`=.47,
|
||||
`hass`=.11, `hass-wifi`=.250, `ihost`=.12, `midea_ac_0418`=.10,
|
||||
`midea_e3_0198`=.42, `roborock-wm-a141`=.43, `samsung-hub`=.251,
|
||||
`matter`=.41 (added 2026-08-20).
|
||||
|
||||
> **Note:** `LAN_IN`/`LAN_OUT` are defined but not applied to an interface, so LAN55
|
||||
> and LAN66 are bidirectionally reachable by default. Do not rely on those rules as
|
||||
@@ -168,6 +176,35 @@ See [docs/unifi-openclash-localhost.md](../docs/unifi-openclash-localhost.md).
|
||||
Both reported **Connected** to `http://192.168.66.46:9080/inform` on 2026-08-06.
|
||||
AP SSH account is `zhiqiangf` (key-only, verified). See [docs/unifi-network.md](../docs/unifi-network.md).
|
||||
|
||||
**IPv6 (verified 2026-08-20):** both APs hold global SLAAC IPv6 addresses on
|
||||
`br0` — U6 Lite `240e:3bd:235:1fb1::/64` (LAN66), UAP-AC-Lite
|
||||
`240e:3bd:235:1fb2::/64` (LAN55) — with RA default routes via `gw`; the
|
||||
controller's `Default` network has IPv6 enabled (SLAAC). Prefixes are dynamic
|
||||
(PPPoE PD), so they rotate on redial. Details:
|
||||
[docs/unifi-network.md](../docs/unifi-network.md).
|
||||
|
||||
**SSID cleanup (2026-08-21, W1N-207):** the SmartThings Element/vWire provisioning
|
||||
SSIDs (`element-8a0d5133c9438f12`, `vwire-8b2d67469e455785`, `vport-F09FC22004E9`)
|
||||
were removed/disabled in the controller (`element_adopt` setting off, element wlanconf
|
||||
deleted, connectivity `x_mesh_essid`/`x_mesh_psk` cleared, device `x_vwirekey` removed,
|
||||
`vwire_enabled`/`mesh_sta_vap_enabled=false`) and cleared from both APs; all
|
||||
vwire/vport/element flags on the remaining SSIDs are now `disabled`.
|
||||
|
||||
**Stable ULA on gw: not feasible (2026-08-21, W1N-207):** EdgeOS v3.0.1
|
||||
`interfaces switch switch0` rejects a static `ipv6 address`, and an explicit
|
||||
`router-advert` node *replaces* the DHCPv6-PD-slaac RA (drops the delegated GUA
|
||||
prefix from radvd → LAN55 loses IPv6 egress after RA expiry). Attempted and rolled
|
||||
back cleanly (no `save`; gw config unchanged). Consequence: after a PD rotation,
|
||||
restart HA's matter-server (see [hosts/hass.windy.lan.md](../hosts/hass.windy.lan.md))
|
||||
to clear stale IPv6 mDNS caches.
|
||||
|
||||
**LAN55 RA environment (observed 2026-08-21):** besides `gw`, the SmartThings
|
||||
Station (.48) and Aqara M3 (.248) act as Thread border routers and advertise ULA
|
||||
prefixes (`fd00:5a7:6415:1::/64`, `fd97:d580:16fe:1::/64`); several LAN55 hosts
|
||||
(HA, PVE, UAP-AC-Lite) have IPv6 forwarding enabled and mark themselves as
|
||||
routers in NDP. This is normal Thread-BDR behaviour and was not the Matter
|
||||
failure cause.
|
||||
|
||||
---
|
||||
|
||||
## Quick orientation (who runs what)
|
||||
|
||||
+64
-3
@@ -68,6 +68,66 @@ db.device.find(
|
||||
).pretty()
|
||||
```
|
||||
|
||||
## IPv6 status (verified 2026-08-20)
|
||||
|
||||
IPv6 is **enabled and live** on the main Wi-Fi networks. Read-only
|
||||
verification, no changes made.
|
||||
|
||||
**Controller (`networkconf` in the `ace` DB):** the `Default` LAN network has
|
||||
`ipv6_enabled: true`, `ipv6_client_address_assignment: slaac`,
|
||||
`ipv6_ra_enabled: true`, `ipv6_ra_priority: high`, and
|
||||
`dhcpdv6_allow_slaac: true`. `ipv6_interface_type: "none"` is expected: the
|
||||
network's gateway is the third-party EdgeRouter (`gw`), so the controller does
|
||||
not manage WAN-side IPv6 — RA/SLAAC is served by the router.
|
||||
|
||||
All active SSIDs map to the `Default` network: `ubnt-windy` (5G),
|
||||
`ubnt-windy-2` (2.4G), `ubnt-haas` (2.4G) — clients on them receive SLAAC IPv6.
|
||||
|
||||
Exception: the dormant `ubnt-upg` VLAN 10 network (and its `ubnt-upg` SSID) has
|
||||
no IPv6 configuration (default off). See
|
||||
[Dedicated Wi-Fi through a third-party gateway](#dedicated-wi-fi-through-a-third-party-gateway).
|
||||
|
||||
**APs (live):** both managed APs hold global SLAAC addresses on `br0` with a
|
||||
default route learned via RA from `gw`:
|
||||
|
||||
| AP | Global IPv6 on `br0` (at check time) | Default route |
|
||||
|---|---|---|
|
||||
| U6 Lite (`192.168.66.6`) | `240e:3bd:235:1fb1:...`/64 | `default via fe80::... dev br0 proto ra` |
|
||||
| UAP-AC-Lite (`192.168.55.5`) | `240e:3bd:235:1fb2:...`/64 | `default via fe80::... dev br0 proto ra` |
|
||||
|
||||
The delegated prefixes are dynamic ISP allocations (PPPoE PD `/60`) and rotate
|
||||
on redial; only the structure is stable.
|
||||
|
||||
**Gateway (`gw`):** the IPv6 routing table shows connected `/64`s on `eth0`
|
||||
(LAN66) and `switch0` (LAN55) plus `::/0` via `pppoe0`.
|
||||
|
||||
Re-verify:
|
||||
|
||||
```bash
|
||||
ssh -4 -o BatchMode=yes zhiqiangf@192.168.66.6 'ip -6 addr show br0; ip -6 route show'
|
||||
ssh -4 -o BatchMode=yes zhiqiangf@192.168.55.5 'ip -6 addr show br0; ip -6 route show'
|
||||
```
|
||||
|
||||
> **2026-08-21 (W1N-207):** SmartThings Element/vWire provisioning SSIDs
|
||||
> (`element-8a0d5133c9438f12`, `vwire-8b2d67469e455785`, `vport-F09FC22004E9`) were
|
||||
> removed (element_adopt setting disabled + element wlanconf deleted + device vwire
|
||||
> fields cleared) and confirmed off on both APs (normal SSIDs unchanged: `ubnt-windy`,
|
||||
> `ubnt-windy-2`, `ubnt-haas`, `ubnt-upg`). Root cause of Matter onboarding failure that
|
||||
> day: HA's matter-server advertised a stale IPv6 GUA (two prefix generations old) in
|
||||
> mDNS; fixed by restarting the add-on — see [hosts/hass.windy.lan.md](../hosts/hass.windy.lan.md).
|
||||
>
|
||||
> **SSID ↔ subnet split (Matter-relevant):** `ubnt-windy` (5G) is served only by the
|
||||
> U6 Lite on LAN66; `ubnt-haas` / `ubnt-windy-2` (2.4G) only by the UAP-AC-Lite on
|
||||
> LAN55. mDNS is link-local multicast and does **not** cross the routed 55/66
|
||||
> boundary (no mDNS reflector). Matter commissioning therefore requires phone and
|
||||
> device on the **same subnet (LAN55)**; a phone on 5G (LAN66) cannot discover a
|
||||
> LAN55 Matter device.
|
||||
>
|
||||
> **Cleanup side-effects (left as-is, harmless):** after the direct-DB cleanup,
|
||||
> `db.device.cfgversion` holds placeholder values (`0000000000000000` /
|
||||
> `1111111111111111`) and UAP-AC-Lite has `mesh_sta_vap_enabled=false`; the
|
||||
> controller has not reverted them and no functional impact was observed.
|
||||
|
||||
## Dedicated Wi-Fi through a third-party gateway
|
||||
|
||||
### Architecture boundary discovered on 2026-08-08
|
||||
@@ -151,9 +211,10 @@ Use `ssh zhiqiangf@AP_IP` for the adopted-device account. Do not query or copy
|
||||
the controller's `mgmt` database setting into logs or documentation: it can
|
||||
contain the managed SSH password.
|
||||
|
||||
On 2026-08-06, key-only IPv4 SSH was verified for both managed APs using the
|
||||
`zhiqiangf` account. Verify future access without permitting password or
|
||||
keyboard-interactive fallback:
|
||||
Key-only IPv4 SSH was verified for both managed APs using the `zhiqiangf`
|
||||
account on 2026-08-06 and re-verified 2026-08-20 (BatchMode with password and
|
||||
keyboard-interactive disabled; both APs still log in key-only). Verify future
|
||||
access without permitting password or keyboard-interactive fallback:
|
||||
|
||||
```bash
|
||||
ssh -4 -o BatchMode=yes -o PasswordAuthentication=no \
|
||||
|
||||
Reference in New Issue
Block a user