Community discussions

MikroTik App
 
gabbapunk
just joined
Topic Author
Posts: 6
Joined: Thu Aug 23, 2018 1:49 pm

Low speed through CAPSMAN

Mon Oct 19, 2020 3:28 pm

Hi there!
Hardware: 2 x Hap Ac2
I had 1 AP and it worked as standalone AP & Router, I used 20/40/80 MHz XXXX channel width in 5 Ghz band, and could download/upload with 300+ Mbit/s
After that, I've added 1 more else the same AP with CAPSMAN configuration on old Mikrotik.
But now, I have issue with a low speed download\upload speed through capsman (85-90 MBit/s) on the same 5 Ghz band.
Could you please lell me about my errors in configuration?
May be it's a my fault...
I've attached config file of my capsman router
# oct/19/2020 11:51:28 by RouterOS 6.47.4
# software id = SW4F-3NWF
#
# model = RBD52G-5HacD2HnD
# serial number = D7160C2DB925
/caps-man channel
add band=2ghz-onlyn control-channel-width=20mhz extension-channel=XX \
    frequency=2462 name=channel2.4_Hall
add band=5ghz-onlyac control-channel-width=20mhz extension-channel=XXXX \
    frequency=5220 name=channel5_Hall
add band=2ghz-onlyn control-channel-width=20mhz extension-channel=XX \
    frequency=2437 name=channel2.4_Alya
add band=5ghz-onlyac control-channel-width=20mhz extension-channel=XXXX \
    frequency=5180 name=channel5_Alya
/interface bridge
add name=bridge1
/interface wireless
# managed by CAPsMAN
# channel: 2462/20-eC/gn(17dBm), SSID: MGTS_GPON_7D7D, CAPsMAN forwarding
set [ find default-name=wlan1 ] ssid=MikroTik station-roaming=enabled
# managed by CAPsMAN
# channel: 5220/20-eeCe/ac/P(17dBm), SSID: MGTS_GPON_7D7D, CAPsMAN forwarding
set [ find default-name=wlan2 ] ssid=MikroTik station-roaming=enabled
/caps-man datapath
add bridge=bridge1 client-to-client-forwarding=yes name=datapath1
/caps-man security
add authentication-types=wpa2-psk encryption=aes-ccm group-encryption=aes-ccm \
    group-key-update=1h name=security1 passphrase=
/caps-man configuration
add channel=channel2.4_Hall country=russia datapath=datapath1 mode=ap name=\
    cfg1 rx-chains=0,1,2,3 security=security1 ssid=MGTS_GPON_7D7D tx-chains=\
    0,1,2,3
add channel=channel5_Hall country=russia datapath=datapath1 mode=ap name=cfg2 \
    rx-chains=0,1,2,3 security=security1 ssid=MGTS_GPON_7D7D tx-chains=\
    0,1,2,3
add channel=channel2.4_Alya country=russia datapath=datapath1 mode=ap name=\
    cfg3 security=security1 ssid=MGTS_GPON_7D7D
add channel=channel5_Alya country=russia datapath=datapath1 mode=ap name=cfg4 \
    security=security1 ssid=MGTS_GPON_7D7D
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/user group
set full policy="local,telnet,ssh,ftp,reboot,read,write,policy,test,winbox,pas\
    sword,web,sniff,sensitive,api,romon,dude,tikapp"
/caps-man manager
set enabled=yes
/caps-man provisioning
add action=create-dynamic-enabled hw-supported-modes=gn master-configuration=\
    cfg1 name-format=prefix-identity name-prefix=2.4gHz radio-mac=\
    48:8F:5A:86:6E:E0
add action=create-dynamic-enabled hw-supported-modes=ac master-configuration=\
    cfg2 name-format=prefix-identity name-prefix=5gHz radio-mac=\
    48:8F:5A:86:6E:E1
add action=create-dynamic-enabled hw-supported-modes=gn master-configuration=\
    cfg3 name-format=prefix-identity name-prefix=2.4gHz radio-mac=\
    C4:AD:34:C0:AC:77
add action=create-dynamic-enabled hw-supported-modes=ac master-configuration=\
    cfg4 name-format=prefix-identity name-prefix=5gHz radio-mac=\
    C4:AD:34:C0:AC:78
