Community discussions

MikroTik App
 
arfoll
newbie
Topic Author
Posts: 30
Joined: Mon Sep 24, 2012 8:24 pm

Port flapping RB5009 + vodafone modem

Tue Nov 02, 2021 10:21 pm

I have a pretty standard network config:
Vodafone modem (Arris TG3442) -> RB5009

I'm using port8 as the wan port as the 2.5gbe port is best used elsewhere. Apart from that it's basically the default config from 7.1rc5. The problem is that the port keeps disconnecting, it's a bit random but I guess on average it's every 5-10mins.
20:59:06 dhcp,info dhcp-client on ether8-wan lost IP address 188.194.xxx.xx - lease stopped locally 
20:59:45 interface,info ether8-wan link up (speed 1G, full duplex) 
20:59:46 dhcp,info dhcp-client on ether8-wan got IP address 188.194.xxx.xx
A pcap of the dhcp request seems perfectly normal, it really seems the ethernet connection goes down, I can even see the LEDs on port8 going down:
0.000000	0.0.0.0	255.255.255.255	DHCP	342	DHCP Discover - Transaction ID 0x5fb96bfd
0.028581	88.134.xxx.xxx	255.255.255.255	DHCP	342	DHCP Offer    - Transaction ID 0x5fb96bfd
0.028753	0.0.0.0	255.255.255.255	DHCP	342	DHCP Request  - Transaction ID 0x5fb96bfd
0.050977	88.134.xxx.xxx	255.255.255.255	DHCP	342	DHCP ACK      - Transaction ID 0x5fb96bfd
Reading a bit shows people seem to have similar issues with the RB3011 and 4011 with no obvious solution. I tried a few of the tips, mostly forcing the ethernet auto negociation off and into 1gb/s mode, switched all cables, used different ports etc... Also everything on the mikrotik is on 1000Base-T, so the switch is not in any kind of mixed mode.

Then I put a cheap gig switch in between the modem and the RB5009 and voila it's now working perfectly. Now my network is:
Vodafone modem (Arris TG3442) -> el cheapo switch -> RB5009

I'd put this on the vodafone modem but I had a very similar issue with an RB2011 and a fritzbox, and when I connect a server directly with an i350 and intel network card it's working perfectly. So it really seems like the network ports on mikrotik behave a little weird no?
Last edited by arfoll on Tue Nov 02, 2021 11:02 pm, edited 2 times in total.
 
User avatar
Hominidae
Member
Member
Posts: 316
Joined: Thu Oct 19, 2017 12:50 am

Re: Port flapping RB5009 + vodafone modem

Tue Nov 02, 2021 10:59 pm

I had the same issue with my RB4011 and FritzCable....and yes, I purely blame the Fritz as I had it stable for years, before the fritz got pushed a FW-update (it started with FW7.21).
Now I am on a Technicolor Modem in Bridge mode and uptime is several months.
 
fragtion
Member Candidate
Member Candidate
Posts: 269
Joined: Fri Nov 13, 2009 10:08 pm
Location: Cape Town, South Africa

Re: Port flapping RB5009 + vodafone modem

Wed Jan 12, 2022 7:49 pm

Hi , are you still seeing this issue with your RB5009 ? If so , have you figured out what may be causing it ? I have two RB5009's and both do the exact same thing. Occasional patterns of port flapping which comes and goes but is very disruptive
 
arfoll
newbie
Topic Author
Posts: 30
Joined: Mon Sep 24, 2012 8:24 pm

Re: Port flapping RB5009 + vodafone modem

Wed Jan 12, 2022 9:57 pm

Hi , are you still seeing this issue with your RB5009 ? If so , have you figured out what may be causing it ? I have two RB5009's and both do the exact same thing. Occasional patterns of port flapping which comes and goes but is very disruptive
I have a netgear GS105GE between the rb5009 and the modem, works completely fine with no drops. I havent re-tried recently with the latest updates.
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Port flapping RB5009 + vodafone modem

Wed Jan 12, 2022 10:09 pm

If you test after the latest updates let us know if the problem persists ...
Also, do the link downs follow a specific pattern ? Do they happen for example exactly every 2 or 3 etc minutes or they are totally random ?
 
arfoll
newbie
Topic Author
Posts: 30
Joined: Mon Sep 24, 2012 8:24 pm

Re: Port flapping RB5009 + vodafone modem

