Community discussions

MikroTik App
 
Netrum
just joined
Topic Author
Posts: 4
Joined: Sun Jul 21, 2024 8:51 pm
Location: Earth

Mikrotik switch disconnects from network every 20minutes

Sun Jul 21, 2024 9:04 pm

Hi everyone.

I recently upgraded my network and re-used my mikrotik crs310-8g+2s+in in the new network.
The problem i am seeing is that the switch disconnects from the router roughly every 20 minutes.
When this happens my desktop computer lose the connection to internet for a few seconds.
In Unifi site manager, in the client logs, i can see the switch disconnected messages.

The topology looks like this:
Modem > Ubiquiti UDM Pro max > 10m DAC (Ubiquiti UACC-AOC-SFP10-10M) > Mikrotik crs310-8g+2s+in
Connected to the switch is these devices:
Ubiquiti U7 Pro AP
My desktop computer

I am running routerOS 7.15.2
Firmware on the routerboard is the latest available, 7.15.2

What i have done is i reset the switch, made a basic configuration, disabled RSTP and Fast forward on the bridge interface.
Here is the current config on the switch:
# 2024-07-21 19:58:55 by RouterOS 7.15.2
# software id = xxxx-xxxx
#
# model = CRS310-8G+2S+
# serial number = xxxxxxxxxxx
/interface bridge
add admin-mac=78:9A:18:42:FB:45 auto-mac=no comment=defconf fast-forward=no name=bridge protocol-mode=none
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/port
set 0 name=serial0
/interface bridge port
add bridge=bridge comment=defconf interface=ether1
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=ether6
add bridge=bridge comment=defconf interface=ether7
add bridge=bridge comment=defconf interface=ether8
add bridge=bridge comment=defconf interface=sfp-sfpplus1
add bridge=bridge comment=defconf interface=sfp-sfpplus2
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridge network=192.168.88.0
/ip cloud
set update-time=no
/ip dhcp-client
add interface=bridge
/ip hotspot profile
set [ find default=yes ] html-directory=hotspot
/system clock
set time-zone-name=Europe/Prague
/system note
set show-at-login=no
/system routerboard settings
set boot-os=router-os
/system swos
set address-acquisition-mode=dhcp-only identity="Mikrotik Switch"
Anyone have any idea about what is going on here?
Last edited by martinclaro on Mon Jul 22, 2024 3:50 am, edited 1 time in total.
Reason: Added [code] tags to export.
 
martinclaro
Member Candidate
Member Candidate
Posts: 103
Joined: Sat Sep 28, 2013 6:08 am
Location: Buenos Aires, Argentina
Contact:

Re: Mikrotik switch disconnects from network every 20minutes

Mon Jul 22, 2024 3:53 am

Have you seen link-down / link-up logs in the switch?
 
Netrum
just joined
Topic Author
Posts: 4
Joined: Sun Jul 21, 2024 8:51 pm
Location: Earth

Re: Mikrotik switch disconnects from network every 20minutes

Mon Jul 22, 2024 8:54 am

Yes there is 1 entry,
07-21 23:44:38 interface,info ether2 link down
07-21 23:44:39 interface,info ether2 link up (speed 10M, full duplex)
ether2 is connected to my desktop.

In the unifi logs there were no disconnects of anything on my network at or around that time.

Looking into this more i can see that during the night there were no disconnects in the Unifi logs.
My desktop was turned off at the time.
At the various times the switch was reported as disconnected, there is nothing in the mikrotik logs around that time that could explain this.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13817
Joined: Thu Mar 03, 2016 10:23 pm

Re: Mikrotik switch disconnects from network every 20minutes

Mon Jul 22, 2024 9:00 am

Yes there is 1 entry,
07-21 23:44:38 interface,info ether2 link down
07-21 23:44:39 interface,info ether2 link up (speed 10M, full duplex)
ether2 is connected to my desktop.
...
My desktop was turned off at the time.
This likely means that your desktop put its NIC into WoL state ... which is normally lowest speed possible (10Mbps for ethernet seems to be the norm) to save some energy.

So you're saying that CRS doesn't notice disconnects, but router does? I'd expect both ends to report similar behaviour if it was L1/L2 problem (on ethernet level). It may well be that Unifi DAC is not entirely compatible with CRS ... MT devices are quite notorious for their iffy support for SFP/SFP+ modules, specially so for 3rd party ones (and DAC does somehow resemble SFP/SFP+ module).
 
Netrum
just joined
Topic Author
Posts: 4
Joined: Sun Jul 21, 2024 8:51 pm
Location: Earth

Re: Mikrotik switch disconnects from network every 20minutes

Mon Jul 22, 2024 10:12 am

I was originally running 2 mikrotik S+RJ10 modules and a cat7 cable.
But the modules heated up to almost 90celsius so i changed it out for the Ubiquity cable.
I also tested with bypassing SPF+ on the switch and ran the ethernet into one of the 2.5gbit ports.
So UDM pro max via SPF+ S+RJ10 > Cat7 cable 10m > Switch 2.5Gbit port.

But the problem persists no matter what i do.

I thought it could be power saving, so i turned that off on the NIC in device manager.
Not sure if there is another setting somewhere.

Yes the router notice the disconnect but the switch does not.
 
emunt6
Member Candidate
Member Candidate
Posts: 117
Joined: Fri Feb 02, 2018 7:00 pm

Re: Mikrotik switch disconnects from network every 20minutes

Wed Jul 24, 2024 2:01 am

Hi!

You using AOC cable not DAC cable. AOC cable has problem with interop. between vendors.
Use optical cable with SFP+ modul ( check the "MSA compliant" certified - will work ).
 
Netrum
just joined
Topic Author
Posts: 4
Joined: Sun Jul 21, 2024 8:51 pm
Location: Earth

Re: Mikrotik switch disconnects from network every 20minutes

Wed Jul 24, 2024 10:20 am

I had the same problem using Mikrotik S+RJ10 modules.
But it is more stable now after i started using the AOC.
I will leave it as is until i can replace the switch.