Hello,
I’m trying to configure Audience devices to work as non-routing APs and use CAPsMAN on RB5009 instead of the built-in one.
I think I got the CAPsMAN on RB5009 mostly working, but the wireless backhaul seems unstable and testing results are inconsistent / I’m occasionally seeing high packet drops.
The setup is as follows:
RouterOS 7.16.2 on all devices
RB5009 serving as CAPsMAN, router, DHCP server, DNS
Audience1 (MikroTik-A1) is configured in AP mode, with wired connection to RB5009.
Audience2 (MikroTik-A2) along with other units are supposed to work as a mesh, using dedicated interface wifi3 for backhaul connectivity.
CAPsMAN is configured to manage wifi1 and wifi2, while wifi3 is configured manually.
I have removed the wireless packages from Audience devices and replaced them with wifi-qcom-ac, so that I don’t need to install the wireless package on RB5009.
For testing, I have a laptop plugged in to RB5009, Audience1 is also plugged in to RB5009, Audience2 connecting over wireless backhaul to Audience1.
Audience devices are about 1/2 meter from each other, no obstructions.
I’m runnig basic tests via PING from laptop to Audience2 (~100 PING count) and getting very inconsistent results - earleir today I was seeing ~80% packet drop, this changed to ~20% after rebooting both Audience units, and later all the way to 0% with no changes.
RF interference is unlikely as I’m doing the testing at a relatively remote location - WiFi scan on wifi3 shows only one other device and two channels in use.
I’m really confused and I’d appreciate if anyone could help to take a look at the config and point out the issues.
RB5009 WiFi config:
/interface wifi datapath
add bridge=bridge disabled=no name=wifi-datapath
/interface wifi security
add authentication-types=wpa2-psk disabled=no encryption=ccmp name=sec-wpa2-front
/interface wifi configuration
add country=Poland datapath=wifi-datapath disabled=no name=2ghz security=sec-wpa2-front ssid=user-2
add country=Poland datapath=wifi-datapath disabled=no name=5ghz security=sec-wpa2-front ssid=user-5
/interface wifi capsman
set ca-certificate=auto certificate=auto enabled=yes interfaces=bridge package-path="" require-peer-certificate=no upgrade-policy=none
/interface wifi provisioning
add action=create-dynamic-enabled master-configuration=2ghz supported-bands=2ghz-g,2ghz-n
add action=create-dynamic-enabled master-configuration=5ghz supported-bands=5ghz-a,5ghz-n,5ghz-ac
Audience1:
# model = RBD25GR-5HPacQD2HPnD
/interface bridge
add name=bridge
/interface lte
set [ find default-name=lte1 ] allow-roaming=no band="" disabled=yes sms-protocol=auto sms-read=no
/interface wifi datapath
add bridge=bridge disabled=no name=wifi-datapath
/interface wifi
# managed by CAPsMAN
# mode: AP, SSID: user-2, channel: 2462/n/eC
set [ find default-name=wifi1 ] configuration.manager=capsman-or-local .mode=ap datapath=wifi-datapath disabled=no
# managed by CAPsMAN
# mode: AP, SSID: user-5, channel: 5180/ac/Ceee
set [ find default-name=wifi2 ] configuration.manager=capsman-or-local .mode=ap datapath=wifi-datapath disabled=no
/interface wifi security
add authentication-types=wpa2-psk disabled=no encryption=ccmp name=sec-wpa2-backhaul
/interface wifi
set [ find default-name=wifi3 ] channel.skip-dfs-channels=10min-cac configuration.country=Poland .hide-ssid=yes .manager=local .mode=ap .ssid=backhaul datapath=wifi-datapath disabled=no \
security=sec-wpa2-backhaul
/interface bridge port
add bridge=bridge interface=ether1
add bridge=bridge interface=ether2
add bridge=bridge interface=wifi1
add bridge=bridge interface=wifi2
add bridge=bridge interface=wifi3
/ip neighbor discovery-settings
set discover-interface-list=!dynamic
/interface wifi cap
set discovery-interfaces=bridge enabled=yes slaves-static=yes
/ip dhcp-client
add interface=bridge
/system clock
set time-zone-name=Europe/Warsaw
/system identity
set name=MikroTik-A1
/system note
set show-at-login=no
Audience2, configured after removing the default config:
# model = RBD25GR-5HPacQD2HPnD
/interface bridge
add name=bridge
/interface lte
set [ find default-name=lte1 ] allow-roaming=no band="" disabled=yes sms-protocol=auto sms-read=no
/interface wifi datapath
add bridge=bridge disabled=no name=wifi-datapath
/interface wifi
# managed by CAPsMAN
# mode: AP, SSID: user-2, channel: 2472/n/eC
set [ find default-name=wifi1 ] configuration.manager=capsman-or-local .mode=ap datapath=wifi-datapath disabled=no
# managed by CAPsMAN
# mode: AP, SSID: user-5, channel: 5320/ac/eeeC
set [ find default-name=wifi2 ] configuration.manager=capsman-or-local .mode=ap datapath=wifi-datapath disabled=no
/interface wifi security
add authentication-types=wpa2-psk disabled=no encryption=ccmp name=sec-wpa2-backhaul
/interface wifi
set [ find default-name=wifi3 ] channel.skip-dfs-channels=10min-cac configuration.country=Poland .manager=local .mode=station-bridge .ssid=backhaul datapath=wifi-datapath disabled=no security=sec-wpa2-backhaul
/interface bridge port
add bridge=bridge interface=ether1
add bridge=bridge interface=ether2
add bridge=bridge interface=wifi1
add bridge=bridge interface=wifi2
add bridge=bridge interface=wifi3
/ip neighbor discovery-settings
set discover-interface-list=!dynamic
/interface wifi cap
set discovery-interfaces=bridge enabled=yes slaves-static=yes
/ip dhcp-client
add interface=bridge
/system identity
set name=MikroTik-A2
/system note
set show-at-login=no