D
D
Dmitry Morozov2016-07-18 10:58:59
Computer networks
Dmitry Morozov, 2016-07-18 10:58:59

Can you help me solve a couple of problems with the Mikrotik router?

I bought the other day Mikrotik hAP AC. Connected to it at 5GHz - iPhone SE, Macbook Pro 2015 and iPad mini 2 at 2.4GHz. NAS connected via gigabit cable.
Problems:
1) iPad turns on the screen and connects to the network for 30 seconds. on the last zyxel router - it was instantaneous.
2) The speed of copying from NAS to Macbook does not exceed 400Mbps or 50Mbps. The disk system here and there is very fast. It's about the network. ipref gives out 400Mbit between computers, although the connection is at least 800Mbit, and I tried it on 1300Mbit. Maybe it's the LAN between the NAS and the router. But the card is gigabit, the cat.5e cable is definitely of high quality. I’ll make a reservation right away, 80MHz, 3x3 MIMO is enabled on Mikrotik and is supported by a macbook.
Config:

/export compact
# jul/18/2016 10:55:23 by RouterOS 6.35.4
# software id = ******
#
/interface bridge
add admin-mac=******* auto-mac=no comment=defconf name=bridge
/interface ethernet
set [ find default-name=ether2 ] name=ether2-master
set [ find default-name=ether3 ] master-port=ether2-master
set [ find default-name=ether4 ] master-port=ether2-master
set [ find default-name=ether5 ] master-port=ether2-master
set [ find default-name=ether1 ] comment=WAN name=wan
/interface pppoe-client
add add-default-route=yes disabled=no interface=wan keepalive-timeout=disabled name=Smile password=****** user=*****
/interface wireless
set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=20/40/80mhz-Ceee comment="WiFi 5Ghz" country=russia disabled=no \
    distance=indoors frequency=5260 mode=ap-bridge preamble-mode=long ssid=FAST-WIFI tx-power=20 tx-power-mode=all-rates-fixed \
    wireless-protocol=802.11 wmm-support=enabled
/interface wireless manual-tx-power-table
set wlan2 comment="WiFi 5Ghz"
/ip neighbor discovery
set wan comment=WAN discover=no
set wlan2 comment="WiFi 5Ghz"
set bridge comment=defconf
/interface wireless nstreme
set wlan2 comment="WiFi 5Ghz" enable-polling=no
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=dynamic-keys wpa-pre-shared-key=****** \
    wpa2-pre-shared-key=******
add authentication-types=wpa2-psk mode=dynamic-keys name=2Ghz wpa-pre-shared-key=****** wpa2-pre-shared-key=*****
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-onlyn comment="WiFi 2.4Ghz" country=russia disabled=no distance=indoors frequency=2437 \
    frequency-mode=regulatory-domain mode=ap-bridge security-profile=2Ghz ssid="HOME-WIFI" wireless-protocol=\
    802.11 wmm-support=enabled
