Community discussions

MikroTik App
 
pinkers
just joined
Topic Author
Posts: 9
Joined: Mon Jun 18, 2018 1:21 pm

capsman wifiwave2 no ip

Sun Mar 19, 2023 2:07 pm

hi,
i try to config wifiwave2 with capsman.
i have:
1 RB5009UG+S+ with 7.8 firmware this is capsman
1 hAP ax2 with 7.8 firmware
i make 3 bridge on 5009:
- LANBridge
- WIFI24BRIDGE on this i make hotspot
- WIFI5BRIDGE on this i mache DHCP server
i make 2 configuration in wireless table:.
conf1 for wifi1 of the hAP with datapath WIFI5BRIDGE and SSID WIFI5
conf2 for wifi2 of the hAP with datapath WIFI24BRIDGE and SSID wifi24
i see the interface cap-wifi1 and cap-wifi2
I see the SSID WIFI5 and WIFI24 anc i can connect correctly but i do not have any IP address.
Can you help me?
thanks
 
erlinden
Forum Guru
Forum Guru
Posts: 1920
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: capsman wifiwave2 no ip

Sun Mar 19, 2023 2:37 pm

Config would be very helpful:

/export file=anynameyoulike
 
pinkers
just joined
Topic Author
Posts: 9
Joined: Mon Jun 18, 2018 1:21 pm

Re: capsman wifiwave2 no ip

Sun Mar 19, 2023 8:06 pm

This is export
# model = RB5009UG+S+
/interface bridge
add name=bridgeLAN
add name=bridgeWiFi5
add name=bridgeWiFi24
/interface ethernet
set [ find default-name=ether5 ] comment="CAP" name=CAPeth5
set [ find default-name=ether2 ] name=LANeth2
set [ find default-name=ether1 ] comment="WAN" name=WANeth1
/interface wifiwave2 channel
add band=2ghz-ax disabled=no frequency=2412 name=channel1 width=20mhz
add band=5ghz-ax disabled=no frequency=5180 name=channel2 width=20mhz
/interface wifiwave2 configuration
add channel=channel1 channel.band=2ghz-n .width=20mhz comment=\
"Configurazione pe 2,4GHz" country=Italy datapath.bridge=bridgeWiFi24 \
.bridge-horizon=10 disabled=no mode=ap name=WiFi2.4 ssid=\
WiFi2.4
/interface wifiwave2
add channel=channel1 channel.frequency=2412 comment=\
"Configurazioni per 2,4GHz" configuration=WiFi2.4 \
configuration.mode=ap disabled=no name=cap-wifi2
/interface wifiwave2 security
add authentication-types=wpa2-psk,wpa3-psk disabled=no name=sec5GHz
/interface wifiwave2 configuration
add channel=channel2 channel.band=5ghz-ax .width=20mhz comment=\
"Configurazione pe 5GHz" datapath.bridge=bridgeWiFi5 .interface-list=all \
disabled=no name=WiFi5 security=sec5GHz ssid=WiFi5
/interface wifiwave2
add channel=channel2 channel.frequency=5180 comment="Configurazioni per 5GHz" \
configuration=WiFi5 configuration.mode=ap disabled=no name=\
cap-wifi1
/ip hotspot profile
add hotspot-address=172.16.1.1 name=hsprof1
/ip pool
add name=poolLAN ranges=192.168.1.2-192.168.1.200
add name=poolWiFi5 ranges=10.2.2.2-10.2.2.200
add name=poolWiFi24 ranges=172.16.1.2-172.16.1.200
add name=poolCAP ranges=192.168.3.2-192.168.3.20
/ip dhcp-server
add address-pool=poolWiFi5 interface=bridgeWiFi5 name=dhcpserver5
add address-pool=poolWiFi24 disabled=\
yes interface=bridgeWiFi24 name=dhcpserver24
add address-pool=poolLAN interface=bridgeLAN name=dhcpserverLAN
add address-pool=poolCAP interface=CAPeth5 name=dhcpserverCAP
/ip hotspot
add address-pool=poolWiFi24 disabled=no interface=bridgeWiFi24 name=hotspot1 \
profile=hsprof1
/interface bridge port
add bridge=bridgeLAN interface=LANeth2
/ip neighbor discovery-settings
set discover-interface-list=!dynamic
/interface wifiwave2 capsman
set ca-certificate=auto enabled=yes package-path="" require-peer-certificate=\
no upgrade-policy=none
/interface wifiwave2 provisioning
add action=create-dynamic-enabled disabled=yes
/ip address
add address=192.168.1.1/24 interface=bridgeLAN network=192.168.1.0
add address=10.2.2.1/24 interface=bridgeWiFi5 network=10.2.2.0
add address=172.16.1.1/24 interface=bridgeWiFi24 network=172.16.1.0
add address=192.168.3.1/24 interface=CAPeth5 network=192.168.3.0
/ip dhcp-client
add interface=WANeth1
/ip dhcp-server network
add address=10.2.2.0/24 dns-server=8.8.8.8 gateway=10.2.2.1 netmask=24
add address=172.16.1.0/24 dns-server=8.8.8.8 gateway=172.16.1.1 netmask=24
add address=192.168.1.0/24 dns-server=8.8.8.8 gateway=192.168.8.1 netmask=24
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes
add action=accept chain=input connection-state=established,related
add action=drop chain=input disabled=yes in-interface=WANeth1
add action=accept chain=forward connection-state=established,related
add action=drop chain=forward disabled=yes in-interface=WANeth1
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes
add action=masquerade chain=srcnat out-interface=WANeth1
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
src-address=172.16.1.0/24
/ip hotspot user
add name=admin
/system clock
set time-zone-name=Europe/Rome
/system identity
set name=mywifi
 
