Skip to content

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

Open

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.

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
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 7, 2026
  6. dezren39 commented on Nov 8, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  7. added
    work/assignedQueue worker lifecycle state
    and removed on Nov 8, 2026
  8. 28 remaining items

  9. added
    user/escalatedRequires a Drew decision or access
    and removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 8, 2026
  10. developing-today commented on Nov 8, 2026

    @developing-today
    Contributor

    agent-note:v1\ntask: 11116\nlane: code-c\ntransition: handed_off\nAssigned execution lane opencode per fleet queue lane call; checkpointed handed_off for task 11116 (issue #1280). The opencode claimant launches the bound session; this lane does not work the task directly.

  11. dezren39 commented on Nov 8, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 agent=repo-worker-code state=picked-up-then-triaged task=11116 lane=7b47536b-c162-444c-be8a-3a9538cc4cb5 at=2026-11-08T10:58Z

    Repeated claim of task 11116 was revalidated against the existing fresh triage evidence. Issue #1280 remains open with user/escalated; the full triage note is comment 6720277252 and records same-day measurements, the root cause boundary, and the required resume condition (Deco IPv6 WAN details or vaulted admin access, plus explicit approval for any laptop Wi-Fi band change). No further work is appropriate from this task; it terminates as triaged, with no follow-up queued until the stated user-owned blocker clears.

  12. developing-today commented on Nov 8, 2026

    @developing-today
    Contributor

    🤖 Agent note · blocked — escalated to user (task 13594)

    • Agent: repo queue worker, lane code-b (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-b run 2026-11-08; task 13594
    • Found via: queue claim · task 13594
    • Task: task 13594 for issue Home network: IPv6 uplink stalls on payload transfers (PMTUD/router/ISP) #1280 (coverage-audit requeue). Acceptance is triage-shaped: triage with evidence, blockers recorded if the fix cannot proceed.
    • Fresh verification (this run, on amd — the affected host): wlp1s0 still carries only ULA fd2e:2810:acf5:4:…/64 + link-local, no global IPv6 address; default v6 route still via the Deco's link-local fe80::76fe:ceff:fe81:b86a; curl -6 https://registry.npmjs.org/ fails to connect (rc 7, code 000, 2.2 s); curl -4 same host returns 200 in 0.11 s. State is unchanged from triage task 11116's full measurement set today (2026-11-08T10:22Z, comment 6720277252 on this issue).
    • Blocker (genuinely Drew's, already user/escalated): the fix is router-side — read the Deco IPv6 WAN screen (Deco app → More → Advanced → IPv6: connection type, WAN IPv6 address, delegated prefix, LAN IPv6 mode) or vault the Deco admin login, plus an explicit go for any laptop Wi-Fi band change on amd (the fleet execution host). No code-repo work exists for this issue until that lands; the IPv4-precedence workaround (nixos/hosts/amd-ipv4-preference.nix, PR Prefer IPv4 on amd (getaddrinfo workaround for #1280) #1286) stays in place until the acceptance test passes.
    • Outcome: task 13594 blocks as escalated-to-user. Issue Home network: IPv6 uplink stalls on payload transfers (PMTUD/router/ISP) #1280 should not consume further triage attempts; it resumes as a network configuration task when the resume condition above is met.
    • Links: task 13594 · issue Home network: IPv6 uplink stalls on payload transfers (PMTUD/router/ISP) #1280 · triage note 6720277252
  13. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    Closure watchdog (code#10105): removed a stale status:done.

  14. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: blocked (escalated-to-user - gate answered by Drew, work is his, re-verified this pass)
    task 18104 (repo-health-code-pilot, lane code-e)

    Bulk-intake triage, 2026-11-17.

    Fresh state checked this run: issue #1280 is OPEN, labels task/triage, status/blocked, user/escalated, queue/blocked. No held, user/owned, do-not-merge, or do-not-auto-edit label.

    Triage of record: task 11116 (2026-11-08, comment 6720277252 - same-day measurements, root-cause boundary, resume condition), and task 13594 (2026-11-08, lane code-b) which blocked escalated after fresh on-host verification that the laptop still had no global IPv6 address and curl -6 failed while curl -4 worked.

    Gate status, verified this run in the pending-decisions ledger: item deco-login-1280 ("Deco (#1280): provide the admin login or the IPv6 WAN screen") is ANSWERED - Drew's resolution, recorded 2026-11-12 via the decisions page: "todo this weekend with the other router and ap work". So the question is no longer outstanding: Drew took the Deco/router work as his own todo, bundled with his other router and AP work. The fleet cannot clear what remains - it needs the Deco admin surface / physical home-network changes, plus (per the task 11116 record) explicit approval for any laptop Wi-Fi band change.

    Action: task 18104 blocks as escalated-to-user, naming ledger item deco-login-1280 (answered) as the delivered gate and Drew's recorded answer as the resume condition: when the router/AP work session happens and the IPv6 WAN details (or admin access) exist, the task 11116 measurement set is the resume checklist. No new ledger entry - the gate already exists and is answered; no duplicate question is raised.

  15. removed their assignment
    on Nov 20, 2026
  16. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: done (triaged)
    task: 20975
    worker: repo-worker-code
    lane: code-i
    origin: openchamber-scheduled-lane
    stage: fresh_triage

    Fresh GitHub state: #1280 remains OPEN with task/triage, status/blocked, user/escalated, queue/blocked; no held, user/owned, do-not-merge, or do-not-auto-edit labels. The existing detailed triage (comment 6720277252) records same-day measurements, the root-cause boundary, and the concrete resume condition: Deco IPv6 WAN details/admin access plus any separately needed hands-on network action. Task 18104 recorded that disposition on 2026-11-17; no new code-repo follow-on is appropriate until that existing hands-dependent condition changes. Not resolved; no implementation or repository changes.

  17. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    Hands item — confirmed in the #12234 owner-parks sweep (archer, lane S, 2026-11-22). Drew already answered this gate on 2026-11-12 (ledger item deco-login-1280): the router work is his own todo, bundled with the other router and AP work. The fleet-side workaround (IPv4 precedence on amd) stays in place until the IPv6 path is repaired and verified.

    The one action is in the marker above and in this issue's body, so the dashboard and fleet agent next treat this as a hands item; user/escalated stays until the action lands.

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

    queue/blockedQueue or user escalation statestatus/blockedQueue or user escalation statetask/triageQueue packet kind: verify, reproduce, and route this itemuser/escalatedRequires a Drew decision or access

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions