RB2011 and VLAN trunking

Hi there! Last Monday I tried to set up my network, after getting help from a friendly Redditor. But I’m getting issues while setting up my RB2011UIAS-RM.

The situation

The routerboard is connected to my DSL router on ETH1, which also serves as IP PBX.
ETH2 is connected to an unmanaged switch.
ETH3 is connected to an HP 1810-24G on port 2.

The VLANS should be able to contact each other (ultimately not all VLANs should be able to communicate, but that’s another question), and each VLAN should have its own DHCP range.

The port on the HP is configured to VID 1 as Untagged VLAN, which is unused otherwise.
The other VLANS are all set as ‘Tagged’ on the HP switch.

In HP terminology:
ETH2: Untagged: VLAN104
ETH3: Untagged: VLAN1 (or none), Tagged: VLAN101, VLAN102, VLAN103, VLAN104, VLAN106, VLAN1921


Current configuration
My current config, which doesn’t seem to work:

# The variables
vlans:
  - bridge: bridge-management
    interface: management
    vlanId: 42
    ranges: [ 10.0.42.10, 10.0.42.254 ]
    ipAddress: 10.0.42.1
    network: 10.0.42.0
  - bridge: bridge-printer
    interface: printer
    vlanId: 101
    ranges: [ 10.0.1.10, 10.0.1.100 ]
    ipAddress: 10.0.1.1
    network: 10.0.1.0
  - bridge: bridge-guest
    interface: guest
    vlanId: 102
    ranges: [ 10.0.2.10, 10.0.2.254 ]
    ipAddress: 10.0.2.1
    network: 10.0.2.0
  - bridge: bridge-prive
    interface: prive
    vlanId: 103
    ranges: [ 10.0.3.10, 10.0.3.254 ]
    ipAddress: 10.0.3.1
    network: 10.0.3.0
  - bridge: bridge-server
    interface: server
    vlanId: 104
    ranges: [ 10.0.4.10, 10.0.4.254 ]
    ipAddress: 10.0.4.1
    network: 10.0.4.0
  - bridge: bridge-voip
    interface: voip
    vlanId: 106
    ranges: [ 10.0.6.100, 10.0.6.254 ]
    ipAddress: 10.0.6.1
    network: 10.0.6.0
  - bridge: bridge-bedrijf
    interface: bedrijf
    vlanId: 1921
    ranges: [ 192.168.1.10, 192.168.1.254 ]
    ipAddress: 192.168.1.1
    network: 192.168.1.0
---
# The config template
{% for vlan in vlans %}
  /interface bridge
  add name={{ vlan.bridge }}

  /interface vlan
  add interface={{ vlan.bridge }} l2mtu=1594 name={{ vlan.interface }} vlan-id={{ vlan.vlanId }}

  /ip pool
  add name={{ vlan.dhcp }} ranges={{ vlan.dhcpRange }}

  /ip dhcp-server
  add address-pool={{ vlan.dhcp}} disabled=no interface={{ vlan.bridge }} lease-time=3d name={{ vlan.dhcp}}

  /ip address
  add address={{ vlan.ipAddress }}/24 interface={{ vlan.bridge }} network={{ vlan.network }}

  /ip dhcp-server network
  add address={{ vlan.network }}/24 dns-server={{ vlan.ipAddress }} gateway={{ vlan.ipAddress }} netmask=24
{% endfor %}

/interface ethernet switch port
set 3 default-vlan-id=1 vlan-header=add-if-missing vlan-mode=check

/interface ethernet switch vlan
add independent-learning=no ports=ether03 switch=switch1 vlan-id=101
add independent-learning=no ports=ether03 switch=switch1 vlan-id=102
add independent-learning=no ports=ether03 switch=switch1 vlan-id=103
add independent-learning=no ports=ether03 switch=switch1 vlan-id=104
add independent-learning=no ports=ether03 switch=switch1 vlan-id=1921
add independent-learning=no ports=ether03 switch=switch1 vlan-id=106
add independent-learning=no ports=ether03 switch=switch1 vlan-id=42

Any help would be greatly appreciated