Wed Jan 12, 2022 10:50 pm

If you test after the latest updates let us know if the problem persists ...
Also, do the link downs follow a specific pattern ? Do they happen for example exactly every 2 or 3 etc minutes or they are totally random ?

I had a quick go, updated to 7.1.1 (packages & routerboard). Didn't take long:

20:36:50 system,info router rebooted
20:37:03 interface,info ether8-wan link up (speed 1G, full duplex)
20:37:04 dhcp,info dhcp-client on ether8-wan got IP address 188.194.166.65
...
21:42:30 interface,info ether8-wan link down
21:42:30 dhcp,info dhcp-client on ether8-wan lost IP address 188.194.166.65 - lease stopped locally
21:42:33 interface,info ether8-wan link up (speed 1G, full duplex)
21:42:34 dhcp,info dhcp-client on ether8-wan got IP address 188.194.166.65
21:47:48 interface,info ether8-wan link down
21:47:48 dhcp,info dhcp-client on ether8-wan lost IP address 188.194.166.65 - lease stopped locally
21:47:52 interface,info ether8-wan link up (speed 1G, full duplex)
21:47:52 dhcp,info dhcp-client on ether8-wan got IP address 188.194.166.65
It happens pretty randomly, there doesn't seem to be an obvious pattern and the link comes back really quickly. It seems to happen more when you have a load on the connection, but it's difficult to really say, as you can see above it worked fine for ~1hr then had an issue then as soon as I ran a speedtest on the connection I got another one at 21:47, ran another and nothing.
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Port flapping RB5009 + vodafone modem

Wed Jan 12, 2022 11:06 pm

Did you try with auto negotiation disabled? And set fixed speed at 1Gbps full duplex and then 100 Mbps Full duplex just for testing...
 
arfoll
newbie
Topic Author
Posts: 30
Joined: Mon Sep 24, 2012 8:24 pm

Re: Port flapping RB5009 + vodafone modem

Wed Jan 12, 2022 11:29 pm

Did you try with auto negotiation disabled? And set fixed speed at 1Gbps full duplex and then 100 Mbps Full duplex just for testing...
Autonegociation is already off, and loop protect is off - I had tried going down to 100Mbps in the past and it made no difference, I can try again later but I really don't see why it would make any difference...
 7 R  name="ether8-wan" default-name="ether8" mtu=1500 l2mtu=1514 mac-address=2C:C8:1B:FF:8F:64 
      orig-mac-address=2C:C8:1B:FF:8F:64 arp=enabled arp-timeout=auto loop-protect=off loop-protect-status=off 
      loop-protect-send-interval=5s loop-protect-disable-time=5m auto-negotiation=no 
      advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full full-duplex=yes tx-flow-control=off 
      rx-flow-control=off speed=1Gbps bandwidth=unlimited/unlimited switch=switch1 
I've also got all brand new cables and done quite alot of cable swapping, the wan connection is on premade earthed cat6a of what I assume is reasonable quality (i admit i do not have a tester :)). The whole rack is earthed and the cable modem is also earthed via the cable F plug.

Note its the same cable that went to the netgear switch and for the whole time (~2 months) i didnt get a single port down.
 
User avatar
rushlife
Member Candidate
Member Candidate
Posts: 254
Joined: Thu Nov 05, 2015 12:30 pm

Re: Port flapping RB5009 + vodafone modem

Thu Jan 13, 2022 12:32 am

you must use 2.5Gbe port, than it works without any error
 
arfoll
newbie
Topic Author
Posts: 30
Joined: Mon Sep 24, 2012 8:24 pm

Re: Port flapping RB5009 + vodafone modem

Thu Jan 13, 2022 8:28 am

you must use 2.5Gbe port, than it works without any error
I'm not going to change my whole config for this attempt. But I don't understand why this would change anything, all ports on the RB5009 are connected to the 88E6393X switch? Running the switch in mixed mode I could understand it cause some odd issues but in my case they're all fixed to 1Gbps.
 
fragtion
Member Candidate
Member Candidate
Posts: 269
Joined: Fri Nov 13, 2009 10:08 pm
Location: Cape Town, South Africa

Re: Port flapping RB5009 + vodafone modem

Thu Jan 13, 2022 9:00 pm

@arfoll if you check your logs, do all of your ethernet ports go down or only some? For me, if there's a cable plugged into a port (active link on the port), it will go down with the rest whenever the fault triggers. They go down (and come back up) in numerical order, starting with port 1 upwards

The fact that all of the ethernet ports go down and up together at the same time, and in numerical sequence, leads me to believe that it's an issue with the switch chip, or communication to the switch chip. Whether that is hardware or software is obviously going to be a mystery to us until MikroTik support can advise more on the matter. I have an open ticket [Sup #SUP-71476] and am eagerly waiting for some form of acknowledgement

For the record, ether1 is my WAN port and it goes down/up just like the others, so I don't think the 2.5Gbps port exception holds any water ?

Given how seemingly random these occurrences are, and yet how they seem to come in bursts which could last for a while, I've started to wonder if it couldn't maybe be some kind of external/environmental factors which are provoking it. I'm trying to improve cooling of my units (I'm sitting between 41-43 degrees Celsius most of the time) to see if that has any impact. How are your temperatures looking ?
Last edited by fragtion on Thu Jan 13, 2022 9:13 pm, edited 1 time in total.
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Port flapping RB5009 + vodafone modem

Thu Jan 13, 2022 9:05 pm

@fragtion the OP refers to a single port flapping and not all together...
 
fragtion
Member Candidate
Member Candidate
Posts: 269
Joined: Fri Nov 13, 2009 10:08 pm
Location: Cape Town, South Africa

Re: Port flapping RB5009 + vodafone modem

Thu Jan 13, 2022 9:16 pm

@fragtion the OP refers to a single port flapping and not all together...
Yes that seems to be the case. But yet OP's issue description seems almost identical to what I am experiencing, and there are visibly no other threads around here that I could find discussing this type of issue. On both of my RB5009 devices (I mean what are the odds???) purchased from different parts of the globe, I experience this issue and every time it causes all *connected* ethernet ports to flap simultaneously. So I think it's critical to distinguish for certain if OP is still only utilizing one port, or what happens if they have more than one port connected, etc. For instance, if it's a software issue, then why would it affect some devices with all ports and another device with just one port ? Even if it's a hardware issue, that discrepancy seems obscure wouldn't you agree? That means we're dealing with at least 3 faulty devices between us, two of which have a DIFFERENT fault to the other while showing almost identical (but not the same) symptoms ?
 
arfoll
newbie
Topic Author
Posts: 30
Joined: Mon Sep 24, 2012 8:24 pm

Re: Port flapping RB5009 + vodafone modem

Fri Jan 14, 2022 7:55 am

@arfoll if you check your logs, do all of your ethernet ports go down or only some? For me, if there's a cable plugged into a port (active link on the port), it will go down with the rest whenever the fault triggers. They go down (and come back up) in numerical order, starting with port 1 upwards
No only the port with the cable connected to my cable modem shows any signs of issues for me, the only effect visible on mikrotik is that log line. I was using a different port at one point just to try see if this helped (though never port1), I think it was port2 but it made no difference.

Fyi I'm using more than one port, all on 1gbps and none of them show any issues.

The fact that all of the ethernet ports go down and up together at the same time, and in numerical sequence, leads me to believe that it's an issue with the switch chip, or communication to the switch chip. Whether that is hardware or software is obviously going to be a mystery to us until MikroTik support can advise more on the matter. I have an open ticket [Sup #SUP-71476] and am eagerly waiting for some form of acknowledgement
To be honest this sounds like a different issue. Is yours also fixed by having a dumb switch in between your rb5009 and the flapping port?


Given how seemingly random these occurrences are, and yet how they seem to come in bursts which could last for a while, I've started to wonder if it couldn't maybe be some kind of external/environmental factors which are provoking it. I'm trying to improve cooling of my units (I'm sitting between 41-43 degrees Celsius most of the time) to see if that has any impact. How are your temperatures looking ?
My rack is fully open atm since I still haven't finished it properly, I've never been super careful with temp monitoring the mikrotik but it's sitting at 38C which I consider pretty cool, it's never shown itself to be super warm. I did also hook up a different stronger power supply to just check this wasn't a weird voltage drop but seemed to make no difference.
 
fragtion
Member Candidate
Member Candidate
Posts: 269
Joined: Fri Nov 13, 2009 10:08 pm
Location: Cape Town, South Africa

Re: Port flapping RB5009 + vodafone modem

