Community discussions

MikroTik App
 
smathev
just joined
Topic Author
Posts: 4
Joined: Thu Sep 06, 2018 9:15 am

Slow LAN between HAP AC2 and RB260GS

Wed May 15, 2019 9:47 am

Hi all.

So, as the title says - I'm experiencing slow LAN to Internet performance between a HAP AC2 router and a RB260GS switch.

My current setup is two different computers (1 Ubuntu Server and 1 windows Desktop PC) connected to the RB260GS switch, which is connected to the HAP AC2 router, which in turn is connected to my ISPs modem.
After a reboot of either the RB260GS or the HAP AC2 I can do a speedtest from either of the two computers connected to the RB260GS to https://www.speedtest.net/ and get my ISPs advertised speed (~300Mbps download/~100Mbps upload). But, after a while I only get (~100Mbps download/~100Mbps upload) - and I can't figure out why.

Troubleshooting so far:
I've checked that the HAP AC2 is not under any heavy load - neither CPU, RAM or otherwise. I've had a laptop connected directly to the HAP AC2 and tried a speedtest while the computers behind the RB260GS where experiencing the slow speed (~100Mbps download/~100Mbps upload), and the laptop directly connected to the HAP AC2 got the "correct speed" (~300Mbps download/~100Mbps upload). So, my thinking is that this is somehow an issue between the HAP AC2 and the RB260GS. After a reboot the speed is back to the "correct speed" - but after some time (between an hour and several hours) the speed just drops to ~100Mbps download/~100Mbps upload.

Any help, ideas or explanations would be appreciated.
 
User avatar
sindy
Forum Guru
Forum Guru
Posts: 11290
Joined: Mon Dec 04, 2017 9:19 pm

Re: Slow LAN between HAP AC2 and RB260GS

Wed May 15, 2019 11:12 am

First of all check what is the negotiated speed on the ethernet ports - it may renegotiate to FE (100 Mbit/s) from GE (1000 Mbit/s) aftre some time of running on GE if there is something wrong with the cable or connectors.
 
smathev
just joined
Topic Author
Posts: 4
Joined: Thu Sep 06, 2018 9:15 am

Re: Slow LAN between HAP AC2 and RB260GS

Wed May 15, 2019 11:50 am

Since I'm at work, I can't check what the negotiated speed between switch and router is right now, I will check when I'm home.

A quick speedtest-cli from the Ubuntu Server showed that it's currently at the slow speed and when I check with ethtool on the relevant ethernet interface the output is as follows:
sudo ethtool enp0s31f6
Settings for enp0s31f6:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: on (auto)
        Supports Wake-on: pumbg
        Wake-on: d
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes
I believe I checked on the RB260GS what the negoitated speed was yesterday night when the problem was there, and I'm fairly certain it said 1000MB or 1GB on all ports / the ports in use (two computers and the port to the Hap Ac 2).
 
User avatar
sindy
Forum Guru
Forum Guru
Posts: 11290
Joined: Mon Dec 04, 2017 9:19 pm

Re: Slow LAN between HAP AC2 and RB260GS

Wed May 15, 2019 12:57 pm

The situation on the cable between the PC and one of the Mikrotik gives no information about the situation on the cable between the two Mikrotiks.

If you find the negotiated speed to be gigabit and the test shows less than 100 Mbit/s, check CPU load on the hAP ac² while testing (/tool profile), but as you say that it is enough to reboot any of the two devices to fix it, I bet on the Ethernet speed renegotiation.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13154
Joined: Thu Mar 03, 2016 10:23 pm

Re: Slow LAN between HAP AC2 and RB260GS

Wed May 15, 2019 3:09 pm

First of all check what is the negotiated speed on the ethernet ports ...

Not to get lost in all different places where speed is mentioned and is not relevant to the problem ... the correct command to check current negotiated speed is
/interface ethernet monitor <port name> once