Community discussions

MikroTik App
 
tomowariacina
just joined
Topic Author
Posts: 8
Joined: Fri Jan 21, 2022 4:42 pm

RB760iGS losing connection

Thu Jan 27, 2022 1:39 pm

Hello everyone,
I've got another problem but with another RB760iGS. The problem is that it's losing WAN connection 1-2 times per week. Normally i have to log in via LAN and make system reboot and everything start working for about 1 week. Yesterday I lost connection again but I wasn't able to log in to that device via LAN and WAN, so I had to connect to it via MAC Telnet and reboot it again - again everything works fine. Before reboot I'm looking into log file but there's nothing that can point me the problem (no informations). Anyone has that problem before?

There's only L2TP client connection for monitoring purposes, firewall and simple queues for WAN clients created. It's connected to CRS317 using Ethernet port.

Things I've done:
- device switch (netinstall 6,48.5 to the new one);
- SFP module changed;
- changed power supply;
- we made fiber optic connection measurement - everything is good.
 
tomowariacina
just joined
Topic Author
Posts: 8
Joined: Fri Jan 21, 2022 4:42 pm

Re: RB760iGS losing connection

Fri Jan 28, 2022 9:00 pm

Bump
 
tomowariacina
just joined
Topic Author
Posts: 8
Joined: Fri Jan 21, 2022 4:42 pm

Re: RB760iGS losing connection

Thu Feb 03, 2022 3:58 pm

Bump
 
erlinden
Forum Guru
Forum Guru
Posts: 1920
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: RB760iGS losing connection

Thu Feb 03, 2022 4:43 pm

Did you upgrade both RouterOS and firmware?
Can you share your config /export hide-sensitive file=anynameyoulike?
 
tomowariacina
just joined
Topic Author
Posts: 8
Joined: Fri Jan 21, 2022 4:42 pm

Re: RB760iGS losing connection

Thu Feb 03, 2022 9:08 pm

Did you upgrade both RouterOS and firmware?
Can you share your config /export hide-sensitive file=anynameyoulike?
Hi, thank you for your answer.

I upgraded ROS using netinstall before I replaced the devices to the 6.48.5 version which I'm using on all my Mikrotik Devices right now. 4 days ago (I saw it right now) it was rebooted by himself giving me error which I recognize but it's not he same situation (/ip firewall connection has got about 1800 entries):
router was rebooted without proper shutdown
kernel failure in previous boot
I'm sharing you config:
/interface bridge
add name=bridge-klient protocol-mode=none
add name=bridge-l2tp protocol-mode=none
add name=bridge-monit protocol-mode=none
/interface ethernet
set [ find default-name=ether1 ] comment="DOWNLINK"
set [ find default-name=ether4 ] comment=BACKDOOR
set [ find default-name=ether5 ] comment="BACKDOOR MTIKI" poe-out=off
set [ find default-name=sfp1 ] comment=WAN
/interface vlan
add interface=ether1 name=eth1.50 vlan-id=50
add interface=ether1 name=eth1.70 vlan-id=70
add interface=bridge-l2tp name=vlan50 vlan-id=50
/ppp profile
add bridge=bridge-l2tp name=xxx use-encryption=no
/interface l2tp-client
add allow=mschap2 connect-to=x.x.x.x disabled=no name=\
    xxx profile=xxx user=xxx
/queue simple
/// HERE IS 13 QUEUES ///
/snmp community
set [ find default=yes ] addresses=xxx/32,xxx/32 name=\
    xxx
/interface bridge port
add bridge=bridge-monit interface=vlan50
add bridge=bridge-monit interface=eth1.50
add bridge=bridge-klient interface=eth1.70
/ip firewall connection tracking
set enabled=yes
/ip address
/// IP ADDRESSES ///
/ip firewall filter
- port 22, 161, 8291, 2000 and 123 bloked for everyone except my hosts;
- 53 (tcp/udp), 80 and 443 blocked for everyone;
/ip route
add distance=1 gateway=x.x.x.x
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www disabled=yes
set api disabled=yes
set winbox port=8291
set api-ssl disabled=yes
/snmp
set enabled=yes trap-generators=interfaces,start-trap trap-target=\
    x.x.x.x trap-version=2
/system clock
set time-zone-name=Europe/Warsaw
/system identity
set name=xxx
/system ntp client
set enabled=yes primary-ntp=x.x.x.x secondary-ntp=x.x.x.x
/system scheduler
add name=reboot_notification on-event=reboot_email_notification policy=\
    ftp,reboot,read,write,policy,test,password,sniff,sensitive start-time=\
    startup
One more Mikrotik sits next to it and it has no problems at all and works normally. I was trying to replace "valid one" but it still losing connection or reboot by himself as I saw right now
 
sindy
Forum Guru
Forum Guru
Posts: 10205
Joined: Mon Dec 04, 2017 9:19 pm

Re: RB760iGS losing connection

Thu Feb 03, 2022 10:22 pm

Can you enable graphing of system resources (CPU, RAM, disk usage) and watch whether the RAM usage grows over time? Or, for starters, what does /ip firewall connection print count-only show a few hours after the reboot?

You have substitued the actual firewall rules by a summary, but I suppose you do use the default stateful firewall, and if something creates tens of thousands of connections, the reboot may be caused by RAM exhaustion. Been there, seen that.
 
tomowariacina
just joined
Topic Author
Posts: 8
Joined: Fri Jan 21, 2022 4:42 pm

Re: RB760iGS losing connection

Fri Feb 04, 2022 10:21 am

Can you enable graphing of system resources (CPU, RAM, disk usage) and watch whether the RAM usage grows over time? Or, for starters, what does /ip firewall connection print count-only show a few hours after the reboot?
5 days after reboot I've got only 1500 connections, so I don't think that it's the case but I'm going to try that command when router would be down.
You have substitued the actual firewall rules by a summary, but I suppose you do use the default stateful firewall, and if something creates tens of thousands of connections, the reboot may be caused by RAM exhaustion. Been there, seen that.
The only graphs I've got is Zabbix ones. They're propably not so precise because so shows me nothing except 100% packet loss during reboot and ping jump from 8ms to 13ms.
 
sindy
Forum Guru
Forum Guru
Posts: 10205
Joined: Mon Dec 04, 2017 9:19 pm

Re: RB760iGS losing connection

Fri Feb 04, 2022 11:59 am

5 days after reboot I've got only 1500 connections, so I don't think that it's the case but I'm going to try that command when router would be down.
Well, many connections are not the only reason for a RAM getting stuffed up, but as you say two distinct devices fail the same way, a RAM exhaustion looks most likely to me.

Even local graphing won't show you fast changes, only gradual ones (if the memory gots exhausted within a few seconds due to a burst of connection attempts, you won't see anything on the graph as the data resolution is only 5 minutes).
 
phesba
just joined
Posts: 1
Joined: Mon Jan 30, 2023 12:58 am

Re: RB760iGS losing connection

Mon Jan 30, 2023 1:00 am

Hi, i am the same problem,. Any Solution? Please

Who is online

Users browsing this forum: Ahrefs [Bot], CGGXANNX, iustin, jamesperks, sgiglio, tjr and 107 guests