WiFi capsman problem

I’m using WiFi CAPsMAN with two hAP ax² devices. I want the guest network to assign IP addresses from the 192.168.10.0/24 subnet, but I’m running into a problem.

When I connect to WiFi through the main router, everything works as expected. However, when I connect through one of the CAPs, I receive an IP address from a different network — the one used as the main router’s uplink.

This exact configuration used to work fine with the old CAPsMAN.

I’m sending the export from the router where the CAPsMAN manager is configured, and the other router has been factory reset into CAP mode.

/interface bridge
add name=br_LAN
add name=br_guest
/interface wifi channel
add band=2ghz-ax disabled=no name=ch-2ghz-ax width=20/40mhz
add band=5ghz-ax disabled=no name=ch-5ghz-ax skip-dfs-channels=all width=
20/40/80mhz
/interface wifi datapath
add bridge=br_LAN disabled=no name=datapath1
add bridge=br_guest disabled=no name=datapath_guest
/interface wifi security
add disabled=no ft=yes name=sec1
add disabled=no ft=yes name=sec_guest
/interface wifi configuration
add channel=ch-2ghz-ax country=Croatia datapath=datapath1 disabled=no mode=ap
name=cfg-2ghz-ax security=sec1 ssid=“4Tel - WiFi2.4Ghz”
add channel=ch-5ghz-ax country=Croatia datapath=datapath1 disabled=no mode=ap
name=cfg-5ghz-ax security=sec1 ssid=“4Tel - WiFi5Ghz”
add channel=ch-5ghz-ax country=Croatia datapath=datapath_guest disabled=no
mode=ap name=cfg-5ghz-ax-guest security=sec_guest ssid=Guest
/ip pool
add name=dhcp_pool0 ranges=192.168.10.2-192.168.10.254
/ip dhcp-server
add address-pool=dhcp_pool0 interface=br_guest name=dhcp1
/interface bridge port
add bridge=br_LAN interface=all
/interface wifi cap
set caps-man-addresses=127.0.0.1 enabled=yes
/interface wifi capsman
set ca-certificate=auto enabled=yes package-path=“” require-peer-certificate=no
upgrade-policy=none
/interface wifi provisioning
add action=create-dynamic-enabled disabled=no master-configuration=cfg-5ghz-ax
name-format=WiFi-%I slave-configurations=cfg-5ghz-ax-guest supported-bands=
5ghz-ax
add action=create-dynamic-enabled disabled=no master-configuration=cfg-2ghz-ax
name-format=WiFi-%I supported-bands=2ghz-ax
/ip address
add address=192.168.10.1/24 interface=br_guest network=192.168.10.0
/ip dhcp-client
add default-route-tables=main interface=br_LAN
/ip dhcp-server network
add address=192.168.10.0/24 gateway=192.168.10.1
/ip firewall nat
add action=masquerade chain=srcnat out-interface=br_LAN src-address=
192.168.10.0/24
/system clock
set time-zone-name=Europe/Zagreb
/system identity
set name=4T-Office2-AP

Instead of working with multiple bridges, in the new CAPsMAN you should use VLAN’s. In the documentation there is an example of having two VLAN’s which works perfectly: