docs: verify gw switch0 as limited capture point — SE5420 single-uplink (eth1 up, eth2/3 down), LAN55 wired hosts behind SE5420; record EdgeOS 3 CLI/access quirks (W1N-207)
This commit is contained in:
@@ -36,9 +36,9 @@ capture on hass `end0`. Use the AP `br0` point for wireless-device or
|
||||
phone-driven flows (a wireless client's unicast to/from its AP is only visible
|
||||
there).
|
||||
|
||||
A third candidate point, `gw` `switch0`, is topology-dependent and is **not yet
|
||||
a documented capture point** — see
|
||||
[Conditional capture point: gw switch0](#conditional-capture-point-gw-switch0).
|
||||
A third point, `gw` `switch0`, is **verified as a limited capture point**
|
||||
(cross-subnet/gateway/mDNS flows only — not a full mirror of LAN55) — see
|
||||
[Capture point: gw switch0](#capture-point-gw-switch0).
|
||||
|
||||
## Ownership
|
||||
|
||||
@@ -248,33 +248,47 @@ ssh zhiqiangf@192.168.55.5 "tcpdump -ni br0 -s 0 -C 5 -W 12 -w /tmp/matter-\$(da
|
||||
For the hass point, prefix the same commands with
|
||||
`ssh hassio@hass.windy.lan "sudo -n -i tcpdump -ni end0 …"`.
|
||||
|
||||
## Conditional capture point: gw switch0
|
||||
## Capture point: gw switch0
|
||||
|
||||
**Status: NOT yet a documented capture point.** Its coverage depends on the
|
||||
live topology; verify before relying on it.
|
||||
**Status: verified 2026-08-22 — limited capture point; NOT a full mirror of
|
||||
LAN55.**
|
||||
|
||||
- `gw` `switch0` (`eth1`–`eth3`, `192.168.55.254/24`) is LAN55's L2 aggregation
|
||||
point only while devices plug directly into the ER-X. EdgeOS ships tcpdump,
|
||||
and `tcpdump -ni switch0` follows Linux bridge semantics.
|
||||
- **Live state (verified 2026-08-22): the SE5420 core switch is deployed**
|
||||
(management `192.168.66.253` reachable; TP-Link "Web Switch" on :80/:443).
|
||||
With the flat-VLAN55 single-uplink design, same-segment traffic switches
|
||||
locally on the SE5420 and never reaches `switch0`. In that state `switch0`
|
||||
sees only: cross-subnet (66↔55) unicast, gateway-bound traffic, and LAN55
|
||||
mDNS multicast (flooded) — **not a full mirror**. The full-mirror point
|
||||
becomes the SE5420 itself, which cannot run tcpdump (port mirroring only).
|
||||
- **Before using this point**, run these read-only checks from a machine with
|
||||
gw SSH access:
|
||||
only while devices plug directly into the ER-X. EdgeOS ships tcpdump;
|
||||
`tcpdump -ni switch0` follows Linux bridge semantics.
|
||||
- **Live topology (verified 2026-08-22): the SE5420 core switch is deployed**
|
||||
(management `192.168.66.253` up — TP-Link OUI `f8:c9:03`, web UI on
|
||||
:80/:443) and the ER-X uplink is a **single switch0 member port**: `eth1`
|
||||
link up, `eth2`/`eth3` down. All LAN55 wired devices (hass `.11`, Aqara M3
|
||||
`.248`, SmartThings `.48`, UAP-AC-Lite `.5`) are reached via `switch0`
|
||||
behind that one uplink. Same-segment wired↔wired unicast switches locally on
|
||||
the SE5420 and never reaches `switch0`.
|
||||
- **What `switch0` still sees:** cross-subnet (66↔55) unicast, traffic to/from
|
||||
the gateway itself (DHCP, DNS forwarding, port-forwards), and LAN55 mDNS
|
||||
multicast (flooded up the uplink). Use it only for those flows; for a full
|
||||
commissioning conversation use the hass `end0` or AP `br0` point instead.
|
||||
- **Full mirror:** only via SE5420 port mirroring (the switch cannot run
|
||||
tcpdump). Not configured; out of scope here.
|
||||
- **Verification commands (EdgeOS v3.0.1 build 5862409):**
|
||||
- Interactive: `ssh ubnt@192.168.66.254` (or `zhiqiang`), then
|
||||
`show interfaces ethernet` — port link states are the decisive check
|
||||
(`eth1` up + `eth2`/`eth3` down = single uplink). `configure` (config
|
||||
mode) also accepts `show ...`.
|
||||
- Non-interactive (agent/script): `show`/`configure` are interactive-only
|
||||
aliases on this build; use the op wrapper:
|
||||
```bash
|
||||
ssh ubnt@192.168.66.254 '/opt/vyatta/bin/vyatta-op-cmd-wrapper show interfaces ethernet'
|
||||
```
|
||||
- `show ethernet-switch port all` and `show mac-address-table` are NOT
|
||||
available on this build; the switch FDB is hardware-offloaded
|
||||
(`brctl showmacs switch0` → "Operation not supported"). Port link state
|
||||
+ ARP (`show arp`) are the reliable checks.
|
||||
- SE5420 liveness: `ping 192.168.66.253` and `:80/:443`.
|
||||
- Sample capture at this point (cross-segment/gateway/mDNS flows only;
|
||||
tcpdump needs root — `zhiqiang` has passwordless sudo):
|
||||
```bash
|
||||
ssh -4 zhiqiang@192.168.66.254 'show interfaces ethernet' # which switch0 member ports have link
|
||||
ssh -4 zhiqiang@192.168.66.254 'show ethernet-switch port all' # per-port MAC table
|
||||
ssh -4 zhiqiang@192.168.66.254 'show mac-address-table' # where LAN55 wired devices land
|
||||
ssh zhiqiang@192.168.66.254 "sudo -n tcpdump -ni switch0 -s 0 'udp port 5353 or tcp port 5540 or tcp port 5552'"
|
||||
```
|
||||
- LAN55 wired devices all on a single member port → single uplink confirmed;
|
||||
`tcpdump -ni switch0 …` is then valid with the limited coverage above.
|
||||
- Devices spread across `eth1`–`eth3` → SE5420 not in the LAN55 path;
|
||||
`switch0` is the full mirror point.
|
||||
- Until one of these is confirmed, do not treat `switch0` as a capture point.
|
||||
|
||||
## Pass criteria
|
||||
|
||||
|
||||
Reference in New Issue
Block a user