Hello!
I am not a professional so apologies if I mix anything up or my explanations are unclear. I use a MikroTik hAP ac router for my private home network and I am unsatisfied with its performance.
My setup is the following: My MikroTik hAP ac is connected to my ISP’s cable modem. I am using the very basic configuration: WAN on eth1, everything else bridged and NATed. When I connect my laptop PC to the cable modem via ethernet directly, I can download 1GB of random data (a file dumped from /dev/urandom) from one of my webservers with a speed of just above 100MByte/sec (reported by the wget command line tool).
$ wget -O /dev/null […]
/dev/null 100%[===================>] 1.00G 105MB/s in 10s
This seems quite reasonable; I’m paying for 1GBit/s and that’s quite close. Now when I connect the MikrotTik hAP ac to the cable modem and my laptop to the MikroTik (both via ethernet), wget starts with 60MByte/sec, everything becomes gradually slower, and when the file has finished downloading, wget reports an average speed of 16MByte/sec.
$ wget -O /dev/null […]
/dev/null 100%[=====================================>] 1.00G 16.2MB/s in 39s
This seems quite unsatisfactory to me. The hAP ac does not max out its CPU. It might run a bit warm (around 40°), but nothing outside of the specification.
The following is my configuration:
# jan/06/2021 12:44:47 by RouterOS 6.48
# software id = AZX9-7PXM
#
# model = RouterBOARD 962UiGS-5HacT2HnT
# serial number = 6F12074B13B5
/interface bridge
add admin-mac=64:D1:54:6D:00:59 auto-mac=no name=bridge
/interface ethernet
set [ find default-name=ether1 ] full-duplex=no name=WAN
set [ find default-name=ether2 ] speed=100Mbps
set [ find default-name=ether3 ] speed=100Mbps
set [ find default-name=ether4 ] speed=100Mbps
set [ find default-name=ether5 ] speed=100Mbps
set [ find default-name=sfp1 ] advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full disabled=yes
/interface wireless
set [ find default-name=wlan1 ] antenna-gain=3 band=2ghz-g/n channel-width=20/40mhz-XX country=no_country_set disabled=no frequency=auto frequency-mode=manual-txpower mode=ap-bridge ssid=DLN station-roaming=enabled wireless-protocol=802.11 wmm-support=enabled \
wps-mode=disabled
/interface ethernet switch
set 0 name=switch
/interface list
add exclude=dynamic name=discover
add name=mactel
add name=mac-winbox
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=dynamic-keys supplicant-identity=MikroTik
add authentication-types=wpa-psk,wpa2-psk,wpa-eap,wpa2-eap eap-methods="" management-protection=allowed mode=dynamic-keys name=guest supplicant-identity=""
add authentication-types=wpa2-psk mode=dynamic-keys name=default-5g supplicant-identity=MikroTik
/interface wireless
set [ find default-name=wlan2 ] band=5ghz-n/ac channel-width=20/40/80mhz-XXXX country=germany disabled=no distance=indoors frequency=auto hw-retries=10 installation=indoor max-station-count=100 mode=ap-bridge security-profile=default-5g ssid=DLN station-roaming=\
enabled wireless-protocol=802.11 wmm-support=enabled wps-mode=disabled
add disabled=no mac-address=66:D1:54:6D:00:5F master-interface=wlan1 name=wlan3 security-profile=guest ssid=DLNF station-roaming=enabled wds-default-bridge=bridge wps-mode=disabled
/ip pool
add name=pool ranges=192.168.0.2-192.168.0.99
/ip dhcp-server
add address-pool=pool bootp-support=none disabled=no interface=bridge lease-time=12h name=dhcp
/snmp community
set [ find default=yes ] addresses=0.0.0.0/0
/interface bridge port
add bridge=bridge comment=defconf hw=no interface=sfp1
add bridge=bridge comment=defconf interface=wlan1
add bridge=bridge comment=defconf interface=wlan2
add bridge=bridge interface=ether2
add bridge=bridge interface=ether3
add bridge=bridge interface=ether4
add bridge=bridge interface=ether5
add bridge=bridge interface=wlan3
/ip neighbor discovery-settings
set discover-interface-list=discover
/ip settings
set allow-fast-path=no
/interface list member
add interface=wlan1 list=discover
add interface=ether2 list=discover
add interface=ether3 list=discover
add interface=ether4 list=discover
add interface=ether5 list=discover
add interface=sfp1 list=discover
add interface=wlan2 list=discover
add interface=bridge list=discover
add interface=WAN list=discover
/ip address
add address=192.168.0.1/24 interface=bridge network=192.168.0.0
/ip dhcp-client
add dhcp-options=clientid,clientid_duid,hostname disabled=no interface=WAN use-peer-dns=no
/ip dhcp-server lease
add address=192.168.0.62 mac-address=00:16:EA:DB:EB:56
add address=192.168.0.61 mac-address=E8:B1:FC:0A:08:39
add address=192.168.0.60 mac-address=D4:25:8B:66:B9:21
add address=192.168.0.63 client-id=1:88:87:17:8f:ee:93 mac-address=88:87:17:8F:EE:93 server=dhcp
add address=192.168.0.72 client-id=1:34:7e:5c:32:65:48 mac-address=34:7E:5C:32:65:48 server=dhcp
add address=192.168.0.73 client-id=1:34:7e:5c:33:39:ec mac-address=34:7E:5C:33:39:EC server=dhcp
add address=192.168.0.74 client-id=1:34:7e:5c:f0:96:a0 mac-address=34:7E:5C:F0:96:A0 server=dhcp
add address=192.168.0.71 client-id=1:34:7e:5c:f3:29:0 mac-address=34:7E:5C:F3:29:00 server=dhcp
add address=192.168.0.254 client-id=ff:0:0:0:7:0:3:0:1:4c:5e:c:f8:75:12 mac-address=4C:5E:0C:F8:75:13 server=dhcp
add address=192.168.0.64 mac-address=50:9A:4C:19:63:DE server=dhcp
/ip dhcp-server network
add address=192.168.0.0/24 dns-server=192.168.0.1 domain=local.lan gateway=192.168.0.1 netmask=24
/ip dns
set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4
/ip dns static
add address=192.168.88.1 name=router
/ip firewall filter
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=accept chain=input comment="defconf: accept established,related" connection-state=established,related
add action=drop chain=input comment="defconf: drop all from WAN" in-interface=WAN
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
add action=accept chain=forward comment="defconf: accept established,related" connection-state=established,related
add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" out-interface=WAN
/ip ipsec policy
set 0 disabled=yes
/ip smb shares
set [ find default=yes ] directory=/pub
/ip ssh
set allow-none-crypto=yes forwarding-enabled=remote
/system clock
set time-zone-name=Europe/Berlin
/system leds
set 1 interface=wlan2
/tool bandwidth-server
set enabled=no
/tool mac-server
set allowed-interface-list=mactel
/tool mac-server mac-winbox
set allowed-interface-list=mac-winbox
So I was worried that I could be facing a hardware problem and therefore I bought a second identical device just today. It runs the default configuration, and I get the identical behavior: Downloads are limited to 10-20MByte/sec. Just for reference, the full config of the second device can be found below.
Is this a general problem with those devices? From the test results (https://mikrotik.com/product/RB962UiGS-5HacT2HnT#fndtn-testresults) I did not expect this. Any help would be greatly appreciated!
# jan/06/2021 11:27:30 by RouterOS 6.48
# software id = PS15-74GD
#
# model = RB962UiGS-5HacT2HnT
# serial number = CC4F0C35A661
/interface bridge
add admin-mac=48:8F:5A:88:8F:79 auto-mac=no comment=defconf name=bridge
/interface ethernet
set [ find default-name=sfp1 ] disabled=yes
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-g/n channel-width=20/40mhz-XX country=germany distance=indoors frequency=auto installation=indoor mode=ap-bridge ssid=DLN2 wireless-protocol=802.11 wps-mode=\
disabled
set [ find default-name=wlan2 ] band=5ghz-n/ac channel-width=20/40/80mhz-XXXX country=germany distance=indoors frequency=auto installation=indoor mode=ap-bridge ssid=DLN5 wireless-protocol=802.11
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=dynamic-keys supplicant-identity=MikroTik
/ip pool
add name=default-dhcp ranges=192.168.88.10-192.168.88.254
/ip dhcp-server
add address-pool=default-dhcp disabled=no interface=bridge name=defconf
/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=wlan1
add bridge=bridge comment=defconf interface=wlan2
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridge network=192.168.88.0
/ip dhcp-client
add comment=defconf disabled=no interface=ether1
/ip dhcp-server network
add address=192.168.88.0/24 comment=defconf 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
/ip firewall filter
add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=invalid
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=accept chain=input comment="defconf: accept to local loopback (for CAPsMAN)" dst-address=127.0.0.1
add action=drop chain=input comment="defconf: drop all not coming from LAN" in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
add action=accept chain=forward comment="defconf: accept established,related, untracked" connection-state=established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN
/system clock
set time-zone-name=Europe/Berlin
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN
Update: made clear that I only use ethernet connections, no Wifi involved.