I am trying to setup two Mikrotik devices, with one device being the CAPsMAN and the other device being the CAP.
My smartphone can see the SSID and also tries to connect. However, the smartphone tries connecting for some seconds and then aborts. I highly assume that the reason is about a problem in the connection of the SSID to my VLAN 61. If I configure the CAP device to retrieve an IP via DHCP directly on VLAN 61, it works. But I think that the smartphone does not get an IP configuration (via DHCP) when it tries to connect to the SSID.
My CAPsMAN configuration:
Code: Select all
# Exported via: /interface wifiwave2 export hide-sensitive
/interface wifiwave2 channel
add band=2ghz-ax disabled=no name=2GHz skip-dfs-channels=10min-cac width=20/40mhz
add band=5ghz-ax disabled=no name=5GHz skip-dfs-channels=10min-cac width=20/40/80mhz
/interface wifiwave2 datapath
add bridge=bridge_primary disabled=no name=VLAN_GUESTS vlan-id=61
/interface wifiwave2 security
add authentication-types=wpa2-psk,wpa3-psk disabled=no encryption=ccmp,gcmp,ccmp-256,gcmp-256 group-key-update=5m management-protection=allowed name=MySecurityTemplate wps=disable
/interface wifiwave2 configuration
add channel=2GHz country=Germany datapath=VLAN_GUESTS disabled=no mode=ap name=WiFi_2GHz security=MySecurityTemplate ssid="MySSID"
add channel=5GHz country=Germany datapath=VLAN_GUESTS disabled=no mode=ap name=WiFi_5GHz security=MySecurityTemplate ssid="MySSID"
/interface wifiwave2 capsman
set ca-certificate=auto certificate=auto enabled=yes interfaces=VLAN_20 package-path="" require-peer-certificate=no upgrade-policy=none
/interface wifiwave2 provisioning
add action=create-dynamic-enabled disabled=no master-configuration=WiFi_2GHz supported-bands=2ghz-ax
add action=create-dynamic-enabled disabled=no master-configuration=WiFi_5GHz supported-bands=5ghz-ax
My CAP configuration:
Code: Select all
# /interface wifiwave2 export hide-sensitive
/interface wifiwave2
# managed by CAPsMAN
# mode: AP, SSID: MySSID, channel: 5700/ax/eeCe
set [ find default-name=wifi1 ] configuration.manager=capsman .mode=ap disabled=no
# managed by CAPsMAN
# mode: AP, SSID: MySSID, channel: 2427/ax/Ce
set [ find default-name=wifi2 ] configuration.manager=capsman .mode=ap disabled=no
/interface wifiwave2 cap
set certificate=request discovery-interfaces=VLAN_20 enabled=yes lock-to-caps-man=yes
Shouldn't the Datapath config be enough for connecting an SSID to a VLAN?
Code: Select all
/interface wifiwave2 datapath
add bridge=bridge_primary disabled=no name=VLAN_GUESTS vlan-id=61
Thomas