Use the same port map at both ends, then renew a lease from each access port with one test client. Keep management on a separate wired port so that an error on the trunk cannot lock you out.
Configure both bridges
In LuCI open Network → Devices and edit the bridge on each switch. Include the three service ports, enable bridge VLAN filtering and add VIDs 10 and 20. Substitute your actual ports in the lab table. T sends tagged frames. U/P removes the tag on egress and assigns untagged ingress to the row’s PVID. A dash excludes the port.
| A / B | VLAN 10 | VLAN 20 |
|---|---|---|
| eth1 · trunk | T | T |
| eth2 · access | U/P | — |
| eth3 · access | — | U/P |

Test each access port
Connect a known DHCP pool to each access port on A. At B, move the same client between access ports and renew its lease each time. Record the server and address. A failure on one port points to that VID’s membership at either end. If both reach the same pool, inspect the ingress PVID and untagged egress. Leave DHCP off on the switches themselves.
| B | DHCP server | IP |
|---|---|---|
| eth2 · VID 10 | 10.107.10.1 | 10.107.10.107 |
| eth3 · VID 20 | 10.107.20.1 | 10.107.20.100 |

Remove one VID and verify recovery
Only on an isolated test network, remove VID 20 from B’s trunk. VLAN 10 should still get a lease and VLAN 20 should time out. Restore tagged membership for VID 20 at B and renew again. The screenshots are from four OpenWrt 25.12.6 x86/64 virtual nodes. Neither physical switch chips nor an ISP set-top box were tested.

Comments