I’m sadly reporting no tangible progress: I am still unable to get the VLAN access port to work, while the trunk works fine.
I marked all these VLAN as lan, as recommended by your last post, ie:
/interface list member add interface="vlan4(private)" list=LAN-Interfaces
Following your advise to work on the fundamentals:
- I have greenlighted some areas that work: VLANS through the trunk port work and DHCP uses the proper IP address pool per VLAN. Which leaves me to believe that the bridge, VLAN and DHCP pools are all OK.
- when connecting to a physical interface and manually setting a static IP, I don’t get access
- I even tried to reboot the device
- Consequently, I think it narrows it down to the association of VLAN and physical port. This is where I focused my efforts.
Still not getting the access port to work and I’m confused on these specific items:
1- double/redundant setting in bridge of associating a VLAN ID with the physical port in Mikrotik’s logic
Indeed the config seems to require to set the VLAN ID for the access port in 2 areas:
- at the /interface bridge port level with the command:
/interface bridge port add bridge=BridgeVlanToLan comment="Access port" frame-types=admit-only-untagged-and-priority-tagged ingress-filtering=yes interface=ETH6-LAN pvid=8
- then again at the /interface bridge vlan level with the command:
/interface bridge vlan add bridge=BridgeVlanToLan tagged=ETH7-LAN_Trunk,BridgeVlanToLan untagged=ETH6-LAN vlan-ids=8
Both these commands seems to state the same: get Vlan ID 8 on port ETH6-LAN
2- Disabling specific VLAN that goes through Trunk has no effect
I would have expected that disabling this command would result in the VLAN 9 to no longer be tagged on the tunk port … but disabling it does nothing: I still have this VLAN through the trunk
/interface bridge vlan add bridge=BridgeVlanToLan tagged=BridgeVlanToLan,ETH7-LAN_Trunk vlan-ids=9
For the sake of completeness in trial and errors, I need to point out that I tried disabling this command below, and I confirm that when disabled, then the whole trunk doesn’t work at all
/interface bridge port add bridge=BridgeVlanToLan comment="Trunk port" frame-types=admit-only-vlan-tagged ingress-filtering=yes interface=ETH7-LAN_Trunk
So I’m puzzled: it seems Mikrotik uses the /interface bridge port command above to define the trunk and throw all VLAN IDs into it.
I was expecting the command /interface bridge vlan to be mandatory for the trunk to work by exhaustively listing the VLAN IDs that are to be passed through the trunk. It doesn’t seem the case: as written above, disabling this command has no impact, the trunk keeps working fine.
3- /interface bridge host print does not associate VID to hosts
I don’t know if this is normal, but when running the command
/interface bridge host print
I see the list of MAC-ADDRESS, one per line, but the column VID is empty.
Shouldn’t I see here the VLAN ID displayed in front of each mac access?
It might be minor, since each mac address does get allocated to the proper vlan through trunk (as it gets its IP address handed over from the DHCP server).
But the command
/ip arp print
Does show properly list the mac-addresses and associate them with the correct VLAN
Conclusion and next steps:
I have removed a bunch of previously-disabled items (ip pool, dhcp settings, bridge and interfaces).
@anav I have sent you an updated config file (smaller, because of the removal of the disabled items). We could work on this smaller file to further redact and publish here to get some further eyeballs at why I can’t get the vlan access port to work.
Should the bridge be activated for VLAN filtering, and if yes for what PVID, and should I set ingress-filtering to yes?
/interface bridge set BridgeVlanToLan vlan-filtering=yes
I have run out of things to try.