Especially when changing firmware or changing boards, according to experience, using eth0 as a WAN may put the management service on the wrong network. First establish the corresponding relationship on the prototype that is separated from the production network.
Only connect one wire at a time
Access the local console, run ip monitor link, and then insert the test lines into the physical ports one by one to observe which interface’s carrier status changes. Read MAC synchronously with negotiated rate. If switching chips or DSA are used, record the relationship between the user port and the bridge to avoid treating the bridge as a physical socket.
Decide on the role
Mark the visible positions such as “by power port” and “by USB” in the figure, as well as the current firmware interface name. Allocate external network, internal network and maintenance network according to the project, and use a test machine to verify address acquisition, routing and management access scope.
Repeat once after firmware upgrade
Save board number, chassis version, firmware version and port photos. If the naming changes after the upgrade, update the configuration according to the actual link measurement results. This port diagram can also be directly used to guide the wiring replacement and maintenance of gateways without displays.
Observe the plug-in correspondence relationship in the local console
ip -br link
ip monitor link
Board documentation and references

- ArmSoM Sige7 · hardware and interface manual · Sige7 · product page
- FriendlyELEC NanoPi R6S manual
- iproute2 link management manual
