devices(ubiquiti): Dream Wall and Dream Router LAN banks carry a LAN role, so the WAN socket stops answering the LAN address (refs #130) #2351
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!2351
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "catalogue/1121-0222"
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. The Pro still has no vendor page; this is the LAN/WAN surface of the two Dream-family rows that already carry a WAN role.
Measured defect.
engine/device.jsownsIpOnseparates the two L3 surfaces only when both sides carry a role:PR #2320 gave the Dream Wall's
wan1role: "wan", PR #2346 gave the Dream Router'seth4the same, and neither row gave its LAN bank a role - so the check never fired and the separation the engine documents ("a router's LAN address is not reachable from its WAN port") did not exist on either row.test/port-roles.test.jshas asserted the invariant for the RT-AX89X since #8.Topology:
192.168.1.1/24oneth0, one host oneth0, one on the far side of the bank (eth5/eth1), one cabled to the WAN socket and placed in192.168.1.0/24:ownsIpOn(wan, '192.168.1.1')192.168.1.1eth0/eth5reaches192.168.1.1ownsIpOn(wan, <wan's own address>)Change. 17 UDW and 4 UDR copper LAN ports now declare
role: "lan". Evidence is the rows both specs already cite, re-read today:https://dl.ui.com/ds/udw_ds.pdf(200, 544,909 B) "Networking interface (17) LAN: GbE RJ45 ports / (1) WAN: 2.5 GbE RJ45 port";https://techspecs.ui.com/unifi/cloud-gateways/udw(200, 704,702 B) "Default WAN Ports (1) 2.5 GbE RJ45 (1) 10G SFP+", "Max. WAN Port Count 8";https://dl.ui.com/ds/udr_ds.pdf(200, 771,202 B) "LAN: (4) GbE RJ45 ports / WAN: (1) GbE RJ45 port";https://techspecs.ui.com/unifi/cloud-gateways/udr(200, 685,837 B) "Default WAN Ports (1) GbE RJ45". Recorded inresearch/ubiquiti-wan-lan-role-separation.mdand in both spec notes.Deliberately not touched. The UDW's two SFP+ cages keep
dualRolewith norole(the datasheet prints one LAN and one WAN cage without numbering them) andMax WAN Port Count 8stays unmodelled (the vendor states a ceiling, not which sockets) - both recorded as known gaps rather than guessed. The radios stay role-less, andownsIpOn(radio0, '192.168.1.1')is still true, so the access point still serves the LAN address.Gates.
node scripts/syntax-check.js511 OK;audit-port-types.jsandaudit-devices.js0 gated defects;test/hardware-invariants.test.js26/0;node scripts/run-tests.js431 suites / 14,394 assertions, 0 failed. New gate:test/ubiquiti-wan-lan-role-separation.test.js(27 assertions).