devices(ubiquiti): the compact gateway LAN banks carry a LAN role, so the uplink stops answering the LAN address (#130 fallback) #2356
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!2356
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "catalogue/1121-0252"
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 (no closing keyword - this does not answer the Dream Wall Pro request).
The six compact UniFi gateways shipped their LAN banks with no
role, andengine/device.jsownsIpOnseparates WAN from LAN only when both sides carry one (owner.role && inIface.role && owner.role !== inIface.role). The invarianttest/port-roles.test.jshas asserted for the RT-AX89X since #8 - "the WAN port does not answer the LAN address" - was therefore silently false on all six. Measured before the change, with the roles stripped back out of each spec and192.168.1.1/24on the LAN port:i.e. a host cabled to the uplink inside the LAN subnet was answered by the LAN gateway.
Vendor sources, read 2026-11-21. Both Ubiquiti surfaces name the uplink and the bank, per socket:
ports(static.ui.com/fingerprint/ui/public.json, 200, 832,585 B,sku)Default WAN Ports/Max. WAN Port Counteth0-3 LAN, eth4 WAN,switchPorts [1,2,3,4],numberOfPorts 5(1) 2.5 GbE RJ45/4eth0-3 LAN, eth4 WAN,switchPorts [1,2,3,4], 5(1) 2.5 GbE RJ45/4eth0 LAN, eth1 WAN, 2(1) GbE RJ45/1eth0-3 LAN, eth4 WAN,switchPorts [1,2,3,4], 5(1) 2.5 GbE RJ45/4eth0 LAN, eth1 WAN, 2(1) GbE RJ45/1eth0 LAN, eth1 WAN, 2(1) 10 GbE RJ45/1Each spec now declares
role: "wan"on its uplink androle: "lan"on its LAN bank, andnotesrecords which row came from which page. No port claimsdualRole: the vendor prints a WAN ceiling (Max. WAN Port Count 4on the UCG rows) without saying which socket gives up LAN duty, and a per-socket assignment would be invented.Measured after the change -
node test/ubiquiti-wan-lan-role-separation.test.js(81 assertions, extended from UDW/UDR to all eight rows): the uplink no longer owns the LAN address, the bank still answers bank-wide, the uplink still answers its own address, and a host on the uplink no longer reaches the LAN gateway.Gates:
node scripts/syntax-check.js-> 511 files, all OK.node scripts/audit-port-types.js-> 0 contradicting ports.node scripts/audit-devices.js-> 0 hard defects, 0 uncablable ethernet ports.npm test-> 431 suites, 14,450 assertions, 0 failed.npm run regen:registry-doc-> no drift.