Skip to content

New-router edge design: WAN-on-a-VLAN over bonded SFP+ pairs, dual routers + VRRP (investigation) #6649

Closed

Description

@dezren39

What this is

Investigation (Drew, 2026-11-06): design and later configure Drew's 3 new routers (each: 10GbE + 2× SFP+ + 3× 1GbE — exact models TBD from inventory) as the home/lab edge, replacing the current TP-Link Deco BE11000 edge (see #1280). Drew: "later we'll need to investigate hooking up my new routers — I need your help [with] the best way to configure" them. Design first; no hardware moves yet.

Current state (context)

  • Edge today: Brightspeed fiber → ONT/bridge → Deco BE11000 in router mode (holds the public WAN directly; Home network: IPv6 uplink stalls on payload transfers (PMTUD/router/ISP) #1280 — it advertises an IPv6 default route with no WAN6 path, the current blackhole).
  • History correction from Drew (2026-11-06): the pre-Deco router was his APU2, which he ripped out "because deco was even more broken before" — i.e. the current Deco-as-router setup was itself the fallback. (Records previously said pfSense → OpenWrt → TP-Link; the APU2 detail is Drew's, 2026-11-06.)

The concept (Drew's design, in his words as dictated 2026-11-06)

WAN-on-a-VLAN over a bonded SFP+ pair, per router:

  • The ISP's single Ethernet handoff lands on a switch VLAN instead of a router port.
  • Both of a router's SFP+ ports bond (2× 10G) into the switch; WAN and LAN ride as VLANs over that bond, so neither SFP+ is consumed by a dedicated Internet port.
  • Wire both routers identically; run VRRP so the gateway fails over between them — the SPOF shifts from the router to the switch (accepted trade, to be examined).
  • The primary reason is NOT VRRP — it is not wasting one of the two SFP+ ports on the Internet link. Failover is the bonus.
  • Bandwidth math: the 2× SFP+ bond gives 10G per connection, 20G aggregate; reserving ~2G for ISP traffic and ~2G for WAN traffic on the inside leaves ~16G effective for other routes and networks. If the ISP ever delivers 10G, at 100% ISP utilization the bond is effectively dedicated to ISP work.
  • Later WANs to fold in: a hotspot and maybe Starlink (multi-WAN failover/policy order TBD).

Pointer owed

Drew documented this concept somewhere on a website he rendered as "mono.si" (dictation, 2026-11-06). Fleet hunt on 2026-11-06 found no copy in memory, the zettel clone, hardware-doc, or hatch-personal. Exact site/URL TBD — when located, link it here and reconcile this issue's description against it.

Investigation questions

  1. Router models/firmware: VRRP + LACP + VLAN trunking support; routing/NAT hardware offload at 10G; can both SFP+ ports bond while carrying WAN+LAN VLANs at line rate?
  2. Switch side: LACP + VLAN requirements; is the current/planned switch (see ops(lab): rack Dell switch 1 — rails, firmware, initial config, config stored, labels #6073–ops(lab): rack Dell switch 3 — rails, firmware, initial config, config stored, labels #6075, ops(lab): cluster interconnect — connect the dozen cluster machines + 2–3 mini PCs #6077) up to it; does removing the new switch SPOF need MLAG/stacking or a second switch later?
  3. WAN sharing: can two VRRP routers share the single Brightspeed handoff (DHCP? PPPoE?) and one public IP cleanly?
  4. IPv6: does this edge fix the Home network: IPv6 uplink stalls on payload transfers (PMTUD/router/ISP) #1280 WAN6/prefix-delegation hole natively?
  5. Deco's afterlife: AP-only mesh behind the new edge, or retired?
  6. Third router's role: cold spare, lab segment, or third VRRP node?
  7. Multi-WAN policy for hotspot/Starlink when they arrive.

Related: #1280 (current LAN/IPv6), #6077 (lab interconnect), #6066 (home-lab parent).

Acceptance criteria

  • The router models are identified from inventory and recorded on this issue (the design depends on exact port/NIC reality).
  • A written edge design exists covering: WAN-on-a-VLAN over the bonded SFP+ pair, identical wiring for both routers, VRRP failover, and how the current Deco edge (issue Home network: IPv6 uplink stalls on payload transfers (PMTUD/router/ISP) #1280) is retired or demoted.
  • The design names the open decisions for Drew explicitly, each with options and a recommendation, rather than burying them in prose.

Activity

  1. developing-today commented on Nov 7, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 7, 2026

    @dezren39
    MemberAuthor

    Edge Architecture & Router Platform Investigation (#6649)

    Comprehensive desk research for investigation questions 1–3 has been completed. The full research artifact with vendor citations, architectural proofs, and benchmark analyses is available in the fleet workspace burn folder:
    📄 /home/user/gemini-burn-2026-11-06/ROUTER-RESEARCH.md


    Top Findings & Critical Architectural Insight

    1. Hardware Identification

    The 3 new routers in inventory (doc/inventory/routing-and-switching.md) are the Mono Gateway Development Kits by Tomaž Zaman / mono.si (NXP Layerscape LS1046A quad-core Cortex-A72 @ 1.6 GHz, 8 GB ECC DDR4, 2× 10G SFP+, 3× 1GbE RJ45, DPAA/FMan hardware offload). The primary ONT is the Calix GP1101X (10G XGS-PON).

    2. The LACP Hardware Offload Trap (Q1)

    Drew's design proposed bonding both SFP+ ports (2× 10G LACP) to avoid wasting an SFP+ cage on an Internet link. However, deep analysis of NXP DPAA and the official we-are-mono/ASK codebase (docs/flowtable/vlan.md) reveals a fatal bottleneck:

    • Upper bond (and MACVLAN) devices are explicitly declined by the ASK flowtable walk.
    • While 802.1Q VLANs directly on physical ports (eth3.100, eth3.10) achieve 17+ Gbps line-rate hardware offload (<2% CPU), placing VLANs over an LACP bond (bond0.100) forces all traffic into the Linux CPU software path.
    • On the 1.6 GHz quad Cortex-A72, CPU software routing/NAT tops out at ~1.5 to 2.5 Gbps.
    • Verdict: Bonding both SFP+ ports to avoid "wasting" a 10G port reduces total routing throughput by an order of magnitude.

    3. Platform Capability Summary (Q1)

    • Mono Gateway: Supports VRRP, LACP, and VLANs in software, but fails 10G HW offload on an LACP bond.
    • MikroTik RouterOS v7: CCR2116 supports L3HW offload, but VRRP is explicitly marked N/A on the switch chip due to Marvell Prestera MAC table constraints; CCR2004 has no switch chip (CPU FastPath only).
    • Ubiquiti UniFi (EFG / UDM): Shadow Mode supports VRRP, but UniFi OS strictly forbids combining WAN and LAN on an LACP trunk.
    • TP-Link Omada (ER8411): TP-Link gateways do not support VRRP or gateway HA.
    • pfSense / OPNsense / VyOS on x86: Fully supports CARP/VRRP, LACP, and VLAN-on-bond, achieving ~9–10 Gbps NAT on fast modern x86 CPUs (e.g. Xeon E-2300 / Atom C3958), but via CPU processing, not ASIC offload.
    • Fortinet FortiGate (100F/200F): The only surveyed platform that supports 100% of the spec in hardware ASIC (NP6/NP7).

    4. Switch Side & SPOF Elimination (Q2)

    • Dell PowerConnect 5448 is INCOMPATIBLE: The 4 units in inventory are 2007-era Gigabit switches with 1G SFP cages only (no 10G SFP+).
    • Recommended Core Switch: Deploy 2× IBM RackSwitch G8264 from inventory (48× 10G SFP+, 4× 40G QSFP+, 9,216-byte Jumbo frames, native vLAG / MC-LAG).
    • Dual G8264 switches form an active-active vLAG cluster over a 40G ISL, presenting standard LACP to downstream nodes and eliminating the switch SPOF.

    5. Sharing One ISP Handoff with VRRP (Q3)

    • If DHCP / IPoE: Clean failover is possible. The WAN interface MUST use the VRRP Virtual MAC (VMAC) 00:00:5E:00:01:VRID (or cloned MAC). Router 2 keeps its DHCP client disabled until promoted. On failover, Router 2 sends a GARP with the VMAC; the ISP BNG sees the same MAC and retains the lease without dropping the public IP.
    • If PPPoE (Brightspeed VLAN 201): Hitless failover is IMPOSSIBLE. The ISP BNG enforces exactly one active PPPoE session per account. Router 2 cannot maintain a warm backup session. On an ungraceful crash of Router 1, Router 2's dial attempts are rejected until the BNG's PPP LCP Keepalive times out (60–120 seconds of downtime), after which the BNG assigns a new dynamic IP, immediately severing all existing TCP/VPN sessions.
    • Stateful Failover: Requires running conntrackd between nodes; otherwise, existing TCP sessions are dropped on failover even if the IP remains unchanged.

    6. Multi-WAN Topology (Hotspot & Starlink)

    Plugging Starlink or the hotspot into Router 1 directly would cause them to die when Router 1 fails. All WANs must land on the switch:

    • WAN 1 (Fiber): Switch Port 10 → VLAN 100
    • WAN 2 (Starlink): Switch Port 11 → VLAN 101
    • WAN 3 (Hotspot): Switch Port 12 → VLAN 102
      Both routers trunk all three WAN VLANs and use OpenWrt mwan3 with VRRP tracking.

    Key Recommendations for Drew

    1. Abandon LACP bonding on the Mono Gateways: Use Router-on-a-Stick over a single 10G SFP+ port (Port 4 / eth3) into the switch. SFP+ is full duplex (10G TX + 10G RX), and native 802.1Q subinterfaces on physical ports are fully offloaded by DPAA at 10G line rate.
    2. Repurpose Port 5 (eth4) as a Dedicated Inter-Router Sync Link: Connect Port 5 of Router 1 directly to Port 5 of Router 2 with a 10G DAC cable for real-time conntrackd session replication, VRRP heartbeat (preventing split-brain), and cluster state.
    3. Deploy 2× IBM RackSwitch G8264 switches with vLAG to eliminate the switch SPOF.
    4. Third Router Role: Reserve the 3rd Mono Gateway as a staging/testing node for firmware (owut) updates and a pre-flashed cold spare.

    OPEN QUESTIONS

    1. Brightspeed Protocol: Is Drew's Brightspeed connection in this market authenticated via PPPoE (VLAN 201) or IPoE/DHCP? (If PPPoE, hitless failover cannot be achieved).
    2. ONT Bridge Mode: Is the Calix GP1101X confirmed to be in transparent bridge mode delivering a public IP directly?
    3. IBM G8264 Cabling: Are 40G QSFP+ DAC cables available in the lab for the G8264 vLAG Inter-Switch Link?
  3. added
    kind/designA design proposal (design-architect): multi-step, phased, decision-bearing
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 7, 2026
  4. dezren39 commented on Nov 7, 2026

    @dezren39
    MemberAuthor

    Intake review

    Related: linked from the issue body and title where applicable; see notes. No merged PR was found that explicitly resolves this issue (checked the 300 most recent merged PRs for a fixes/closes/resolves reference) — it is still live.

    Notes: Investigation/design only — the body is explicit that no hardware moves yet. Context: the current Deco BE11000 edge and its IPv6 blackhole are tracked in issue #1280; the APU2 history correction in the body is Drew's (2026-11-06).

    Risks: Designing against assumed hardware is the main trap — inventory first. VRRP + bonded-VLAN WAN is a well-trodden shape, but the ISP handoff and switch model constrain the details.

    Suggested approach: Inventory the three routers, draft the design against the real port layout, then surface the named decisions to Drew in chat with substance.

    Labels normalized at intake: kind/design, status/needs-triage, priority/normal, effort/l; effort class per the fleet taxonomy. Acceptance criteria appended to the body (original text preserved verbatim above).

    — fleet monitor, intake pass 2026-11-07

  5. added
    task/triageQueue packet kind: verify, reproduce, and route this item
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    and removed on Nov 7, 2026
  6. 122 remaining items

  7. dezren39 commented on Nov 9, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    event: handed_off
    task: 12950 (repo-health-code-pilot, worker repo-worker-code, lane code-j)
    state: handed off to opencode execution lane (assignment row 4734); parked 1200s pending claimant launch
    fresh evidence: issue #6649 OPEN, labels carry no hard stops (held/user-owned/do-not-merge/do-not-auto-edit absent)
    expectation: opencode claimant launches the bound session and drives task 12950 to a terminal state

  8. dezren39 commented on Nov 9, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  9. added 3 commits that reference this issue on Nov 10, 2026
  10. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    Lane code-x DONE task 12950 (issue #6649) — fixed_merged; closing issue #6649 as completed (its criterion: closes when the design doc lands via a merged PR).

    • Shepherded PR docs: design Mono router edge for #6649 #7712: rebased onto current main (doc/README index conflict resolved, both sides kept) and dispositioned its two Codex P2 findings in commit 28047d8, each replied on its thread and resolved:
      1. VRRP virtual MAC vs ASK offload — keepalived use_vmac is a MACVLAN, which ASK's VLAN/flowtable path rejects; the design now bans MACVLAN on offload VLANs and specifies a cloned identical WAN MAC on the plain VLAN interface, only-master-active, GARP on promotion, peer-check interlock, flowtable-counter verification at install, and software-forwarding-on-WAN-only as the bounded fallback.
      2. PPPoE baby-jumbo — now conditional on RFC 4638 (PPP-Max-Payload) being negotiated by both endpoints and validated with a 1500-byte DF probe; otherwise the designed outcome is 1492 + unfiltered ICMPv6 PTB + MSS clamping. D5 now includes confirming RFC 4638 on the BNG.
    • PR docs: design Mono router edge for #6649 #7712 MERGED 2026-11-10T20:59:19Z, merge commit 0fefe5a. The design doc (doc/2026-11-08T13-45-00Z_design_router_edge/) promotes the laptop research into the repo with the IPv6/Home network: IPv6 uplink stalls on payload transfers (PMTUD/router/ISP) #1280 and Deco-afterlife sections the triage required.
    • NAMED DECISIONS FOR DREW (in the doc, "Decisions for Drew" — none is made there; also surfaced in the fleet shift report): D1 bond vs single-trunk (recommends single-trunk — changes the original bonded shape), D2 second SFP+ port = peer DAC for conntrackd/VRRP check (recommended), D3 one switch vs MLAG pair (recommends one for v1), D4 Deco afterlife (recommends AP-only mesh), D5 confirm Brightspeed DHCP/IPoE vs PPPoE + RFC 4638 (a fact to confirm), D6 third Mono = bench/cold spare (recommended). No hardware work is authorized by this design.
  11. removed
    status/parkedDeliberately paused with a recorded resume condition
    priority/normalOrdinary priority (the default)
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 10, 2026
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

    kind/designA design proposal (design-architect): multi-step, phased, decision-bearingstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions