Rockchip · AI & Linux Hub

Configuring tagged ports, untagged ports and PVID between FriendlyWrt and a switch

When deploying a NanoPi guest network, first ask if the device connected by a wire will send a VLAN tag.

Ordinary terminals usually connect to a default network. A single wire between a gateway and a managed switch may carry multiple VLANs. The actual menu depends on the target FriendlyWrt version and hardware.

Draw an example using two VLANs

Assume that the office network uses 10 and the guest network uses 20. The port that only connects to ordinary guest computers can be designed so that the outgoing end is unlabeled and the incoming end unlabeled traffic is classified into 20. If the link connecting to the upper-level switch agrees to carry labels 10 and 20, both ends must be configured according to the same agreement.

Verify the second layer and the third layer respectively

Access the client from the test port, first observe whether the expected DHCP network segment is obtained, and then check the reachable gateway and allowed services. Successful address acquisition only proves that the broadcast path is partially unobstructed, and the access policy between the two networks still needs to be verified on the firewall.

Protection management entrance

Try first when there is a backup device or an independent console, and keep a maintenance path that is known to be available. Note down the inbound PVID, outbound label, and upper-level port configuration of each physical port to facilitate a complete rebuild if the switch is replaced.

Port role Inbound Outbound
Visitor terminal access port Untagged frames belong to VLAN 20 Send untagged frames to the terminal
Management switch uplink The parties agreed to allow 10 and 20 Both ends transmit the same tagged VLAN
Maintenance channel By independent design Verify first and then change other ports

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 →