RB4011iGS+5HacQ2HnD-IN and WPA3

Hi folks!

I have bought a RB4011iGS+5HacQ2HnD-IN without doing the prechecks :slight_smile:
Not to experienced with Mikrotik product so sorry for novise questions.

Is it possible to get this device to support WPA3? From what I have found after searching is that the 2,4Ghz does not support WPA3, but can I disable the 2.4 and use WPA3 for the 5Ghz? I’m also setting up CAPsman as I have bought three CAP aX wifi 6 devices.

Updated to lates firmware, but not able to enable WPA3 under the capsman security config.

Any suggestions?

Regards GK

You may have to uninstall wireless driver on the RB4011 and add wifi-qcom-ac.
You will loose 2.4GHz radio on that device but 5GHz radio can be used as local radio with WPA3. Not within capsman. Just a minute …

It will also be able to be used as capsman controller for AX devices.

Now comes the nifty thing … since both local radio and capsman controller are on the same ROS instance (RB4011), seamless roaming between all radios will work.

Thank you so much for your answer.

I’m in the process of setting this up now and see that I forgot to mention that I also have a multi vlan and SSID setup. Is it possible to get the to work? I used same approach as for CAPSman, created a datapath (under WiFi men, missing the Wireless menu), but get a warning that "vlan-id configured, but interface does not support assigning vlans.

/GK

Do not setup local radio under capsman.
Treat it as a local radio with vlan etc.

hmm.. sorry for novise question, but I think I did (from GUI), but should there be Wireless–>Capsman menu?

here is the setup from ssh:


/interface wifi datapath
add bridge=bridge disabled=no name=DataPath_WifiName vlan-id=500
/interface wifi security
add authentication-types=wpa3-psk disabled=no encryption=ccmp name=SecProf_WifiName
/interface wifi configuration
add country=Norway datapath=DataPath_WifiName disabled=no mode=ap name=cfg_WifiName security=SecProf_WifiName ssid=WifiName
/interface wifi

DFS channel availability check (10 min)

vlan-id configured, but interface does not support assigning vlans

set [ find default-name=wifi1 ] configuration=cfg_WifiName configuration.mode=ap disabled=no

Don’t set vlan on datapath.
Use interface as with other ports via bridge.

Wireless capsman menu might be there but doesn’t do anything anymore if you use wifi-qcom-ac driver.

Thank you for your patience :slight_smile:

I have worked quite a bit with differen network equipment over the years, but struggeling to get my head around “the Mikroti way” of doing things.
Do I then need to create one bridge pr SSID and vlan? or how is the connection from wifi1 to the vlan? I see on my brigde–>port page that I have a interface “wifi1” with a pvid=1, but this is dynamic and I cannot remove or edit pvid.


And further on, I would like to use this RB4011 as CAPsman for several other CAP ax devices. But how to fix this when I don’t have access to CAPsman menu?

/GK

In 95% of cases: 1 bridge for whatever you want to throw at it.

As for VLAN: you may want to check this excellent tutorial:
http://forum.mikrotik.com/t/using-routeros-to-vlan-your-network/126489/1
Use the wifi interface in your bridge settings.

If the radio on your RB4011 is being listed as dynamic, it means you have it configured to use capsman ? Set it to manager=local.

For the cAP AX devices, no problem to use datapath pvid setting (provided those devices are set to caps mode, which does have some config changes which are required).

There is no separate capsman menu for wave2 radios. It’s all mixed with wifi settings.
That’s why you can also configure RB4011-5GHz radio local. 95% of the settings will be the same as for other caps devices.
The only difference is you do not set that radio to be capsman controlled and you do not provision.

The oddities are (in short):

  • Remote CAP - button with capsman to enable capsman function
  • provision tab - that’s where you set the needed configuration to the required radio

Other reading material (Wifi Help pages - Capsman)
https://help.mikrotik.com/docs/spaces/ROS/pages/224559120/WiFi#WiFi-WiFiCAPsMAN

