dhcp en bridge vlan filtering

I’m lost on the bridge vlan filtering and dhcp.
I know how to to this with the switch chip but I wanted to try it with a bridge.

I have 3 vlans.
Zo I set up a bridge with all interfaces needed in it.
Add vlans to the bridge and configure tagged and untagged ports.
this al works different ports are in different vlans.
But now I want to assign a dhcp server to a vlan.
I cant assign it to the bridge because there are multiple vlans in this bridge.
So I create a vlan interface in interfaces. I attach the dhcp server to this vlan interface and add the vlan interface to the bridge and set it as a tagged port of the right vlan.

But I t does not work.

Is there anybody using bridge vlans with dhcp-servers for each vlan and how do you do it.

Which Mikrotik unit, which firmware and can you post a config?
/export hide=sensitive file=yourlatestconfig

ok sorry for taking a while to react. I had no time and no test setup anymore.
New setup and a bit of time.

My current setup 1 bridge with 2 vlans.
I want to have 2 dhcp servers on the 2 vlans.
But I cant get it to work.

What is the proper way.
Do I need to create a bridge per vlan?

export:
router os 6.44

model = CCR1016-12G

serial number =

/interface bridge
add name=bridge-vlans vlan-filtering=yes
/interface vlan
add interface=bridge-vlans name=bridge-vlans-10 vlan-id=10
add interface=bridge-vlans name=bridge-vlans-20 vlan-id=20
add name=vlan10 vlan-id=10
add name=vlan20 vlan-id=20
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp_pool0 ranges=192.168.20.2-192.168.20.254
add name=dhcp_pool1 ranges=192.168.10.100-192.168.10.254
add name=dhcp_pool2 ranges=192.168.10.100-192.168.10.254
/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface=bridge-vlans-20 name=
dhcpv-vlan-20 relay=192.168.20.1
add address-pool=dhcp_pool1 disabled=no interface=bridge-vlans-10 name=
dhcp-vlan-10 relay=192.168.10.1
/routing bgp instance
set default disabled=yes
/interface bridge port
add bridge=bridge-vlans interface=ether5 pvid=10
add bridge=bridge-vlans interface=ether6 pvid=20
add bridge=bridge-vlans interface=ether1
/interface bridge vlan
add bridge=bridge-vlans tagged=bridge-vlans,ether2 untagged=ether5 vlan-ids=10
add bridge=bridge-vlans tagged=bridge-vlans,ether2 untagged=ether6 vlan-ids=20
/ip address
add address=192.168.88.1/24 comment=defconf interface=ether1 network=
192.168.88.0
add address=192.168.10.1/24 interface=bridge-vlans-10 network=192.168.10.0
add address=192.168.20.1/24 interface=bridge-vlans-20 network=192.168.20.0
/ip dhcp-server network
add address=192.168.10.0/24 gateway=192.168.10.1
add address=192.168.20.0/24 gateway=192.168.20.1
/lcd
set enabled=no touch-screen=disabled
/system identity
set name=ccr

this seems out of place…
/ip address
add address=192.168.88.1/24 comment=defconf interface=ether1 network=
192.168.88.0

and not clear what is ether1 anyway??
add bridge=bridge-vlans interface=ether1

In /ip dhcp-server remove the relay= setting, you most probably don’t need it.

In addition to that, you have ether2 mentioned as trunk port for both vlans (VID 10 and 20) and yet ether2 is not even member port of bridge-vlans … if those DHCP clients not getting IP addresses are hanging somewhere off ether2, then misbehaviour is only expected.

This one doesn’t hurt but doesn’t make sense in context of posted config: vlan interfaces vlan10 and vlan20 … they don’t have parent interface defined, so they are just hanging in the void … remove them not to confuse things further.

I’ve added a dhcp server on eth1 to see if it workes at all and corrected the things you guys pointed out.
Dhcp is working like a charm on eth1
Still no dhcp on 5 or 6

/interface bridge
add name=bridge-vlans vlan-filtering=yes
/interface vlan
add interface=bridge-vlans name=bridge-vlan-10 vlan-id=10
add interface=bridge-vlans name=bridge-vlan-20 vlan-id=20

/ip pool
add name=dhcp_pool0 ranges=192.168.20.2-192.168.20.254
add name=dhcp_pool1 ranges=192.168.10.100-192.168.10.254
add name=dhcp_pool4 ranges=192.168.88.2-192.168.88.254
/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface=bridge-vlan-20 name=dhcp-vlan-20
add address-pool=dhcp_pool1 disabled=no interface=bridge-vlan-10 name=dhcp-vlan-10
add address-pool=dhcp_pool4 disabled=no interface=ether1 name=dhcp1

/interface bridge port
add bridge=bridge-vlans interface=ether5 pvid=10
add bridge=bridge-vlans interface=ether6 pvid=20
add bridge=bridge-vlans interface=ether2
/interface bridge vlan
add bridge=bridge-vlans tagged=bridge-vlans,ether2 untagged=ether5 vlan-ids=10
add bridge=bridge-vlans tagged=bridge-vlans,ether2 untagged=ether6 vlan-ids=20
/ip address
add address=192.168.88.1/24 comment=defconf interface=ether1 network=192.168.88.0
add address=192.168.10.1/24 interface=bridge-vlan-10 network=192.168.10.0
add address=192.168.20.1/24 interface=bridge-vlan-20 network=192.168.20.0
/ip dhcp-server network
add address=192.168.10.0/24 gateway=192.168.10.1
add address=192.168.20.0/24 gateway=192.168.20.1
add address=192.168.88.0/24 gateway=192.168.88.1