Fri Jan 14, 2022 9:38 pm

To be honest this sounds like a different issue. Is yours also fixed by having a dumb switch in between your rb5009 and the flapping port?
Interesting. Well the symptoms are similar in that it seems sporadic and unprovoked and affects ethernet up/down state. But you're right, probably different issues. I'm starting to wonder if my issue isn't config-related, as it affects both my RB5009's but nobody else seems to be facing this "variant" of the problem.

For what it's worth, this person seems to be facing exactly the same fault as you: https://twitter.com/g_yotuya/status/1475666222096486403
 
aTOMico
just joined
Posts: 6
Joined: Sun Jan 16, 2022 5:31 pm

Re: Port flapping RB5009 + vodafone modem

Sun Jan 16, 2022 5:51 pm

Hi,
had pretty the same issue with my RB4011 and my Arris TG3442.
I found nothing to fix this with my config, so i placed a dump switch between the RB4011 and the Arris and it worked.
I decided to buy a SFP Copper 1G Module for the RB4011 and connected the Artis Modem to that and it worked perfect.
After doing so i never had any port flapping problems. All of my Ethernet ports are working with other devices, so i think its some Kind of incompatibility.
Last edited by aTOMico on Sun Jan 16, 2022 6:13 pm, edited 2 times in total.
 
User avatar
jbl42
Member Candidate
Member Candidate
Posts: 220
Joined: Sun Jun 21, 2020 12:58 pm

Re: Port flapping RB5009 + vodafone modem

Mon Jan 17, 2022 12:27 am

But I don't understand why this would change anything, all ports on the RB5009 are connected to the 88E6393X switch?
The 88E6393X is a 11port switch chip: 3x 10GB raw MI and 8x 1GB with integrated PHYs.
One 10GB goes to the CPU, one to the SFP+ and the 3rd is connected to a 2.5GB PHY chip (QCA8081) going to ether1. Ether2-ether8 are connected to 7 of the 8 1GB ports. The 8th 1GB port is unused and hidden in ROS (and also missing in the RB5009 block diagram).
This is also why the ether1 activity/Link LEDs behave slightly different compared to ether2-ether8, as LEDs are driven by the PHYs.

On RB5009 it is possible to see differences in link stability on port ether1 vs. ports ether2-ether8
 
b10up
just joined
Posts: 7
Joined: Sat Aug 01, 2020 5:38 pm

Re: Port flapping RB5009 + vodafone modem

Mon Feb 07, 2022 2:16 pm

We also having this port flapping issue with RB5009.
All connected ports are going down and up (The 2.5 and 1g ports too). Sometimes once per day, sometimes twice in 10 minutes. This is extremely uncomfortable, because this drops the pppoe connection and we have to wait 10 minutes until the pppoe session timeouts at the ISP side and we got authenticated again.
 
fragtion
Member Candidate
Member Candidate
Posts: 269
Joined: Fri Nov 13, 2009 10:08 pm
Location: Cape Town, South Africa

Re: Port flapping RB5009 + vodafone modem

Mon Feb 07, 2022 3:22 pm

We also having this port flapping issue with RB5009.
All connected ports are going down and up (The 2.5 and 1g ports too). Sometimes once per day, sometimes twice in 10 minutes. This is extremely uncomfortable, because this drops the pppoe connection and we have to wait 10 minutes until the pppoe session timeouts at the ISP side and we got authenticated again.
Do you by any chance have DHCP Leases window open in Winbox when all connected ports are flapping? See viewtopic.php?t=182311&p=906083
The single port flapping is a different issue after all so you should post in the linked thread rather.
 
b10up
just joined
Posts: 7
Joined: Sat Aug 01, 2020 5:38 pm

Re: Port flapping RB5009 + vodafone modem

Tue Feb 08, 2022 9:57 am

No, and the winbox was not open. But i poll the device via snmp with observium (read only community only).
I attached an image. The long gap was because i disabled the BGP and the server could not reach the router, but all of the short red lines are there because of the port flapping. Meanwhile the BGP was off, there was no incoming snmp polls, but the ports still flapped several times.

Unfortunately all of the ports are going up and down, but the system uptime is not resetting. I tried to move the modem from ether1 to ether2, but no luck, all of them flapping.
You do not have the required permissions to view the files attached to this post.
 
