Skip to content

Home network: IPv6 uplink stalls on payload transfers (PMTUD/router/ISP) #1280

Todo

Description

@dezren39

Problem: home IPv6 uplink stalls on real transfers

Diagnosed 2026-10-26 during the OpenClaw install work on the amd laptop.

Symptom: IPv6 connections to Cloudflare-fronted hosts (e.g. registry.npmjs.org) stall at zero bytes on payload-sized responses, while IPv4 to the same hosts is healthy (~530 KB/s).

Evidence (on amd, home network):

  • curl -6 of a ~4 MB npm tarball: 0 bytes after ~22 s (hard stall, not slowness).
  • curl -4 of the same tarball: full download in ~8 s.
  • Interactive tools with happy-eyeballs (curl default) mask the problem by falling back to IPv4; node/pnpm does not fall back the same way, so nix fixed-output fetches for npm/pnpm deps repeatedly stalled mid-build (notably the ~780-package summarize pnpm-deps FOD), while shell tests looked fine.

Impact

  • npm/pnpm fetches from Nix builds on home machines are unreliable/slow.
  • Any IPv6-first client without robust fallback can hang on this network.

Workaround in place

  • IPv4 precedence via networking.getaddrinfo in the amd host config (precedence ::ffff:0:0/96 = 100), marked as temporary.
  • Prefer-IPv4 choices in ad-hoc tooling until this is fixed.

What "fixed" means

Find and repair the root cause on the home network. Suspects, in order:

  1. PMTUD black hole on the IPv6 path (large packets dropped; small handshakes succeed — matches the 0-byte-after-connect shape).
  2. Router/ONT IPv6 handling (prefix delegation, RA/MTU advertisement, firmware).
  3. ISP IPv6 routing/peering toward Cloudflare.

Acceptance: curl -6 sustains multi-MB downloads from registry.npmjs.org and other Cloudflare hosts at speeds comparable to IPv4, repeatedly; then the getaddrinfo IPv4-preference workaround comes back out.

Acceptance criteria

  • curl -6 sustains multi-MB downloads from registry.npmjs.org and other Cloudflare hosts at speeds comparable to IPv4, repeatedly.
  • Then the getaddrinfo IPv4-preference workaround comes back out.