maigonis
Member Candidate
Member Candidate
Posts: 181
Joined: Sat Jul 20, 2019 8:16 pm

Re: capsman wifiwave2 no ip

Sun Mar 19, 2023 9:19 pm

This is export
# model = RB5009UG+S+
/interface bridge
add name=bridgeLAN
add name=bridgeWiFi5
add name=bridgeWiFi24
/interface ethernet
set [ find default-name=ether5 ] comment="CAP" name=CAPeth5
set [ find default-name=ether2 ] name=LANeth2
set [ find default-name=ether1 ] comment="WAN" name=WANeth1
/interface wifiwave2 channel
add band=2ghz-ax disabled=no frequency=2412 name=channel1 width=20mhz
add band=5ghz-ax disabled=no frequency=5180 name=channel2 width=20mhz
/interface wifiwave2 configuration
add channel=channel1 channel.band=2ghz-n .width=20mhz comment=\
"Configurazione pe 2,4GHz" country=Italy datapath.bridge=bridgeWiFi24 \
.bridge-horizon=10 disabled=no mode=ap name=WiFi2.4 ssid=\
WiFi2.4
/interface wifiwave2
add channel=channel1 channel.frequency=2412 comment=\
"Configurazioni per 2,4GHz" configuration=WiFi2.4 \
configuration.mode=ap disabled=no name=cap-wifi2
/interface wifiwave2 security
add authentication-types=wpa2-psk,wpa3-psk disabled=no name=sec5GHz
/interface wifiwave2 configuration
add channel=channel2 channel.band=5ghz-ax .width=20mhz comment=\
"Configurazione pe 5GHz" datapath.bridge=bridgeWiFi5 .interface-list=all \
disabled=no name=WiFi5 security=sec5GHz ssid=WiFi5
/interface wifiwave2
add channel=channel2 channel.frequency=5180 comment="Configurazioni per 5GHz" \
configuration=WiFi5 configuration.mode=ap disabled=no name=\
cap-wifi1
/ip hotspot profile
add hotspot-address=172.16.1.1 name=hsprof1
/ip pool
add name=poolLAN ranges=192.168.1.2-192.168.1.200
add name=poolWiFi5 ranges=10.2.2.2-10.2.2.200
add name=poolWiFi24 ranges=172.16.1.2-172.16.1.200
add name=poolCAP ranges=192.168.3.2-192.168.3.20
/ip dhcp-server
add address-pool=poolWiFi5 interface=bridgeWiFi5 name=dhcpserver5
add address-pool=poolWiFi24 disabled=\
yes interface=bridgeWiFi24 name=dhcpserver24
add address-pool=poolLAN interface=bridgeLAN name=dhcpserverLAN
add address-pool=poolCAP interface=CAPeth5 name=dhcpserverCAP
/ip hotspot
add address-pool=poolWiFi24 disabled=no interface=bridgeWiFi24 name=hotspot1 \
profile=hsprof1
/interface bridge port
add bridge=bridgeLAN interface=LANeth2
/ip neighbor discovery-settings
set discover-interface-list=!dynamic
/interface wifiwave2 capsman
set ca-certificate=auto enabled=yes package-path="" require-peer-certificate=\
no upgrade-policy=none
/interface wifiwave2 provisioning
add action=create-dynamic-enabled disabled=yes
/ip address
add address=192.168.1.1/24 interface=bridgeLAN network=192.168.1.0
add address=10.2.2.1/24 interface=bridgeWiFi5 network=10.2.2.0
add address=172.16.1.1/24 interface=bridgeWiFi24 network=172.16.1.0
add address=192.168.3.1/24 interface=CAPeth5 network=192.168.3.0
/ip dhcp-client
add interface=WANeth1
/ip dhcp-server network
add address=10.2.2.0/24 dns-server=8.8.8.8 gateway=10.2.2.1 netmask=24
add address=172.16.1.0/24 dns-server=8.8.8.8 gateway=172.16.1.1 netmask=24
add address=192.168.1.0/24 dns-server=8.8.8.8 gateway=192.168.8.1 netmask=24
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes
add action=accept chain=input connection-state=established,related
add action=drop chain=input disabled=yes in-interface=WANeth1
add action=accept chain=forward connection-state=established,related
add action=drop chain=forward disabled=yes in-interface=WANeth1
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes
add action=masquerade chain=srcnat out-interface=WANeth1
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
src-address=172.16.1.0/24
/ip hotspot user
add name=admin
/system clock
set time-zone-name=Europe/Rome
/system identity
set name=mywifi
Add wifi interfaces to appropriate bridges.
 
