Community discussions

MikroTik App
 
andrisp
just joined
Topic Author
Posts: 2
Joined: Tue May 30, 2023 1:11 pm

WifiWave2 slave wifi interface not working properly

Wed May 31, 2023 10:33 pm

Hi!

I have ax2 device and i'm configuring multiple SSID configs to separete devices later. (main, guest, iot). First of all - I love the the profile approach. So good to have everything organized.

The problem I'm encountered is that secondary wifi interfaces are not working properly. The SSID is broadcasting and I see it on the phone, but the phone cannot connect to any of the secondary ( slave ) wifi interfaces. It sometimes shows error - could not get IP adress.

Here's the kicker - it's not the problem in the wifi config per se, because when I change the configurations around and put a config that didn't work on a slave interface to a primary interface, it suddenly starts to work. That leads me to conclusion that the problem is in the slave interface fact and not somewhere else.

Could you please help me diagnose and debug where's the problem or maybe what I'm doing wrong?


Here's my config if that helps:
/interface/wifiwave2> export
# may/30/2023 22:04:00 by RouterOS 7.6
# software id = 6HKN-G0PH
#
# model = C52iG-5HaxD2HaxD

/interface wifiwave2 channel
add frequency=2412,2432,2472 name=ch-2ghz width=20mhz
add frequency=5180,5260,5500 name=ch-5ghz width=20/40/80mhz
/interface wifiwave2 security
add authentication-types=wpa2-psk,wpa3-psk name=sec_wcat
add authentication-types=wpa2-psk,wpa3-psk name=sec_iot
add authentication-types=wpa2-psk,wpa3-psk name=sec_guest

/interface wifiwave2 configuration
add country=Latvia name=conf_guest security=sec_guest ssid=Radio_Spainis2
add country=Latvia name=conf_wcat security=sec_wcat ssid=Whitecat
add name=conf_iot2g security=sec_iot ssid=Things2Ghz2

/interface wifiwave2
set [ find default-name=wifi1 ] channel=ch-5ghz channel.skip-dfs-channels=10min-cac comment=5GHZ configuration=conf_wcat \
    configuration.country=Latvia .mode=ap disabled=no security.authentication-types=wpa2-psk,wpa3-psk
add configuration=conf_guest configuration.mode=ap disabled=no mac-address=4A:A9:8A:7F:56:35 master-interface=wifi1 name=wifi1_slave1
add configuration=conf_wcat2 configuration.mode=ap disabled=no mac-address=4A:A9:8A:7F:56:36 master-interface=wifi1 name=wifi1_slave2
set [ find default-name=wifi2 ] channel=ch-2ghz channel.secondary-frequency=disabled .skip-dfs-channels=10min-cac comment=2GHZ \
    configuration=conf_wcat configuration.country=Latvia .mode=ap disabled=no security.authentication-types=wpa2-psk,wpa3-psk
add configuration=conf_guest configuration.mode=ap disabled=no mac-address=4A:A9:8A:7F:56:37 master-interface=wifi2 name=wifi2_slave1
add configuration=conf_iot2g configuration.mode=ap disabled=no mac-address=4A:A9:8A:7F:56:38 master-interface=wifi2 name=wifi2_slave2
(I'm a newb, but hoping I've put my problem in writing clearly enough)
 
erlinden
Forum Guru
Forum Guru
Posts: 1900
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: WifiWave2 slave wifi interface not working properly

Sat Jun 03, 2023 12:29 pm

Think adding the interfaces to the bridge will help a lot. Unfortunately you didn't export that part, can you please export:

/interface/bridge/export
 
holvoetn
Forum Guru
Forum Guru
Posts: 5317
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: WifiWave2 slave wifi interface not working properly

Sat Jun 03, 2023 2:18 pm

Oh yes, that mistake still happens to me from time to time.
 
andrisp
just joined
Topic Author
Posts: 2
Joined: Tue May 30, 2023 1:11 pm

Re: WifiWave2 slave wifi interface not working properly

Sat Jun 03, 2023 11:43 pm

Hi!
Thanks for suggestion. Here's my bridge export:
I didn't do anything fancy there yet, so that's why I didn't think of adding bridge export.

This AX2 device acts basicly like an AP + switch, because the router is a Chetau 5G device that is at the beginning of my device chain.
 > /interface/bridge/export
# jun/02/2023 23:14:44 by RouterOS 7.6
# software id = 6HKN-G0PH
#
# model = C52iG-5HaxD2HaxD

/interface bridge
add admin-mac=48:A9:8A:7F:56:31 auto-mac=no comment=defconf name=bridge
/interface bridge port
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=wifi1
add bridge=bridge comment=defconf interface=wifi2
 
holvoetn
Forum Guru
Forum Guru
Posts: 5317
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: WifiWave2 slave wifi interface not working properly

Sun Jun 04, 2023 9:27 am

And where is the slave wifi interface on that bridge ?

It's not there, so it can not work.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11381
Joined: Thu Mar 03, 2016 10:23 pm

Re: WifiWave2 slave wifi interface not working properly

Sun Jun 04, 2023 11:00 am

A word of explanation of what @holvoetn wrote: slave wireless interfaces are indeed slaves to master interface ... but only as far as radio parameters (frequency, channel width, Tx power, etc.) go. They are independent for the rest (security properties), including connection towards core network (i.e. handling of L2 and L3), nothing is "inherited" from master interface. They are as independant as the two distinct wireless radios in your cAP are.
 
claubucur
just joined
Posts: 2
Joined: Thu Jun 15, 2023 10:39 pm

Re: WifiWave2 slave wifi interface not working properly

Thu Jun 15, 2023 10:42 pm

Did you make it work? I'm having the same problem with my AX2 and a guest wifi interface.
 
nonamegsm
just joined
Posts: 3
Joined: Sun Jun 18, 2023 2:50 pm

Re: WifiWave2 slave wifi interface not working properly

Sun Jun 18, 2023 2:54 pm

Hi, solved this by adding a DYNAMIC interface list in a bridge of a each AP CAP.

Who is online

Users browsing this forum: Amazon [Bot] and 31 guests