Rockchip · AI & Linux Hub

A multiport NanoPi receives a management request but replies on the wrong interface

When multiple WANs or multiple management subnets coexist, requests can come in, but there is no guarantee that replies will be returned along the same path.

If you encounter “the local service is normal but the specific network segment cannot be connected” on FriendlyELEC or ArmSoM gateway, you can restore the real path from the source address, routing table and policy rules.

Let the kernel give the routing results

First determine the client address, management service listening address and incoming interface. Check ip rule in the corresponding network namespace, and use ip route get to query the actual destination address and source address. If the policy also relies on tags, ordinary queries may not reproduce all conditions, and the rules should be compared with real traffic records.

Review with a test client

Request the same service from two network segments in its own isolated network, and record the arrival interface, selected exit and return source address. Check whether the same network segment is reused for two ports, policy priority overrides, or the upstream only accepts specific source addresses.

First keep the management channel

Keep the local console and original routing configuration before making changes, and then expand after small-scale verification. During acceptance, both the default export switching and whether the maintenance network segment can always access management services are tested to avoid the gateway “can still forward but cannot be maintained”.

Check the return path on your own experimental network

ip rule show
ip route show table all
ip route get 192.0.2.50 from 192.0.2.1

The example address belongs to the document network segment and should be replaced with the real management address of the machine and the client address that is authorized to test.

Board documentation and references

ArmSoM Sige7

Products and development resources

Check the hardware revision, carrier, image and interfaces in the product documentation. An article association is not evidence that a configuration has been tested.

Explore this topic → · Learning paths →