/interface wireless manual-tx-power-table
set wlan1 comment="WiFi 2.4Ghz"
/ip neighbor discovery
set wlan1 comment="WiFi 2.4Ghz"
/interface wireless nstreme
set wlan1 comment="WiFi 2.4Ghz" enable-polling=no
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip pool
add name=dhcp ranges=192.168.1.2-192.168.1.254
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge lease-time=23h59m name=defconf
/interface bridge port
add bridge=bridge comment=defconf interface=ether2-master
add bridge=bridge comment=defconf interface=sfp1
add bridge=bridge comment=defconf interface=wlan1
add bridge=bridge comment=defconf interface=wlan2
/ip address
add address=192.168.1.1/24 comment=defconf interface=ether2-master network=192.168.1.0
/ip arp
add address=192.168.1.9 interface=bridge mac-address=14:DA:E9:E2:63:6F
add address=192.168.1.10 interface=bridge mac-address=00:11:32:71:F1:36
/ip dhcp-client
add comment=defconf dhcp-options=hostname,clientid interface=wan
/ip dhcp-server lease
add address=192.168.1.10 client-id=1:0:11:32:71:f1:36 mac-address=00:11:32:71:F1:36 server=defconf
add address=192.168.1.9 client-id=1:14:da:e9:e2:63:6f mac-address=14:DA:E9:E2:63:6F server=defconf
add address=192.168.1.253 client-id=1:ac:bc:32:8e:fb:7 mac-address=AC:BC:32:8E:FB:07 server=defconf
add address=192.168.1.6 client-id=1:1c:91:48:b4:74:9d mac-address=1C:91:48:B4:74:9D server=defconf
/ip dhcp-server network
add address=192.168.1.0/24 comment=defconf dns-server=8.8.8.8 gateway=192.168.1.1 netmask=24
/ip dns
set allow-remote-requests=yes servers=8.8.8.8
/ip dns static
add address=192.168.1.1 name=Router
/ip firewall filter
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
add 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
add chain=input protocol=icmp
add chain=input connection-state=established
add chain=input connection-state=related
add action=drop chain=input in-interface=Smile
add chain=input protocol=icmp
add chain=input connection-state=established
add chain=input connection-state=related
add action=drop chain=input in-interface=Smile
add chain=input protocol=icmp
add chain=input connection-state=established
add chain=input connection-state=related
add action=drop chain=input in-interface=Smile
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" out-interface=Smile
add action=netmap chain=dstnat comment="Transmission gui" dst-port=9091 in-interface=Smile protocol=tcp to-addresses=\
    192.168.1.10 to-ports=9091
add action=dst-nat chain=dstnat comment=Torrent dst-port=65502 in-interface=Smile protocol=tcp to-addresses=192.168.1.10 \
    to-ports=65502
/ip service
set telnet address=192.168.1.0/24
set ftp disabled=yes
set www address=192.168.1.0/24
set ssh address=192.168.1.0/24
set api disabled=yes
set winbox address=192.168.1.0/24
set api-ssl disabled=yes
/ip upnp
set enabled=yes
/ip upnp interfaces
add interface=bridge type=internal
add interface=Smile type=external
/system clock
set time-zone-autodetect=no time-zone-name=Europe/Moscow
/system leds
set 1 interface=wlan2
/system routerboard settings
set cpu-frequency=720MHz protected-routerboot=disabled silent-boot=yes
/system watchdog
set watch-address=8.8.8.8
/tool bandwidth-server
set allocate-udp-ports-from=1000 authenticate=no max-sessions=10
/tool graphing interface
add
/tool mac-server
set [ find default=yes ] disabled=yes
add interface=ether2-master
add interface=sfp1
add interface=wlan2
add interface=wlan1
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=ether2-master
add interface=sfp1
add interface=wlan2
add interface=wlan1

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kirill Vasiliev, 2016-07-18
@vasilevkirill

show the registration table at the time of the test
/interface wireless registration-table print

C
Cool Admin, 2016-07-19
@ifaustrue

The maximum speed of a gigabit connection over a copper wire in one direction is 597 megabits (with the Jumboframe enabled + trimming some of the headers and halving the preamble). Nothing more can be expected from him. It's built into the transmission standard.
Optics is able to utilize the physical medium differently, and in / on optical gigabit you would get almost 1Gb / s in one direction (or in each direction, depending on the type of connection), but not in the case of copper. So in your case, 400 megabits to the NAS is the limit and, at the same time, an excellent indicator.
Config notes:
/interface wireless
set [ find default-name=wlan2 ]
preamble-mode= both
/interface wireless nstreme
set wlan2 comment="WiFi 5Ghz" enable-polling= yes
set wlan1 comment="WiFi 2.4Ghz" enable-polling= yes
Rebooting the device because the provider is not paid is unnecessary:
​​/system watchdog
set watch-address=8.8.8.8
For wireless network speed - try playing with the location of the device (inside not the most powerful antennas) and channels.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question