Hello…
My setup is very similar like this:
https://help.mikrotik.com/docs/spaces/R … with+VLANs
In my case is only one difference, switch is running with SwOS instead of RouterOS:
cAP → switch(SwOS) → Router(DHCP server with pools for each VLAN)
The port in the switch where is plugged cable form cAP I have set as Trunk port which is member of both VLANs.
Next port which is connected with Router is also Trunk and member of both LANs.
Clients on wifi-1 gets IP from correct DHCP pool - works properly
Clients on wifi-2 does not gets IP.
I see that DHCP server get the request and offered an IP from correct pool, but client does not assign and remains without IP.
pool-23 offering lease 192.168.23.100 for 66:11:66:66:11:66 without success
Why wifi-1 works properly and wifi-2 clients has problem get the IP is mysterious, cause I checked all what is possible.
Seems to be that something wrong is in cAP.
Here is the cAP configuration:
# 2025-03-10 12:17:07 by RouterOS 7.18.2
# software id = 2KS0-FWP7
#
# model = RBcAPGi-5acD2nD
# serial number = <edit>
/interface bridge
add name=bridge1
/interface wireless
# managed by CAPsMAN
# channel: 2452/20-Ce/gn(18dBm), SSID: Home, local forwarding
set [ find default-name=wlan1 ] band=2ghz-b/g/n country="czech republic" \
disabled=no installation=indoor mode=ap-bridge ssid=Home
set [ find default-name=wlan2 ] ssid=MikroTik
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=hotspot
/interface bridge port
add bridge=bridge1 interface=ether1
/interface wireless cap
#
set bridge=bridge1 discovery-interfaces=bridge1 enabled=yes interfaces=wlan1
/ip address
add address=192.168.21.10/24 interface=bridge1 network=192.168.21.0
add address=192.168.23.10/24 interface=bridge1 network=192.168.23.0
/ip route
add disabled=no distance=1 dst-address=192.168.21.0/24 gateway=192.168.21.254 \
routing-table=main scope=30 suppress-hw-offload=no target-scope=10
add disabled=no distance=1 dst-address=192.168.23.0/24 gateway=192.168.23.254 \
routing-table=main scope=30 suppress-hw-offload=no target-scope=10
/system identity
set name=Home_cAP-1
/system note
set show-at-login=no