devices(ubiquiti): the Dream Machine's LAN bank carries a LAN role, so its uplink stops answering the LAN address (#130 fallback) #2362
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge!2362
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "catalogue/1121-0352"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Refs #130 (Dream Wall Pro). Fallback work on the row next to it: the UniFi Dream Machine is the last Dream-family gateway whose LAN bank carried no role.
The defect, measured at this tree.
engine/device.jsownsIpOnseparates the two L3 surfaces only when both sides carry a role (owner.role && inIface.role && owner.role !== inIface.role).devices/ubiquiti/udm.jsonhad noroleanywhere, so with192.168.1.1/24onLAN 1:ownsIpOn(WAN, '192.168.1.1')returned the LAN 1 interface (truthy) before the change;nullafter.192.168.1.0/24got an ICMP reply from the LAN gateway before the change; no reply after (added totest/ubiquiti-wan-lan-role-separation.test.js).Evidence, both vendor surfaces, read 2026-11-21:
https://static.ui.com/fingerprint/ui/public.json(sku= UDM)unifi.network.ports={"eth0":"LAN","eth1":"LAN","eth2":"LAN","eth3":"LAN","eth4":"WAN"};deviceCapabilitiesincludesSWITCH; panel01 02 03 04 __ 05https://dl.ui.com/ds/udm_ds.pdfNetworking interface (4) LAN: GbE RJ45 ports / (1) WAN: GbE RJ45 porthttps://techspecs.ui.com/unifi/cloud-gateways/udmNo socket was guessed: the spec already names
WANandLAN 1-LAN 4, and both vendor surfaces agree which one is the uplink.WANgetsrole: "wan", the four LAN socketsrole: "lan".Gates:
scripts/syntax-check.js513 files OK;scripts/audit-port-types.js0 gated contradictions;scripts/audit-devices.js0 hard defects;test/hardware-invariants.test.js26 passed;test/port-roles.test.js19 passed;scripts/run-tests.js433 suites / 14,551 assertions, 0 failed.docs/DEVICE_REGISTRY.mdunchanged byregen-registry-doc.js.Deliberately not touched: the two SFP+ cages (absent on this SKU anyway), the other Dream rows (done in #2359), and #130 itself - the Pro still has no vendor page, so this PR does not close it.