@pmastal @jaclaz upon your requests I’ve now cleaned up my configurations.
I’m aware that I haven’t setup VLANs yet @pmastal, this is because I do one step at a time.
As I’ve already stated: Provisioning IOT and NTR wifi configuration as slave interfaces for the CAP works fine
/interface wifi provisioning
add action=create-dynamic-enabled disabled=no master-configuration=cfg_home.34_2 slave-configurations=cfg_home.34_2_NTR,cfg_home.34_2_IOT supported-bands=2ghz-ax
, but since now only the CAP is offering those wifis, I thought I have to manually create both of the same wifi on the CAPsMAN too.
/interface wifi
add configuration=cfg_home.34_2_IOT configuration.mode=ap disabled=no mac-address=D2:EA:11:3D:E0:9C master-interface=home.34_2 mtu=1500 name=home.34_2_IOT security=\
sec_not_FAM steering=steering1
add configuration=cfg_home.34_2_NTR configuration.mode=ap disabled=no mac-address=D2:EA:11:3D:E0:9B master-interface=home.34_2 mtu=1500 name=home.34_2_NTR security=\
sec_not_FAM steering=steering1
I did so by selecting home.34_2 as their master configuration just like the IOT and NTR configurations are provisioned to the master configuration of home.34_2, but this seems to be causing issues with devices, who want to join from the IOT / NTR wifi that the CAPsMAN offers.
Complete configuration of my CAPsMAN:
/interface bridge
add admin-mac=D0:EA:11:3D:E0:96 auto-mac=no comment=defconf fast-forward=no name=bridge
/interface list
add name=LAN
/interface wifi channel
add band=5ghz-ax disabled=no frequency=5150-5250,5250-5350,5470-5725 name=channel_5ghz skip-dfs-channels=10min-cac width=20/40mhz
add band=2ghz-ax disabled=no frequency=2412,2432,2472 name=channel_2ghz width=20mhz
/interface wifi security
add authentication-types=wpa2-psk,wpa3-psk disabled=no encryption=ccmp ft=yes ft-over-ds=yes ft-preserve-vlanid=yes management-encryption=cmac \
management-protection=allowed name=sec_FAM wps=disable
add authentication-types=wpa2-psk,wpa3-psk comment="includes NTR and IOT" disabled=no encryption=ccmp ft=yes ft-over-ds=yes ft-preserve-vlanid=yes \
management-encryption=cmac management-protection=allowed name=sec_not_FAM wps=push-button
/interface wifi steering
add disabled=no name=steering1 neighbor-group=dynamic-home.34_5-7e02348a rrm=yes wnm=yes
/interface wifi configuration
add channel=channel_5ghz country=Germany disabled=no mode=ap name=cfg_home.34_5 security=sec_FAM ssid=home.34_5 steering=steering1
add channel=channel_2ghz country=Germany disabled=no mode=ap name=cfg_home.34_2 security=sec_FAM ssid=home.34_2 steering=steering1
add channel=channel_2ghz country=Germany disabled=no mode=ap name=cfg_home.34_2_NTR security=sec_not_FAM ssid=home.34_2_NTR steering=steering1
add channel=channel_2ghz country=Germany disabled=no mode=ap name=cfg_home.34_2_IOT security=sec_not_FAM ssid=home.34_2_IOT steering=steering1
/interface wifi
set [ find default-name=wifi2 ] channel=channel_2ghz configuration=cfg_home.34_2 configuration.mode=ap disabled=no name=home.34_2 security=sec_FAM steering=\
steering1
add configuration=cfg_home.34_2_IOT configuration.mode=ap disabled=no mac-address=D2:EA:11:3D:E0:9C master-interface=home.34_2 mtu=1500 name=home.34_2_IOT security=\
sec_not_FAM steering=steering1
add configuration=cfg_home.34_2_NTR configuration.mode=ap disabled=no mac-address=D2:EA:11:3D:E0:9B master-interface=home.34_2 mtu=1500 name=home.34_2_NTR security=\
sec_not_FAM steering=steering1
set [ find default-name=wifi1 ] channel=channel_5ghz configuration=cfg_home.34_5 configuration.mode=ap disabled=no name=home.34_5 security=sec_FAM steering=\
steering1
/disk settings
set auto-media-interface=bridge auto-media-sharing=yes auto-smb-sharing=yes
/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=sfp1
add bridge=bridge comment=defconf interface=home.34_2
add bridge=bridge comment=defconf interface=home.34_5
add bridge=bridge interface=ether1
/ipv6 settings
set disable-ipv6=yes
/interface list member
add comment=defconf interface=bridge list=LAN
/interface wifi capsman
set enabled=yes interfaces=bridge upgrade-policy=suggest-same-version
/interface wifi provisioning
add action=create-dynamic-enabled disabled=no master-configuration=cfg_home.34_2 slave-configurations=cfg_home.34_2_NTR,cfg_home.34_2_IOT supported-bands=2ghz-ax
add action=create-dynamic-enabled disabled=no master-configuration=cfg_home.34_5 supported-bands=5ghz-ax
/ip address
add address=10.0.0.10/24 comment=defconf interface=bridge network=10.0.0.0
/ip dns
set allow-remote-requests=yes servers=10.0.0.1
/ip dns static
add address=10.0.0.10 comment=defconf name=router.lan type=A
/ip route
add disabled=no dst-address=0.0.0.0/0 gateway=10.0.0.1
/system clock
set time-zone-name=Europe/Berlin
/system identity
set name=Main
Complete configuration of my CAP:
/interface bridge
add admin-mac=D0:EA:11:3D:DC:1A auto-mac=no comment=defconf name=bridge
/interface wifi
# managed by CAPsMAN D0:EA:11:3D:E0:96%bridge, traffic processing on CAP
# mode: AP, SSID: home.34_2, channel: 2472/ax
set [ find default-name=wifi2 ] channel.skip-dfs-channels=10min-cac configuration.manager=capsman .mode=ap datapath.bridge=bridge disabled=no name=2ghz \
security.authentication-types=wpa2-psk,wpa3-psk .ft=yes .ft-over-ds=yes
# managed by CAPsMAN D0:EA:11:3D:E0:96%bridge, traffic processing on CAP
# mode: AP, SSID: home.34_5, channel: 5700/ax/Ce/D
set [ find default-name=wifi1 ] channel.skip-dfs-channels=10min-cac configuration.manager=capsman .mode=ap datapath.bridge=bridge disabled=no name=5ghz \
security.authentication-types=wpa2-psk,wpa3-psk .ft=yes .ft-over-ds=yes
/interface list
add comment=defconf name=LAN
/disk settings
set auto-media-interface=bridge auto-media-sharing=yes auto-smb-sharing=yes
/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=sfp1
add bridge=bridge comment=defconf interface=2ghz
add bridge=bridge comment=defconf interface=5ghz
add bridge=bridge interface=ether1
/ipv6 settings
set disable-ipv6=yes
/interface list member
add comment=defconf interface=bridge list=LAN
/interface wifi cap
set caps-man-addresses=10.0.0.10 certificate=request discovery-interfaces=bridge enabled=yes
/ip address
add address=10.0.0.20/24 comment=defconf interface=bridge network=10.0.0.0
/ip dns
set allow-remote-requests=yes servers=10.0.0.1
/ip dns static
add address=10.0.0.20 comment=defconf name=router.lan type=A
/ip route
add disabled=no dst-address=0.0.0.0/0 gateway=10.0.0.1
/system clock
set time-zone-name=Europe/Berlin
/system identity
set name=Office
I don’t really get what I’m doing wrong since I do not see any other possibility to also add IOT and NTR on my CAPsMAN. Please help me understand what I’m doing wrong!
Thanks in advance.