CAPsMAN with Local Forwarding & VLANS Router/Switch/AP (hAP AC)

Set the pvid parameter on the /interface bridge row to some unused VLAN ID, e.g. the default 1, and add tagged=bridge to all four rows in /interface bridge vlan.

The idea behind is that each row of /interface bridge actually aggregates parameters for three distinct types of objects linked together:

  1. the bridge itself, as in “virtual switch”
  2. the virtual member port of that bridge, to which a virtual port of a virtual router is connected
  3. the virtual port of a virtual router, connected to the virtual switch

As there is a 1:1:1 relationship between those objects, they are referred to by a single common name, and the actual relationship of the particular setting to a particular object is determined by context.

So

  • the pvid parameter on the /interface bridge row relates to the type 2 object (for other member ports of bridges, the pvid parameter is on the /interface bridge port rows)
  • on the /interface bridge vlan row, the bridge parameter refers to the type 1 objects, and the tagged and untagged lists contain type 2 objects and other member ports of bridges
  • on the /interface vlan, /ip dhcp-client, /ip address, /ip dhcp-server and some other less “popular” rows, the interface parameter refers to type 3 objects