I've a setup consisting of two hap ac^2. One of them is a CAPsMAN controller and router and the other is a CAP + managed switch.
After some work I was able to get it all working, VLANs included (I was new to Mikrotik and mostly new to networking). But I never managed to configure wireless correctly as I have some issues, as follows:
- I can't saturate my internet connection bandwidth, while my ISP gear can (around 500Mbps), when testing with speedtest
- My devices seem to be disconnecting every now and then (not sure if all but at least two of them, one macOS based and another Windows 10)
- And I'm somewhat frequently hit with huge latency in applications (in games, for example)
I've kept most of the wireless settings default as I'm not knowledgeable enough to not make it worse but was wondering if you could help me review my configuration.
Code: Select all
/interface wireless
# managed by CAPsMAN
# channel: 2457/20/gn(17dBm), SSID: <ssid>, CAPsMAN forwarding
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX distance=indoors frequency=auto installation=indoor mode=ap-bridge ssid=MikroTik wireless-protocol=802.11
# managed by CAPsMAN
# channel: 5240/20-eeeC/ac/P(20dBm), SSID: <ssid>, CAPsMAN forwarding
set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=20/40/80mhz-XXXX distance=indoors frequency=auto installation=indoor mode=ap-bridge ssid=MikroTik wireless-protocol=802.11
/caps-man configuration
add channel.band=2ghz-g/n \
channel.control-channel-width=20mhz \
channel.extension-channel=disabled \
country=<country> \
datapath.bridge=bridge \
datapath.vlan-id=1 \
datapath.vlan-mode=use-tag \
installation=any \
name=2GHz \
security.authentication-types=wpa2-psk \
security.encryption=aes-ccm \
ssid=<ssid-1>
add channel.band=5ghz-a/n/ac \
channel.control-channel-width=20mhz \
country=<country> \
datapath.bridge=bridge \
datapath.vlan-id=1 \
datapath.vlan-mode=use-tag \
installation=any \
name=5GHz \
security.authentication-types=wpa2-psk \
security.encryption=aes-ccm \
ssid=<ssid-1>
add datapath.bridge=bridge \
datapath.vlan-id=2 \
datapath.vlan-mode=use-tag \
name=<name-2> \
security.authentication-types=wpa2-psk \
security.encryption=aes-ccm \
ssid=<name-2>
add datapath.bridge=bridge \
datapath.vlan-id=3 \
datapath.vlan-mode=use-tag \
name=<name-3> \
security.authentication-types=wpa2-psk \
security.encryption=aes-ccm \
ssid=<ssid-3>
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys supplicant-identity=MikroTik
/caps-man manager
set enabled=yes
/caps-man provisioning
add action=create-dynamic-enabled hw-supported-modes=gn master-configuration=2GHz slave-configurations=<name-2>,<name-3>
add action=create-dynamic-enabled hw-supported-modes=ac master-configuration=5GHz slave-configurations=<name-2>,<name-3>
/interface wireless cap
set bridge=bridge caps-man-addresses=127.0.0.1 enabled=yes interfaces=wlan1,wlan2
It should contain most of the relevant configurations, exporting with `hide-sensitive` (and I further replaces some other private details).
Would appreciate some feedback and feel free to ask for more info if necessary.