MayestroPW
Frequent Visitor
Frequent Visitor
Posts: 52
Joined: Wed Oct 26, 2016 3:28 pm

Re: Port flapping RB5009 + vodafone modem

Mon Feb 14, 2022 1:24 pm

7.1.2 and 7.2rc3 -- the same problem.
It's basically unusable at this point.
Is MT doin' something about it? They have to fix it ASAP.
 
duncanthrax
just joined
Posts: 1
Joined: Tue Feb 22, 2022 5:02 pm

Re: Port flapping RB5009 + vodafone modem

Tue Feb 22, 2022 5:12 pm

Same problem here:

Random link drops on 1G Ports on RB3011 and RB5009, when connected to specific other equipment. Drops last no longer than 3-4 seconds, occurence is sporadic, a couple times per day. No distinctive pattern. All 1G ports are affected. Changing cables does not help. Several RouterOS versions in 6 and 7 series tested. Fiddling with L2 settings (Autoneg, Flow control etc.) makes no difference.

Affected devices are:
  • Fritzbox 6591 Cable
  • Allnet G.hn media converter
NOT affected devices:
  • Several unmanaged dumb 1G switches
  • 2 Mikrotik Switches
Blaming the other devices look obvious, but in case of the Fritzbox I don't believe it. It's just too common. What is interesting is that is happens both on the RB3011 and the new RB5009.

This is very annoying ...
 
whatever
Member
Member
Posts: 362
Joined: Thu Jun 21, 2018 9:29 pm

Re: Port flapping RB5009 + vodafone modem

Sun Feb 27, 2022 6:01 pm

Same issue with direct connection between RB4011 and Fritzbox 6591. With hap ac^2 configured as switch in between everything is stable.
 
User avatar
Hominidae
Member
Member
Posts: 316
Joined: Thu Oct 19, 2017 12:50 am

Re: Port flapping RB5009 + vodafone modem

Wed Mar 02, 2022 4:39 pm

Blaming the other devices look obvious, but in case of the Fritzbox I don't believe it.
I definitely can blame it on the fritz for sure, as a FW-update to FritzOS FW v7.21 - which was the only thing changed in my infrastructure - caused exactly this behaviour.
Before that, the setup ran for months without a glitch...See my post above...
 
pchott
newbie
Posts: 45
Joined: Tue Apr 29, 2014 11:15 am
Location: Holzkirchen, Germany

Re: Port flapping RB5009 + vodafone modem

Wed Mar 30, 2022 2:01 pm

I have same problem with new Vodafone (DE) Modem (bridge mode) and RB4011. Solution was same, some cheap switch between.

Can we say that there are problems on MT with ARM processor (not blaming MT)?
 
ormandj
just joined
Posts: 18
Joined: Tue Jun 15, 2021 12:25 am

Re: Port flapping RB5009 + vodafone modem

Wed Mar 30, 2022 11:30 pm

Make sure you don't have graphing writing to disk, and also make sure you don't have DHCP writing leases to disk. This was the problem I ran into re: port flapping on CRS328. As soon as I'd do something like a backup save, I'd see ports flap, which is what lead me to discover this behavior. Definitely submit a bug report if this looks related to you, I've already submitted one but it's had no responses since last year. SUP-68278.
 
arfoll
newbie
Topic Author
Posts: 30
Joined: Mon Sep 24, 2012 8:24 pm

Re: Port flapping RB5009 + vodafone modem

Wed Apr 20, 2022 9:23 pm

Make sure you don't have graphing writing to disk, and also make sure you don't have DHCP writing leases to disk. This was the problem I ran into re: port flapping on CRS328. As soon as I'd do something like a backup save, I'd see ports flap, which is what lead me to discover this behavior. Definitely submit a bug report if this looks related to you, I've already submitted one but it's had no responses since last year. SUP-68278.
Interesting idea, how bad is a standard config like this?
 > /ip/dhcp-server/config/print 
  store-leases-disk: 5m
         accounting: yes
     interim-update: 0s
    radius-password: empty
I have to say the documentation seems lacking here: https://help.mikrotik.com/docs/display/ ... DHCPServer. I don't really understand if I set store-leases-disk to 0, does this mean static leases are not kept? Also what is "accounting" and interim update? Seems to be related to Radius but not mentioned anywhere.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 12645
Joined: Thu Mar 03, 2016 10:23 pm