Thank you so much for help. I will dig into this next weekend.
/GK

Hi

Trying with yet another question, I was finally able to find some time and do the setup of the local radio. I was able to get my primary SSID to run on the vlan I wanted to. But is it possible to have several SSID on different vlans with this setup?

/GK

Sure.

Each slave radio needs to be attached to a master and will take over the physical properties but can have separate SSID and security.
Each of those slave radios will be an interface on its own and then the VLAN game can be applied again.

Just don’t overdo it because each virtual SSID will ultimately result in all SSIDs for that radio to become slower.
I don’t know anymore where I saw it but you really should stop around 10 :laughing:

Thanks for the helpful input, I finally got the radios “local” in my RB4011 to function as wanted. One SSID setup directly on the wifi1 interface and two others as slave config. Is this recommend or is it better to have all three as slaves?

And no I have a different question regarding CAPSman and different VLANs and SSIDs.

The plan is to have three different SSID on three different vlans
I have created all the vlans, ip addressing, DHCP scopes and stuff, verified by assigning each of them to ether port and connect.
In addition have created a fourth vlan for managent of devices. I have moved management of the RB4011 to this, I will in the end have no traffic on vlan1.

CAPSman setup:

/interface wifi datapath
add bridge=bridge disabled=no name=dp_SSID1 vlan-id=301
add bridge=bridge disabled=no name=dp_SSID1 vlan-id=302
/interface wifi security
add authentication-types=wpa2-psk,wpa3-psk disabled=no encryption=ccmp name=sec_SSID1
add authentication-types=wpa2-psk,wpa3-psk disabled=no encryption=ccmp name=sec_SSID2
/interface wifi configuration
add country=country datapath=dp_SSID1 datapath.vlan-id=none disabled=no mode=ap name=cfg_SSID1 security=sec_SSID1 ssid=SSID1
add country=country datapath=dp_SSID2 datapath.vlan-id=none disabled=no mode=ap name=cfg_SSID2 security=sec_SSID2 ssid=SSID2
/interface wifi provisioning
add action=create-dynamic-enabled disabled=no master-configuration=cfg_SSID1 slave-configurations=cfg_SSID2


The ports where CAPs are connected (CAPax) is setup as tagged for vlan301 and vlan302, untagged for management vlan.


The CAP Ax are connecting to manager, get config and broadcasts the SSIDs. I can connect to the SSIDs but I don’t get ip addresse.

So, what is missing :slight_smile:

I can only tell you what we are missing… Full configs of both devices.

Hi

Here is full config. I did some search replace to hide names, ip addresses and so on, so disregard overlapping ip segments. All ip stuff are ok.

The CAP ax is connected to port 8 and has no config but what comes from manager.

RB4011 is running wifi-qcom-7.16.1-arm