/interface bridge port
add bridge=bridge1 interface=all
/ip neighbor discovery-settings
set discover-interface-list=!dynamic
/interface wireless cap
# 
set discovery-interfaces=bridge1 enabled=yes interfaces=wlan1,wlan2
/ip dhcp-client
add disabled=no interface=bridge1
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www disabled=yes
set api disabled=yes
set api-ssl disabled=yes
/system clock
set time-zone-name=Europe/Moscow
/system identity
set name=Hall
/system ntp client
set enabled=yes primary-ntp=192.36.143.130 secondary-ntp=91.209.94.10
/system routerboard settings
set auto-upgrade=yes
You do not have the required permissions to view the files attached to this post.
 
Xtremer
just joined
Posts: 4
Joined: Tue Feb 06, 2018 9:10 pm

Re: Low speed through CAPSMAN  [SOLVED]

Tue Oct 20, 2020 12:16 am

Disable Capsman forwarding and set local forwarding.

It is under the settings.
/Caps-man Datapath

Example

/caps-man datapath add name="Wireless Network" client-to-client-forwarding=yes bridge=Network local-forwarding=yes

The CAP / WAP / HAP processor is not fast enough to encrypt the data trought an tunnel to the router and back.
 
gabbapunk
just joined
Topic Author
Posts: 6
Joined: Thu Aug 23, 2018 1:49 pm

Re: Low speed through CAPSMAN

Tue Oct 20, 2020 9:22 am

Disable Capsman forwarding and set local forwarding.

It is under the settings.
/Caps-man Datapath

Example

/caps-man datapath add name="Wireless Network" client-to-client-forwarding=yes bridge=Network local-forwarding=yes

The CAP / WAP / HAP processor is not fast enough to encrypt the data trought an tunnel to the router and back.
Yeeeah! It worked for me! Thank you for your quick reply! :)
 
User avatar
inteq
Member
Member
Posts: 412
Joined: Wed Feb 25, 2015 8:15 pm
Location: Romania

Re: Low speed through CAPSMAN

Tue Oct 20, 2020 2:13 pm

No clue why I see this recommendation so often or why it works for some people (if not placebo) but in all my setups with wAP local-forwarding=yes or no, makes absolutely no difference.
Same speed. max 400Mbps download max 500Mbps upload.
Just tested this again on a wAP AC. One SSID with local-forwarding and client-to-client-forwarding set to yes and another one with both set to no. Same deal on 5Ghz speed wise.
capsman on a RB1100AHx4.
 
smaugrrotarr
just joined
Posts: 1
Joined: Fri Nov 06, 2020 3:04 am

Re: Low speed through CAPSMAN

Fri Nov 06, 2020 3:26 am

No clue why I see this recommendation so often or why it works for some people (if not placebo) but in all my setups with wAP local-forwarding=yes or no, makes absolutely no difference.
Same speed. max 400Mbps download max 500Mbps upload.
Just tested this again on a wAP AC. One SSID with local-forwarding and client-to-client-forwarding set to yes and another one with both set to no. Same deal on 5Ghz speed wise.
capsman on a RB1100AHx4.
It depends. Well, if you don't know I'll tell you.
1. Turning local forwarding on allow to the access points to rule the traffic without capsman server itself. If you have a weak proc in you capsman controller or any problems with cable network, or maby your local network is too much distributed, it is better to put "local forwarding" on.
2. Turning it off you will put all traffic through the capsman controller. Even if you don't need it, capsman will get all the traffic and analyze it. It is useful sometimes, when you have some special customization. For example, in my local network one of the cAP ac is a capsman controller and ac for now, and two cAP ac are ac only. They are putted in diffrent switches in our network with non-mikrotik equipment. So, if I will turn local forwarding off, all devies will get dhcp not from capsman, but from local network.
I hope I could help you to understand this option.
 
User avatar
inteq
Member
Member
Posts: 412
Joined: Wed Feb 25, 2015 8:15 pm
Location: Romania

Re: Low speed through CAPSMAN

Sat Nov 14, 2020 3:22 pm

Theory is not the problem. Real world testing with the devices I work with tells me there is no difference. And wAP ac has some pretty slow CPU.
No clue what you mean by "So, if I will turn local forwarding off, all devies will get dhcp not from capsman, but from local network.". Local forwarding has nothing to do with where devices get their IPs.
 
gotsprings
Forum Guru
Forum Guru
Posts: 2121
Joined: Mon May 14, 2012 9:30 pm

Re: Low speed through CAPSMAN

Sat Nov 28, 2020 8:58 am

Local forwarding here.

Who is online

Users browsing this forum: No registered users and 33 guests