OK, so not to confuse you any more by editing an existing post, I write a new one.
The role of the ****
pvid
attribute of a bridge remains a mystery to me, and so does the magic value of
pvid=1
for
/interface bridge port
.
On 6.42.1 in particular (and likely ever before),
- regardless what you set the bridge’s ****
pvid
value to (1 or 200 in my test), the IP configuration attached to the bridge itself can be reached only by tagless packets,
pvid=1
in
/interface bridge port
, tagless packets which come in through that port remain tagless on the bridge (while if you set
pvid=200
, the packets are sent to the bridge tagged with an 802.1Q tag with VID=200).
So for your scenario:
/interface vlan add name=vlan-one-one-one vlan-id=111 interface=bs-bridge1
- move the IP address from the bridge to the vlan interface:
/ip address set [find address="192.168.111.231/24"] interface=vlan-one-one-one
pvid
values in your ****
/interface bridge port
items as they are
bs-bridge1
on the tagged list of the
vlan-ids=111 bridge=bs-bridge1
line in
/interface bridge vlan
That should be enough so that you could reach
192.168.111.231
via
ether2
by tagged packets and via
ether1
and other ports by tagless packets.
Then, depending on whether you need IP addresses from subnets of the other two VLANs on the Mikrotik itself or not, either replicate the settings above also for the other two VLANs, or remove ****
bs-bridge1
from the member list of these
vlan-ids
in the
/interface bridge vlan
list (it may be harmless to keep it there but it may also mean some throughput reduction, I have no idea, in my view it should not be necessary at all but for some reasons it is if you want that VLAN to be accessible locally).