Re: Port flapping RB5009 + vodafone modem

Wed Apr 20, 2022 10:48 pm

I don't really understand if I set store-leases-disk to 0, does this mean static leases are not kept?

Not sure what exactly setting value to 0 does. However there are two special values which are self descriptive: immediately and never.
And I don't think static leases are affected by this parameter at all, static leases are part of configuration which is always stored to disk (could be it's not if safe mode is enabled).
 
arfoll
newbie
Topic Author
Posts: 30
Joined: Mon Sep 24, 2012 8:24 pm

Re: Port flapping RB5009 + vodafone modem

Wed Apr 20, 2022 11:00 pm

I don't really understand if I set store-leases-disk to 0, does this mean static leases are not kept?

Not sure what exactly setting value to 0 does. However there are two special values which are self descriptive: immediately and never.
And I don't think static leases are affected by this parameter at all, static leases are part of configuration which is always stored to disk (could be it's not if safe mode is enabled).
You're right I set it to 'never'. However I still get the issue, albeit it looks rarer, it didn't happen for nearly one hour and then twice in 10mins :/
21:33:45 dhcp,info dhcp-client on ether8-wan lost IP address 188.194.xxx.xxx - lease stopped locally 
21:33:48 interface,info ether8-wan link up (speed 1G, full duplex) 
21:33:49 dhcp,info dhcp-client on ether8-wan got IP address 188.194.xxx.xxx 
21:46:58 interface,info ether8-wan link down 
21:46:58 dhcp,info dhcp-client on ether8-wan lost IP address 188.194.xxx.xxx - lease stopped locally 
21:47:01 interface,info ether8-wan link up (speed 1G, full duplex) 
21:47:01 dhcp,info dhcp-client on ether8-wan got IP address 188.194.xxx.xxx
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 12645
Joined: Thu Mar 03, 2016 10:23 pm

Re: Port flapping RB5009 + vodafone modem

Thu Apr 21, 2022 5:51 pm

The problem you're seeing isn't connected (directly at least) connected settings discussed in previous post ... which is about DHCP server BTW. Log clearly shows port flapping (a separate, but grave, problem) and it's only logical that DHCP client re-acquires a lease (it can't know that link disconnect is actually a flop, not a disconnect and connect to a completely different network). AFAIK client leases are not actually written to disk, by definition they don't make sense after device reboot (as seen from log, they even aren't taken as sensible after a link flap). And there's no flag or anything that would tell DHCP client that the lease is static ... after all, until device obtains a DHCP lease it has no (or rather very limited) way of knowing it connected to the same network as it was moments ago.
 
arfoll
newbie
Topic Author
Posts: 30
Joined: Mon Sep 24, 2012 8:24 pm

Re: Port flapping RB5009 + vodafone modem

Thu Apr 21, 2022 8:48 pm

The problem you're seeing isn't connected (directly at least) connected settings discussed in previous post ... which is about DHCP server BTW. Log clearly shows port flapping (a separate, but grave, problem) and it's only logical that DHCP client re-acquires a lease (it can't know that link disconnect is actually a flop, not a disconnect and connect to a completely different network). AFAIK client leases are not actually written to disk, by definition they don't make sense after device reboot (as seen from log, they even aren't taken as sensible after a link flap). And there's no flag or anything that would tell DHCP client that the lease is static ... after all, until device obtains a DHCP lease it has no (or rather very limited) way of knowing it connected to the same network as it was moments ago.
Oh I understand, I figured you where saying that disk writes where causing port flaps, hence I figured i would try to disable the ntp server, client altogether and then disable dhcp server writing leases to disk. Unfortunately it makes no difference. And I agree the dhcp client behaves as I'd expect, its the port up/down which is problematic.
 
evergreen
just joined
Posts: 17
Joined: Tue Mar 07, 2023 9:41 pm

Re: Port flapping RB5009 + vodafone modem

Sun Mar 12, 2023 3:19 am

I have a pretty standard network config:
Vodafone modem (Arris TG3442) -> RB5009

I'm using port8 as the wan port as the 2.5gbe port is best used elsewhere. Apart from that it's basically the default config from 7.1rc5. The problem is that the port keeps disconnecting, it's a bit random but I guess on average it's every 5-10mins.
...
Then I put a cheap gig switch in between the modem and the RB5009 and voila it's now working perfectly. Now my network is:
Vodafone modem (Arris TG3442) -> el cheapo switch -> RB5009

I'd put this on the vodafone modem but I had a very similar issue with an RB2011 and a fritzbox, and when I connect a server directly with an i350 and intel network card it's working perfectly. So it really seems like the network ports on mikrotik behave a little weird no?

I have a very similar setup: rb5009, PPPOE on vlan on physical port for WAN and experienced flapping also.

- I was implementing bridge vlan filtering to get all-port hardware offload. I decided to switch ether1 to ether8 as my WAN port for the pppoe-client on vlan.
- I noticed flapping every 2-3 hours that'd take down my internet access until the PPPOE connection re-established.
- Re-seated cable, tried other cables, rebooted ISP GPEN box thing, nothing worked
- I figured bridge vlan filtering was the cause, so I tried some stuff there, but nothing worked
- I went back to using ether1 for WAN and turned off HW offload for bridge VLAN filtering
- I waited 24h and watched my dashboards, the drops had stopped
- I then switched HW filtering back on and it's been fine for the last few hours
- I have pretty good monitoring with Grafana and Syslog, so I am going to watch my ether8 connected to a hexS to see if it is dropping. I bet it'll be fine though.

So do I have a bad ether8?
Do the 1gbe ports not play nice with my ISP's funky ethernet to PSTN sorcery box?
Does bridge vlan filtering provoke the error?

At this point it's all questions but I bet I can reproduce this error.
Last edited by evergreen on Mon Mar 13, 2023 9:07 am, edited 1 time in total.
 
F1le
newbie
Posts: 29
Joined: Tue Nov 21, 2017 1:35 am

Re: Port flapping RB5009 + vodafone modem

Fri Apr 07, 2023 1:01 am

I have a pretty standard network config:
Vodafone modem (Arris TG3442) -> RB5009
Got the same configuration 1:1 and same problem - Arris TG3492LG + RB5009. Sometimes once a day, sometimes 10 times per 10 minutes... v7.8. Anybody got any fix for that port flapping? Doesn't matter if it's port #1 2.5G or port #2 1G stll the same, now I got in port #1 FTTH ONT 2.5Gbit so it must be there and seems working correctly, looks way more stable than this Arris connection on its 1Gbit/s link. Replaced like 10 cables -> no it's not the reason...
You do not have the required permissions to view the files attached to this post.
 
jamez
just joined
Posts: 1
Joined: Sun Apr 09, 2023 12:42 pm

Re: Port flapping RB5009 + vodafone modem

Sun Apr 09, 2023 1:24 pm

Hello there :-)

I had the same problem: mikrotik rb5009 and Arris TG 3442 cable modem. Also port was flapping off and on, and my internet connection was interrupting.
I have changed settings on mikrotik: autonegotiation off, and set 1 Gb with full duplex, but this didn't help.
Then I called my ISP, and ask them, to do the same on arris. They have changed negotiation to off and set link speed to 1 Gb.
and... THE PROBLEM HAS GONE!! So the reason was autonegotiation also on cable modem. Now, since 3 days, I didn't get any single port state change.

Best Regards :-)
 
liviu2004
Frequent Visitor
Frequent Visitor
Posts: 95
Joined: Tue Jul 01, 2008 10:22 pm
Location: Rotterdam

Re: Port flapping RB5009 + vodafone modem

Mon Apr 10, 2023 9:16 am

In 2023 2 devices cannot autonegociate and maintain a 1gbps link…..
 
F1le
newbie
Posts: 29
Joined: Tue Nov 21, 2017 1:35 am

Re: Port flapping RB5009 + vodafone modem

Wed Apr 12, 2023 12:48 am

Hello there :-)

I had the same problem: mikrotik rb5009 and Arris TG 3442 cable modem. Also port was flapping off and on, and my internet connection was interrupting.
I have changed settings on mikrotik: autonegotiation off, and set 1 Gb with full duplex, but this didn't help.
Then I called my ISP, and ask them, to do the same on arris. They have changed negotiation to off and set link speed to 1 Gb.
and... THE PROBLEM HAS GONE!! So the reason was autonegotiation also on cable modem. Now, since 3 days, I didn't get any single port state change.

Best Regards :-)
Nice to know, I gave up and put a "dumb" switch in between those 2 :)

Who is online

Users browsing this forum: DenisPDA and 8 guests