pinkers
just joined
Topic Author
Posts: 9
Joined: Mon Jun 18, 2018 1:21 pm

Re: capsman wifiwave2 no ip

Sun Mar 19, 2023 9:31 pm

thanks
i think that wifi interface is added to bridge with Datapath in Configuration. It is correct?
i make this:
/interface wifiwave2 configuration
add channel=channel2 channel.band=5ghz-ax .width=20mhz comment=\
"Configurazione pe 5GHz" datapath.bridge=bridgeWiFi5 .interface-list=all \
disabled=no name=WiFi5 security=sec5GHz ssid=WiFi5
it is correct? if no how i can make this?
thanks
 
maigonis
Member Candidate
Member Candidate
Posts: 181
Joined: Sat Jul 20, 2019 8:16 pm

Re: capsman wifiwave2 no ip

Sun Mar 19, 2023 10:36 pm

thanks
i think that wifi interface is added to bridge with Datapath in Configuration. It is correct?
i make this:
/interface wifiwave2 configuration
add channel=channel2 channel.band=5ghz-ax .width=20mhz comment=\
"Configurazione pe 5GHz" datapath.bridge=bridgeWiFi5 .interface-list=all \
disabled=no name=WiFi5 security=sec5GHz ssid=WiFi5
it is correct? if no how i can make this?
thanks
You have to do this in bridge settings aswell, under ports.
 
pinkers
just joined
Topic Author
Posts: 9
Joined: Mon Jun 18, 2018 1:21 pm

Re: capsman wifiwave2 no ip

Sun Mar 19, 2023 10:53 pm

thanks maigonis
i set this:
/interface bridge port
add bridge=bridgeWiFi24 interface=cap-wifi2
add bridge=bridgeWiFi5 interface=cap-wifi1

but nothing change.
 
erlinden
Forum Guru
Forum Guru
Posts: 1920
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: capsman wifiwave2 no ip

Mon Mar 20, 2023 11:53 am

Looking at your config...sure you use CAPsMAN? I was expecting some sort of configuration (but I'm not familiair with the WAVE2 package).
What is the use of all the bridges? And why not use multiple VLAN's (which will make your life easier on the firewall)?
 
alibloke
Frequent Visitor
Frequent Visitor
Posts: 51
Joined: Fri Jun 03, 2016 12:13 am

Re: capsman wifiwave2 no ip

Mon Mar 20, 2023 1:05 pm

Have you extended out your VLANs to the caps devices too? Note only local forwarding is supported in wifiwave2 capsman, so ensure your wifi devices are added to your bridge vlans on the caps.
 
pinkers
just joined
Topic Author
Posts: 9
Joined: Mon Jun 18, 2018 1:21 pm

Re: capsman wifiwave2 no ip

Mon Mar 20, 2023 5:48 pm

Looking at your config...sure you use CAPsMAN? I was expecting some sort of configuration (but I'm not familiair with the WAVE2 package).
I don't understand what you want to tell me. I think I'm using CAPsMAN but I could be wrong.
I see 2 interface: cap-wifi1 and cap-wifi2 in WiFi Wave2 Wireless Table.
And the name of SSID that i see wit my wifi device is what I put in the configuration.
I use 3 bridge:
one for LAN
one for wifi 2,4 with hotspot
one for wifi 5 without hotspot
Thanks
 
pinkers
just joined
Topic Author
Posts: 9
Joined: Mon Jun 18, 2018 1:21 pm

Re: capsman wifiwave2 no ip

Mon Mar 20, 2023 5:50 pm

Have you extended out your VLANs to the caps devices too? Note only local forwarding is supported in wifiwave2 capsman, so ensure your wifi devices are added to your bridge vlans on the caps.
i not use VLAN
 
erlinden
Forum Guru
Forum Guru
Posts: 1920
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: capsman wifiwave2 no ip

Mon Mar 20, 2023 6:15 pm

i not use VLAN
You want to:
Router: viewtopic.php?t=143620#p706997
Accesspoint: viewtopic.php?t=143620#p706999

Who is online

Users browsing this forum: Vyizis and 26 guests