# Very random latency issues

**URL:** <https://forum.mikrotik.com/t/very-random-latency-issues/150843>\
**Category:** Beginner Basics\
**Created:** [August 3, 2021, 7:09pm UTC](https://forum.mikrotik.com/t/very-random-latency-issues/150843 "2021-08-03T19:09:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![john231](https://forum.mikrotik.com/letter_avatar/john231/32/6_449c533f586939b6e5f246632a46421f.png) [@john231](https://forum.mikrotik.com/u/john231)\
**Post date:** [August 3, 2021, 7:09pm UTC](https://forum.mikrotik.com/t/very-random-latency-issues/150843/1 "2021-08-03T19:09:27Z")

</div>

Hello,

A while ago i posted this topic: [http://forum.mikrotik.com/t/random-connection-dropping/134297/1](http://forum.mikrotik.com/t/random-connection-dropping/134297/1)

I got a lot of help from that but some very random issues still persist.

My network topology is almost the same updated version is here:  
 ![oru_topology.png](https://data-discourse.cdn.mikrotik.com/original/3X/1/f/1f4beba3ed0172a8cd34dc9f254bb974e085a2e6.png)  
The issue i’m having is as follows. At some point on my mac connection will get very sluggish. Web pages won’t open and ping is all over the place (even against the LHGG router).

Ping example:

```plaintext
64 bytes from 192.168.88.1: icmp_seq=0 ttl=64 time=83.971 ms
64 bytes from 192.168.88.1: icmp_seq=1 ttl=64 time=59.881 ms
64 bytes from 192.168.88.1: icmp_seq=2 ttl=64 time=106.401 ms
64 bytes from 192.168.88.1: icmp_seq=3 ttl=64 time=58.476 ms
64 bytes from 192.168.88.1: icmp_seq=4 ttl=64 time=32.990 ms
64 bytes from 192.168.88.1: icmp_seq=5 ttl=64 time=194.751 ms
64 bytes from 192.168.88.1: icmp_seq=6 ttl=64 time=24.399 ms
64 bytes from 192.168.88.1: icmp_seq=7 ttl=64 time=49.070 ms
64 bytes from 192.168.88.1: icmp_seq=8 ttl=64 time=155.898 ms
64 bytes from 192.168.88.1: icmp_seq=9 ttl=64 time=126.334 ms
64 bytes from 192.168.88.1: icmp_seq=10 ttl=64 time=42.048 ms
64 bytes from 192.168.88.1: icmp_seq=11 ttl=64 time=83.789 ms
64 bytes from 192.168.88.1: icmp_seq=12 ttl=64 time=135.076 ms
64 bytes from 192.168.88.1: icmp_seq=13 ttl=64 time=103.812 ms
64 bytes from 192.168.88.1: icmp_seq=14 ttl=64 time=91.558 ms
64 bytes from 192.168.88.1: icmp_seq=15 ttl=64 time=152.604 ms
64 bytes from 192.168.88.1: icmp_seq=16 ttl=64 time=160.237 ms
64 bytes from 192.168.88.1: icmp_seq=17 ttl=64 time=71.557 ms
64 bytes from 192.168.88.1: icmp_seq=18 ttl=64 time=55.801 ms
64 bytes from 192.168.88.1: icmp_seq=19 ttl=64 time=22.398 ms
64 bytes from 192.168.88.1: icmp_seq=20 ttl=64 time=107.530 ms
64 bytes from 192.168.88.1: icmp_seq=21 ttl=64 time=92.590 ms

```

And ping from 192.168.88.2 to 192.168.88.1 was very constant \<1ms.

Now my first reaction was to check if something is wrong with the signal, because i was not moving prior to that for at least an hour and at that time as well.  
Mac was showing avg RSSI -45 and noise was -94  
PS: all AP’s in the 2.4 range are on 1, 6 or 11 channel.  
On the AP side (192.168.88.2 OruAPMaja)

![signal_quality.png](https://data-discourse.cdn.mikrotik.com/original/3X/2/4/24163213cced73f934c5a1d96a947224d4e0e304.png)

So everything looked fine in my eyes. This went on for about 5-8 minutes and then just stopped with the ping now being:

```plaintext
64 bytes from 192.168.88.1: icmp_seq=0 ttl=64 time=22.834 ms
64 bytes from 192.168.88.1: icmp_seq=1 ttl=64 time=2.256 ms
64 bytes from 192.168.88.1: icmp_seq=2 ttl=64 time=2.203 ms
64 bytes from 192.168.88.1: icmp_seq=3 ttl=64 time=2.189 ms
64 bytes from 192.168.88.1: icmp_seq=4 ttl=64 time=2.243 ms
64 bytes from 192.168.88.1: icmp_seq=5 ttl=64 time=2.169 ms
64 bytes from 192.168.88.1: icmp_seq=6 ttl=64 time=1.895 ms
64 bytes from 192.168.88.1: icmp_seq=7 ttl=64 time=64.640 ms
64 bytes from 192.168.88.1: icmp_seq=8 ttl=64 time=2.890 ms
64 bytes from 192.168.88.1: icmp_seq=9 ttl=64 time=1.662 ms

```

This is getting really frustrating as well as i have no idea where to look.  
Everything has been setup by wiping the AP’s and the export script is then loaded via winbox terminal. So everything else in there configuration wise is default.

I was thinking that maybe it has something to do with routing and RSTP being enabled on the bridge ports by default or maybe even some default settings are letting me use the network but at some point something will happen and that setting is not optimal for my setup and there is like one tickbox somewhere that should be ticked as well.

So if anyone has encountered same things or has any ideas what to look or where it would be very appreciated.  
I even have no idea how to replicate it because it happens completely randomly.

I have attached the export scripts as well. Everything on the switchOS side is still the same as in the pictures in the previous topic (scroll down a bit): [http://forum.mikrotik.com/t/random-connection-dropping/134297/1](http://forum.mikrotik.com/t/random-connection-dropping/134297/1)

[192\_168\_88\_3.txt](https://forum.mikrotik.com/uploads/short-url/mkSQJYaCKLlPIaIdaeBwtTVxIit.txt) (6.29 KB)  
[192\_168\_88\_2.txt](https://forum.mikrotik.com/uploads/short-url/vHqNmjZzzowrxjMcZnk7HDzExvK.txt) (5.68 KB)  
[192\_168\_88\_1.txt](https://forum.mikrotik.com/uploads/short-url/g7aaFj2Ceou3qA1h98woZoy8eb7.txt) (8.52 KB)  
[192\_168\_88\_6.txt](https://forum.mikrotik.com/uploads/short-url/99fSNcI5G1ZSRkOELHoAs6v5CkF.txt) (6.04 KB)

---

<div class="post-metadata">

**Author:** ![john231](https://forum.mikrotik.com/letter_avatar/john231/32/6_449c533f586939b6e5f246632a46421f.png) [@john231](https://forum.mikrotik.com/u/john231)\
**Post date:** [August 4, 2021, 8:17am UTC](https://forum.mikrotik.com/t/very-random-latency-issues/150843/2 "2021-08-04T08:17:41Z")

</div>

Couple of things more.

The bridge i created uses protocol mode RSTP on the AP’s (192.168.88.2, 192.168.88.3 and 192.168.88.6).

Also the bridge has the same mac address as ETH1 where the outward bound connection comes in.

Maybe these pose a problem?

---

<div class="post-metadata">

**Author:** ![john231](https://forum.mikrotik.com/letter_avatar/john231/32/6_449c533f586939b6e5f246632a46421f.png) [@john231](https://forum.mikrotik.com/u/john231)\
**Post date:** [August 7, 2021, 7:35am UTC](https://forum.mikrotik.com/t/very-random-latency-issues/150843/3 "2021-08-07T07:35:06Z")

</div>

Anyone?

---

<div class="post-metadata">

**Author:** ![ryba84](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/ryba84/32/1472_2.png) [@ryba84](https://forum.mikrotik.com/u/ryba84)\
**Post date:** [August 14, 2021, 9:31am UTC](https://forum.mikrotik.com/t/very-random-latency-issues/150843/4 "2021-08-14T09:31:38Z")

</div>

Any other wifi networks in range? I have old laptop with buggy wifi driver and have problems like this. Only reconnect helps.

---

<div class="post-metadata">

**Author:** ![john231](https://forum.mikrotik.com/letter_avatar/john231/32/6_449c533f586939b6e5f246632a46421f.png) [@john231](https://forum.mikrotik.com/u/john231)\
**Post date:** [August 21, 2021, 11:14am UTC](https://forum.mikrotik.com/t/very-random-latency-issues/150843/5 "2021-08-21T11:14:00Z")

</div>

> [@](#):
>
> Any other wifi networks in range? I have old laptop with buggy wifi driver and have problems like this. Only reconnect helps.

No. 0 other wifi networks for 500 meters.

---

<div class="post-metadata">

**Author:** ![john231](https://forum.mikrotik.com/letter_avatar/john231/32/6_449c533f586939b6e5f246632a46421f.png) [@john231](https://forum.mikrotik.com/u/john231)\
**Post date:** [October 25, 2021, 7:31pm UTC](https://forum.mikrotik.com/t/very-random-latency-issues/150843/6 "2021-10-25T19:31:56Z")

</div>

Yeah this is really frustrating, but it got better after tweaking connection tracking settings posted here: [http://forum.mikrotik.com/t/what-typical-changes-do-you-make-to-ap-box-default-configuration/151424/5](http://forum.mikrotik.com/t/what-typical-changes-do-you-make-to-ap-box-default-configuration/151424/5)