Activity

  1. developing-today commented on Oct 27, 2026

    @developing-today
    Contributor
  2. added a commit that references this issue on Oct 27, 2026
  3. dezren39 commented on Nov 6, 2026

    @dezren39
    MemberAuthor

    Revived 2026-11-06 — root cause never fixed; baseline re-measured

    Drew ruled 2026-11-06: fix it (revive the laptop LAN fix under the networking priority; explore the router + Wi-Fi side). This issue was closed 2026-10-27 by the board-sync bot with only a task-board link comment — the acceptance test in the body above (sustained curl -6 multi-MB downloads) never passed. Today's baseline proves global IPv6 is still 100% broken. Reopening.

    Related: #6067 (edge routing rewire, lab build-out #6066).

    The original problem (restated from the Oct 25–27 record)

    Two layers, both diagnosed 2026-10-25/26:

    1. The LAN's IPv6 is ULA-only with no upstream. The router advertises fd2e:2810:acf5:4::/64 plus a default route via SLAAC, but returns Destination Unreachable at hop 1 for any global IPv6 destination. Oct 26 variant of the symptom: curl -6 to Cloudflare-fronted hosts connected, then stalled at 0 bytes on payload transfers (curl -4: full ~4 MB in ~8 s) — the shape that broke node/pnpm fetches inside nix builds.
    2. Clients don't fall back. Node 24's undici happy-eyeballs dies on this network (fetch → ETIMEDOUT; dns ipv4first does not rescue it; net.setDefaultAutoSelectFamily(false) does). Curl masks the problem by falling back.

    Workarounds that landed (both still in force):

    • System-wide IPv4 precedence via networking.getaddrinfo (precedence ::ffff:0:0/96 = 100) in the amd host config, PR Prefer IPv4 on amd (getaddrinfo workaround for #1280) #1286 — marked temporary.
    • A NODE_OPTIONS shim scoped to the (since-retired) commandcode proxy tree, plus a prefer-IPv4-everywhere convention in tooling.
    • Parked as tracked item "Laptop LAN network fix (IPv6 + latency)" 2026-10-25; Drew: proper fix is router/ISP-side.

    Baseline — measured from amd, 2026-11-06 ~13:56–14:02 CST (read-only)

    • Interface: Wi-Fi only. wlp1s0 = MediaTek MT7922 (Wi-Fi 6E). IPv4 192.168.68.51/22, gateway 192.168.68.1. IPv6: ULA fd2e:2810:acf5:4::/64 (SLAAC) + link-local only — no global address, no delegated prefix on the LAN. Default v6 route via the router's link-local (fe80::76fe:ceff:fe81:b86a, RA).
    • LAN latency (v4, gateway): min 1.2 / avg 4.4 / max 18.5 ms, 0% loss. WAN (1.1.1.1): avg 26.5 ms, max 122 ms — jitter consistent with the Wi-Fi association below. (The Oct-25 note of 300–470 ms LAN RTT does not reproduce today; current pain is jitter + the v6 blackhole, not raw LAN RTT.)
    • Global IPv6: still dead. ping6 2606:4700:4700::1111: 100% loss, +5 errors (unreachable from hop 1). curl -6 to the Cloudflare literal: instant connect failure. curl -6 to registry.npmjs.org: connect failure after 2.5 s. curl -4 of the same 4 MB tarball: 200 in 0.74 s. DNS serves AAAA records normally, so any v6-preferring client without the gai.conf workaround still walks into the blackhole.
    • Wi-Fi: associated to SSID "I win again, Lews Therin." on 2.4 GHz ch 11, 20 MHz width, −50 dBm, WPA3-SAE. The same SSID is also broadcast on 5 GHz ch 149 (5745 MHz, −68 dBm) from a different-MAC unit — the laptop is not on it; the stronger 2.4 GHz signal wins and there is no effective band steering onto 5 GHz.

    Router identity — correction to the working assumption

    The current edge is not OpenWrt. 192.168.68.1 is a TP-Link on stock firmware: web UI at /webpages/index.html (TP-Link $.su app, tpEncrypt.js), no LuCI (/cgi-bin/luci/ → 404), SSH closed on 22/2222/8022, ports 53/80/443 open. The box is also the 2.4 GHz AP (BSSID is a locally-administered sibling of the gateway MAC). The OpenWrt device in our records is a historical Tailscale peer (openwrt, 100.100.126.100) — offline, last seen 367 days ago. (2024 notes: pfSense → OpenWrt happened, then "should we abandon openwrt" — the TP-Link is what runs the edge today.) Exact TP-Link model is not recorded anywhere in fleet docs.

    Router access state

    • Web UI reachable from the laptop at http://192.168.68.1 — login required.
    • The fleet holds no admin credential for it: fleet secrets and 1Password (Dev + Walla) checked by name — no router/OpenWrt/TP-Link entry exists.
    • What Drew needs to hand over: the TP-Link admin password, vaulted (BWS + 1Password) — then a follow-up pass can read the IPv6/Wi-Fi config directly. Alternative: Drew opens the UI once and reads out the Internet → IPv6 status page (WAN6 address? prefix delegation? connection type?) and the LAN IPv6 mode.

    Diagnosis

    The TP-Link advertises itself as the IPv6 default router and hands out ULA addresses, but has no working global IPv6 path: no prefix is delegated to the LAN, and all global destinations are unreachable at hop 1. The fault is in the router's IPv6 WAN configuration or upstream of it — two sub-cases, distinguishable only from the router's IPv6 status page:

    • (a) The ISP offers IPv6 (DHCPv6-PD or SLAAC on WAN) but the router's WAN6 mode/LAN assignment is misconfigured → fixable in the UI; LAN gets a real prefix.
    • (b) The ISP offers no IPv6 → the router's half-on state (ULA + default route) is the worst of both worlds; the correct fix is to stop advertising a v6 default route so clients cleanly use IPv4.

    The PMTUD suspect from the original filing is moot in today's failure mode — connections no longer establish at all (no route), vs. Oct 26's connect-then-stall. Both modes are router-side. The latency half of the complaint is mostly Wi-Fi: a Wi-Fi 6E laptop camped on 2.4 GHz/20 MHz while a 5 GHz radio with the same SSID sits unused.

    Ranked proposals (nothing applied this pass — read-only per Drew's ruling)

    1. Steer amd to the existing 5 GHz radio (laptop-side connection config; BSSID/band preference). Expected: much lower jitter, far higher throughput. Reversible instantly. Disruption: a few seconds of link renegotiation on the laptop only. Not applied this pass — amd is the fleet's execution host; even a brief self-inflicted drop gets a explicit go.
    2. Read the router's IPv6 status once access exists (see handover above). No change, no disruption. Decides 3a vs 3b.
      3a. If the ISP delegates a prefix: set the TP-Link's WAN6 mode correctly and LAN assignment to the delegated prefix (SLAAC). Then re-run this issue's acceptance (curl -6 sustains multi-MB ≈ IPv4 speed, repeatedly) and remove the gai.conf IPv4-precedence workaround via PR. Disruption: router apply may bounce Wi-Fi briefly; schedule it.
      3b. If the ISP offers no IPv6: disable the router's v6 default-route advertisement / LAN IPv6 (link-local only). Clients stop blackholing; keep gai.conf until verified clean, then remove it too. Disruption: RAs change; clients re-converge in seconds–minutes.
    3. Router Wi-Fi settings (with access): enable band steering / Smart Connect so dual-band clients prefer 5 GHz; 5 GHz width 80 MHz; leave 2.4 GHz at 20 MHz; confirm WMM on. Disruption: possible brief Wi-Fi drop on apply.

    Acceptance remains as written in the body above, plus: gateway/WAN jitter re-measured on 5 GHz after proposal 1.

  4. dezren39 commented on Nov 6, 2026

    @dezren39
    MemberAuthor

    Topology correction (2026-11-06, follow-up lane) — the TP-Link is the Wi-Fi and the router; there is no second router upstream

    Drew's correction on the previous comment: the TP-Link at 192.168.68.1 is "my Wi-Fi, not my router." Verified the device's identity and role read-only from the laptop (laptop-agent; UPnP IGD queries, dhcpcd lease dump, ARP/NDP, traceroute). Result: Drew's framing is how the box is used (it's the mesh he manages in the Deco app), but at layer 3 it is also the edge router. The previous comment's symptom measurements all stand; only the device attribution and the fix targets change.

    Evidence

    • Identity: the device's own UPnP description (http://192.168.68.1:1900/lqyai/rootDesc.xml, reached via SSDP) — manufacturer TP-LINK, model BE11000 (Deco BE65-class Wi-Fi 7 mesh), deviceType InternetGatewayDevice:1, MiniUPnPd 2.2.2. An IGD that answers WANIPConnection queries is a NAT router, not an access point.
    • WAN session lives on the Deco: UPnP GetExternalIPAddress → 67.144.128.109, identical to the laptop's observed public egress; GetStatusInfo → Connected, IP_Routed, uptime ~6.0 days. Traceroute from the laptop: hop 1 = 192.168.68.1, hop 2 = 67.144.128.1 (dhcp-67-144-128-1.gobrightspeed.net) — a public ISP aggregation address. No private hop exists, so no in-home device routes or NATs upstream of the Deco (no double NAT).
    • LAN services all originate at the Deco: default gateway 192.168.68.1 (ARP MAC 74:fe:ce:81:b8:6a); DHCPv4 lease (dhcpcd dumplease): routers=192.168.68.1, subnet 192.168.68.0/22, DNS handed out = 8.8.8.8 / 4.2.2.1, lease 7200 s.
    • The RAs come from the Deco itself: the IPv6 default route is via fe80::76fe:ceff:fe81:b86a, whose neighbor entry resolves to the same MAC 74:fe:ce:81:b8:6a; the Deco holds fd2e:2810:acf5:4:76fe:ceff:fe81:b86a on the advertised ULA prefix. The Deco — not an upstream box — advertises fd2e:2810:acf5:4::/64 plus itself as default router.
    • The blackhole is at the Deco: ping6 to a global address returns ICMP Destination unreachable: No route from the Deco's own ULA address. It accepts the default-router role but has no onward IPv6 route (WAN6 absent/unconfigured).
    • Upstream ISP device: Brightspeed fiber termination (ONT/bridge; model not in our records) — it has no layer-3 presence in any measurement, so it owns neither the WAN session nor IPv6. Whether it is a plain ONT or a gateway in bridge mode is immaterial to the fix.
    • Mode verdict: ROUTER mode (public WAN IP + NAT/IGD + DHCP server + RA origination). Not AP mode — in AP mode the gateway, DHCP, and RAs would all carry an upstream device's identity.
    • Credentials: the fleet holds no admin credential for the Deco or the ONT (fleet secrets and 1Password Dev/Walla checked by name — nothing). A brightspeed.com login exists in Drew's own Bitwarden, but that's the ISP account portal, not device admin.

    Re-aimed fix paths (both now target the Deco's IPv6 settings)

    • 3a — if Brightspeed provisions IPv6 on the WAN (DHCPv6 + prefix delegation): configure the Deco's IPv6 connection properly (Deco app → More → Advanced → IPv6) so the advertised default route gains a working onward path; run this issue's acceptance test (sustained curl -6 downloads); then retire the gai.conf IPv4-precedence workaround via PR.
    • 3b — if not: turn IPv6 off in the Deco so it stops advertising the ULA prefix and the v6 default route; clients then stop attempting v6 entirely. Retire gai.conf after verification.

    5 GHz steering proposal — revised

    Band assignment in a mesh is a Deco-app per-device Connection Preference (Drew-side, one tap per device) or a laptop-side band/BSSID preference (fleet-side, instantly reversible, unchanged). Note the BE11000 is tri-band Wi-Fi 7 and the laptop radio is Wi-Fi 6E, so the 6 GHz band is also available as a target.

    Revised single ask for Drew

    One screen decides 3a vs 3b: Deco app → More → Advanced → IPv6 — report (or screenshot) the IPv6 connection type and whether a WAN IPv6 address/prefix is shown. Alternatively, vault the TP-Link ID login (BWS + 1Password) and the fleet reads it directly. The earlier "TP-Link admin password" ask stands in substance but is now correctly targeted: it was always the Deco's admin — there is no other router to unlock.

  5. added
    queue/queued
    task/triage
    on Nov 7, 2026
  6. dezren39 commented on Nov 8, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  7. added
    work/assigned
    and removed
    queue/queued
    on Nov 8, 2026
  8. 43 remaining items

  9. added
    epic/lab-cluster-maintenance
    primary-parent/lab-cluster-maintenance
    stray-work
    on Nov 24, 2026
  10. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    🤖 Triage re-verification — lane any-n, task 25431 · 2026-11-27

    Verdict unchanged: valid network defect, blocked on the existing hands item; no code-repo work is currently actionable. Fresh GitHub state: issue remains OPEN with task/triage, status/blocked, user/escalated, and queue/blocked; updatedAt 2026-11-24T08:29:57Z, unchanged. The detailed measurements and resume criteria remain in prior triage comment 6720277252; task 18104 records Drew's 2026-11-12 answer that router/AP work is his planned todo, and the existing hands:v1 item requests the Deco IPv6 WAN screen's WAN IPv6 and MTU details. No newer evidence satisfies that condition. No credential was accessed and no laptop network configuration was changed.

    Task 25431 is parked on the existing interactive-login hands item. Resume when the requested Deco screen details are posted; then continue with the documented network triage/acceptance path.

  11. dezren39 commented on Nov 29, 2026

    @dezren39
    MemberAuthor

    Census 2026-11-29 (lane CEN-C02) — rechecked firsthand.

    State: OPEN, real and current, and NOT a code task. The diagnosis is complete and measured from the affected host (amd): the Deco BE11000 (192.168.68.1, router mode) advertises a ULA prefix plus itself as IPv6 default router but has no onward global IPv6 path — global v6 is unreachable at hop 1 while IPv4 is healthy. Full measurement set: comment 6720277252 (2026-11-08), re-verified same-day by task 13594.

    Blocker — named, and it is a hands item, not a missing analysis: Drew's Deco session. The body's hands:v1 marker carries the exact action: in the Deco app during the planned router session, open the IPv6 WAN screen and post the WAN IPv6 and MTU details here. Drew answered this gate 2026-11-12 (ledger item deco-login-1280): the router/AP work is his own todo, bundled with his other router work. Nothing fleet-side can substitute: the fleet holds no Deco admin credential (checked repeatedly by name), and any laptop Wi-Fi band change on amd (the fleet execution host) needs his explicit go.

    Resume path once the screen details land: decide 3a (ISP delegates a prefix → configure Deco IPv6 properly) vs 3b (no ISP IPv6 → turn Deco IPv6 off so clients stop blackholing), apply, then run this issue's acceptance (curl -6 sustains multi-MB downloads from Cloudflare hosts at ≈IPv4 speed, repeatedly) and only then remove the IPv4-precedence workaround (nixos/hosts/amd-ipv4-preference.nix, PR #1286).

    Census actions: added priority/medium (fleet execution host affected, but a working workaround is in place and the fix is owner-scheduled), kind/infrastructure, and area/infra — the issue previously carried no priority or type label.

  12. added
    kind/infrastructure
    area/infra
    on Nov 29, 2026
  13. added
    priority/high
    and removed on Nov 29, 2026
  14. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Census 2026-11-29 (Felix): full re-read (body, labels, all comments, edges) in the CODE-6 recovery pass, concurring with the parallel census note (lane CEN) already on this thread, whose claims I verified against live state in this pass.

    STRENGTHS: exemplary diagnosis — measured from the affected host: the Deco BE11000 advertises a ULA prefix and itself as IPv6 default router but has no onward global IPv6 path; global v6 dies at hop 1 while IPv4 is healthy (measurement set: comment 6720277252).
    PRIORITY VALIDATION: this issue carried priority/high plus the legacy priority/medium. priority/medium is NOT in the ratified band set (critical/high/normal/low), so I re-judged it on the merits: a live uplink defect that stalls payload transfers and breaks npm/pnpm fetches in Nix builds across the home machines is "important and time-sensitive" — priority/high is the right single band.
    FIXES I APPLIED: removed legacy priority/medium; priority/high stands alone.
    REMAINS: FOR DREWRY / hands — the fix is on the router/ISP side (Deco IPv6 configuration or ISP path), not in this repo; the diagnosis and resume criteria are complete for whoever picks it up.

  15. added
    effort/m
    on Nov 29, 2026
  16. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Issue census — 2026-11-29

    Gaps found: Two priority labels were set at once — priority/high and priority/medium. priority/medium is not one of the house bands (critical/high/normal/low) and the pair is contradictory; the invalid one was removed and priority/high kept (a home-uplink stall that silently breaks IPv6-first clients and Nix fetches is high-impact, and the issue is user-escalated). No effort/* label (added effort/m); acceptance was an inline Acceptance: line, not a checkable section.

    Strengths: A model network bug report: dated diagnosis, quantified evidence (curl -6: 0 bytes after ~22s on a ~4MB tarball vs curl -4: full download in ~8s), the masking effect of happy-eyeballs explained, impact on Nix fetches named, the workaround recorded and marked temporary, and suspects ranked in order.

    Blocker recorded: Drew, at the router: the body's hands marker asks for the Deco admin app's IPv6 WAN screen (WAN IPv6 + MTU details) to be posted during his planned router session. Suspects 2 and 3 (router/ONT handling, ISP routing) cannot be separated without those facts.

    Actions taken by this census: Labels added: effort/m. Appended a ## Acceptance criteria section to the body (original text untouched), converting the issue's own acceptance wording into checkable items.

  17. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    Census untouched-items follow-up — 2026-11-29.

    This item was on the census's needs-Drew list. Everything fleet-side is done or verified as far as it goes; the record stands as verified on this thread. The one remaining act is Drew's: During your planned router session, post the Deco app's IPv6 WAN/MTU readings on this issue. Nothing else is blocked behind anything else; when that act is done, the rest is fleet work and needs no further decision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/infraeffort/mepic/lab-cluster-maintenancekind/infrastructureprimary-parent/lab-cluster-maintenancepriority/highqueue/blockedstatus/blockedstray-worktask/triageuser/escalated

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions