Two PCs can reach their gateway even when port isolation blocks traffic between them. First check whether they should be allowed to communicate. Keep isolation in place for unrelated guests.
On separate switches, local isolation may still allow traffic through the uplink. Test across both switches before relying on isolation.
Check the route and neighbour entry
Use two wired Linux hosts on VLAN 10, one on each switch. A is 192.168.10.21/24 and B is 192.168.10.22/24. Record both Ethernet MAC addresses. Check locally that B runs the service you intend to test. Substitute its actual TCP port for 443. Run these commands on A.
ip route get 192.168.10.22
nc -vz -w 3 192.168.10.22 443
ip neigh show 192.168.10.22
If the route uses a gateway or VPN, check the subnet mask and routing policy first. For a direct route, look at the neighbour entry. Persistent INCOMPLETE or FAILED suggests that address resolution is failing. Compare lladdr with B’s MAC. A mismatch calls for checks for duplicate addresses, proxy ARP or the wrong interface. STALE alone does not establish a fault.
If the connection opens, investigate the application, account permissions or discovery. A refusal warrants checking the listening socket and explicit rejection rules. A timeout also requires checking the return path.
Trace both MAC addresses across the switches
Save the original port settings. On each OpenWrt node, open Network → Interfaces → Devices in LuCI, configure the bridge and inspect Bridge VLAN filtering. For an ordinary untagged PC, the access port needs PVID 10 and untagged egress for VLAN 10. Both ends of the trunk must carry VLAN 10 tagged.

The screenshot is from an OpenWrt 25.12.6 x86/64 virtual lab. On this bridge, eth1 carries both VLANs. Use the VLAN 10 port on each node. Moving the second PC to eth3 puts it on VLAN 20 and changes the test.
Send traffic from both hosts. If the bridge utility is installed, run the following on both switches. Replace br-sw with your bridge name. Skip the last command if reading the full forwarding table has ever caused the device to reboot.
bridge vlan show
bridge -d link show
bridge fdb show br br-sw
The forwarding database (FDB) shows where source addresses were learned. On A’s switch, look for A on the access port and B on the trunk. Expect the reverse on B’s switch. Match the VLAN as well as the MAC and disregard permanent entries belonging to the bridge.
If only the near switch learns the address, check trunk membership, forwarding state and learning on the far side. If both locations look right, check the isolated flag, upstream isolation and endpoint firewalls. Some drivers expose only part of the hardware table.
Check the request and reply on B
On B, replace eth0 with its wired interface and adjust the host and port in the filter. Capture only authorised test traffic. Retry from A. Press Ctrl+C to stop early.
sudo tcpdump -eni eth0 -c 12 'arp or (host 192.168.10.21 and tcp port 443)'
If B receives an ARP request for its own address but sends no reply, check which interface owns the address. If B replies but A sees nothing, trace the reverse path.
If B sees a TCP SYN but sends nothing back, check its inbound rules and return route. For a reset, use ss -lnt to see whether the service listens only on loopback. A completed handshake at both ends points towards the application. Hardware switching can bypass the switch CPU, so an empty capture there is inconclusive.
Retest the service and isolation
Change only the setting implicated by the test. Open the actual service from A. If both directions are required, access a known service on A from B as well. Confirm that a client meant to remain isolated still cannot connect. If the change fails, restore the saved port settings or remove the temporary rule. Keep the firewall enabled.
In the virtual lab, removing VLAN 20 from one end of the trunk prevented a client from obtaining a DHCP address. Restoring membership brought back a lease for 10.107.20.100. This checks the DHCP path only. Repeat the application test separately.
How to verify that two OpenWrt switches carry VLANs 10 and 20 over one trunk
Comments