/interface bridge
add admin-mac=xx:xx:xx:xx:xx:xx auto-mac=no comment=defconf name=bridge vlan-filtering=yes
/interface ethernet
set [ find default-name=ether1 ] comment=Internet
set [ find default-name=ether2 ] comment=Room
set [ find default-name=ether3 ] comment=Office
set [ find default-name=ether9 ] comment=Outside
/interface wifi
set [ find default-name=wifi1 ] configuration.hide-ssid=no .mode=ap .ssid=WifiInternal disabled=no security.authentication-types=wpa2-psk,wpa3-psk
add configuration.hide-ssid=no .mode=ap .ssid=WifiBIS disabled=no mac-address=xx:xx:xx:xx:xx:xx master-interface=wifi1 name=wifi1_BIS security.authentication-types=wpa2-psk,wpa3-psk
add configuration.hide-ssid=no .mode=ap .ssid=WifiGuest disabled=no mac-address=xx:xx:xx:xx:xx:xx master-interface=wifi1 name=wifi1_Guest security.authentication-types=wpa2-psk,wpa3-psk
/interface vlan
add comment=xx_int_intern interface=bridge name=Intern vlan-id=11
add comment=xx_int_intern interface=bridge name=Management vlan-id=10
add comment=xx_LowerBuilding interface=bridge name=LowerBuilding vlan-id=800
add comment=xx_WiFi_WifiBIS interface=bridge name=WiFi_WifiBIS vlan-id=501
add comment=xx_H interface=bridge name=WiFi_WifiGuest vlan-id=502
add comment=xx_WiFi_WifiInternal interface=bridge name=WiFi_WifiInternal vlan-id=500
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wifi datapath
add bridge=bridge disabled=no name=dp_WifiInternal vlan-id=500
add bridge=bridge disabled=no name=dp_WifiBIS vlan-id=501
/interface wifi security
add authentication-types=wpa2-psk,wpa3-psk disabled=no encryption=ccmp name=sec_WifiInternal
add authentication-types=wpa2-psk,wpa3-psk disabled=no encryption=ccmp name=sec_WifiBIS
/interface wifi configuration
add country=country datapath=dp_WifiInternal datapath.vlan-id=none disabled=no mode=ap name=cfg_WifiInternal security=sec_WifiInternal ssid=WifiInternal
add country=country datapath=dp_WifiBIS disabled=no mode=ap name=cfg_WifiBIS security=sec_WifiBIS ssid=WifiBIS
/ip pool
add name=default-dhcp ranges=192.168.88.10-192.168.88.254
add name=mgmt-port-dhcp ranges=192.168.0.20-192.168.0.30
add name=Intern-dhcp ranges=192.168.11.20-192.168.11.200
add name=Management-dhcp ranges=192.168.10.20-192.168.10.200
add name=WiFi_WifiInternal-dhcp ranges=192.168.10.20-192.168.10.200
add name=WiFi_WifiBIS-dhcp ranges=192.168.11.20-192.168.11.200
add name=WiFi_WifiGuest-dhcp ranges=192.168.12.20-192.168.12.200
add name=LowerBuilding-dhcp ranges=192.168.0.20-192.168.0.200
/ip dhcp-server
add address-pool=default-dhcp interface=bridge name=defconf
add address-pool=mgmt-port-dhcp interface=ether10 name=mgmt-port-dhcp
add address-pool=Intern-dhcp interface=Intern name=Intern-dhcp
add address-pool=Management-dhcp interface=Management name=Management-dhcp
add address-pool=WiFi_WifiInternal-dhcp interface=WiFi_WifiInternal name=WiFi_WifiInternal-dhcp
add address-pool=WiFi_WifiBIS-dhcp interface=WiFi_WifiBIS name=WiFi_WifiBIS-dhcp
add address-pool=WiFi_WifiGuest-dhcp interface=WiFi_WifiGuest name=WiFi_WifiGuest-dhcp
add address-pool=LowerBuilding-dhcp interface=LowerBuilding name=LowerBuilding-dhcp
/port
set 0 name=serial0
set 1 name=serial1
/interface bridge port
add bridge=bridge comment=kontor_mgmt frame-types=admit-only-untagged-and-priority-tagged interface=ether3 pvid=10
add bridge=bridge comment=“test vlan 500” frame-types=admit-only-untagged-and-priority-tagged interface=ether4 pvid=500
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=ether6
add bridge=bridge comment=defconf interface=ether7
add bridge=bridge comment=defconf interface=ether8 pvid=10
add bridge=bridge comment=Garasje interface=ether9
add bridge=bridge comment=defconf interface=sfp-sfpplus1
add bridge=bridge comment=defconf interface=*D
add bridge=bridge comment=defconf interface=*E
add bridge=bridge comment=Management_ether2 frame-types=admit-only-untagged-and-priority-tagged interface=ether2 pvid=10
add bridge=bridge interface=wifi1 pvid=500
add bridge=bridge interface=*28 pvid=501
add bridge=bridge interface=wifi1_Guest pvid=502
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface bridge vlan
add bridge=bridge comment=vlan_Intern tagged=ether9,bridge,ether8 vlan-ids=11
add bridge=bridge comment=vlan_Management tagged=ether9,bridge untagged=ether3,ether8 vlan-ids=10
add bridge=bridge comment=vlan_WiFi_WifiInternalt tagged=ether9,bridge,ether8 vlan-ids=500
add bridge=bridge comment=vlan_WiFi_WifiBIS tagged=ether9,bridge,ether8 vlan-ids=501
add bridge=bridge comment=vlan_WiFi_WifiGuest tagged=ether9,bridge,ether8 vlan-ids=502
add bridge=bridge comment=vlan_LowerBuilding tagged=ether9,bridge vlan-ids=800
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
add comment=xxs-mgmt-port interface=ether10 list=LAN
add comment=xx interface=Management list=LAN
/interface wifi capsman
set enabled=yes package-path=“” require-peer-certificate=no upgrade-policy=none
/interface wifi provisioning
add action=create-dynamic-enabled disabled=no master-configuration=cfg_WifiInternal slave-configurations=cfg_WifiBIS
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridge network=192.168.88.0
add address=192.168.0.10/24 comment=mgmt-port interface=ether10 network=192.168.0.0
add address=192.168.11.1/24 comment=xx interface=Intern network=192.168.11.0
add address=192.168.10.1/24 comment=xx interface=Management network=192.168.10.0
add address=192.168.10.1/24 comment=WiFi_WifiInternal interface=WiFi_WifiInternal network=192.168.10.0
add address=192.168.11.1/24 comment=WiFi_WifiBIS interface=WiFi_WifiBIS network=192.168.11.0
add address=192.168.12.1/24 comment=WiFi_WifiGuest interface=WiFi_WifiGuest network=192.168.12.0
add address=192.168.0.1/24 comment=LowerBuilding interface=LowerBuilding network=192.168.0.0
/ip dhcp-client
add comment=defconf interface=ether1
/ip dhcp-server network
add address=192.168.10.0/24 comment=Management_dhcp_option dns-server=8.8.8.8 gateway=192.168.10.1
add address=192.168.11.0/24 comment=Intern_dhcp_option dns-server=8.8.8.8 gateway=192.168.11.1
add address=192.168.10.0/24 comment=WiFi_WifiInternalt_dhcp_option dns-server=8.8.8.8 gateway=192.168.10.1
add address=192.168.11.0/24 comment=WiFi_WifiBISt_dhcp_option dns-server=8.8.8.8 gateway=192.168.11.1
add address=192.168.12.0/24 comment=WiFi_WifiGuest_dhcp_option dns-server=8.8.8.8 gateway=192.168.12.1
add address=192.168.0.0/24 comment=LowerBuilding_dhcp_option dns-server=8.8.8.8 gateway=192.168.0.1
add address=192.168.88.0/24 comment=defconf dns-server=192.168.88.1 gateway=192.168.88.1
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.88.1 comment=defconf name=router.lan type=A

You must change WiFi_WifiGuest-dhcp. But don’t ask me which one… :laughing:
(do not use same name for two different things, it doesn’t make sense)

Each entry with ***** is misconfigured.

CAP config is missing.

VLAN configuration isn’t ideal:
/interface bridge port
add bridge=bridge comment=defconf interface=ether8 pvid=10

/interface bridge vlan
add bridge=bridge comment=vlan_Intern tagged=ether9,bridge,ether8 vlan-ids=11
add bridge=bridge comment=vlan_Management tagged=ether9,bridge untagged=ether3,ether8 vlan-ids=10
add bridge=bridge comment=vlan_WiFi_WifiInternalt tagged=ether9,bridge,ether8 vlan-ids=500
add bridge=bridge comment=vlan_WiFi_WifiBIS tagged=ether9,bridge,ether8 vlan-ids=501
add bridge=bridge comment=vlan_WiFi_WifiGuest tagged=ether9,bridge,ether8 vlan-ids=502
add bridge=bridge comment=vlan_LowerBuilding tagged=ether9,bridge vlan-ids=800

You want trunk between CAPs and CAPsMAN.