Thanks Ivoshiee. This is the kind of report we are looking for.I have that port flapping issue on my RB750G. I used ether1 for outside connection (Cisco cable modem) and there that port flapping really does drop connection and is not just a pure cosmetics. In some occasions I had over 1 hour of no Internet access. That may be some other issue as well, but even during that time there were numerous port flapping incidents.
Couple days ago I moved the cable modem to ether3 and I haven't seen any port flapping on that port. Client PC/laptop is now in ether1 and I still see port flapping there.
Note: In case of the cable modem in ether1 the line speed did come up as 1000M all the time, but now ether1 is reporting occasionally 10M and then 1000M.
All my boxes are running ROS v5.5.
Edit: Cables are standard 1,8m variants, there should be no issues with these.
May be you can setup some monitoring software (e.g. The Dude) to monitor these flapping links by ping each second or even more often to see whether link flapping is only a reporting issue or a real flapping.Thanks Ivoshiee. This is the kind of report we are looking for.
By reading your post I realize that there were problems in the past with the Ethernet1/PoE port. Our port flap issue is also usually the Ether1/PoE port and we have seen other problems with these in the past. After release of v.4.x there was the issue that this port suddenly ´died´ for receive traffic, or died completely on running units for no reason. After a reboot it usually came back. (But I also had some 411's where the port died after the first initial upload of a working system by means of a script. Some of these PoE ports became unrepairable by way of software upgrade/re-installs.) This was all about a year ago.
In my central unit (with a bunch of rb's interconnected to each other, including 2 rb1000's) the issue came up every so many days and was repaired by interconnecting all routerboards and housings to daisy chain earth connection. Problems disappeared since. The problem here was obviously either ESD or current ´leakage´ over the boards and the Ethernet connector.
Anyway, you also report that the port flap really means a disconnect of the physical line.
On the other hand, your disconnect last a very long time. Where all my port flaps usually happen within the same second or the port comes back within 2-3 secs at worst.
(All according my log. Imho it makes me even more think it is merely a reporting issue than a ´real´ issue. See my first porst.)
I have had Netwatch scripts set to monitor cable modem and network gateway. As soon as the ether1 was reported as down then came the message as modem host being down as well. So, that is a real problem for me and not just reporting issue.May be you can setup some monitoring software (e.g. The Dude) to monitor these flapping links by ping each second or even more often to see whether link flapping is only a reporting issue or a real flapping.
That long loss of connection is just a few such ones I experienced. Usually these connectionless gaps are between 10...15 seconds. I haven't checked if these all are reporting as interface being down, but I strongly suspect that.Anyway, you also report that the port flap really means a disconnect of the physical line.
On the other hand, your disconnect last a very long time. Where all my port flaps usually happen within the same second or the port comes back within 2-3 secs at worst.
(All according my log. Imho it makes me even more think it is merely a reporting issue than a ´real´ issue. See my first porst.)
11:43:45 interface,info ether1 link down
11:43:55 interface,info ether1 link up (speed 1000M, full duplex)
11:46:19 interface,info ether1 link down
11:46:21 interface,info ether1 link up (speed 10M, full duplex)
11:46:27 interface,info ether1 link down
11:46:31 interface,info ether1 link up (speed 1000M, full duplex)
11:47:23 interface,info ether1 link down
11:47:24 interface,info ether1 link up (speed 10M, full duplex)
11:47:25 interface,info ether1 link down
11:47:28 interface,info ether1 link up (speed 1000M, full duplex)
11:47:49 interface,info ether1 link down
11:47:52 interface,info ether1 link up (speed 1000M, full duplex)
19:14:46 interface,info ether1 link down
19:14:47 interface,info ether1 link up (speed 10M, full duplex)
We use these only. But maybe an idea. I can test a unit one of these days with a power splitter/take-off in a hampered unit. This way the power will not come to the board via the utp cable but via the jack. Maybe that helps... we'll see.Rudy,
based on your experience, does port flapping also occur while using passive PoE splitters to power the RB in an outdoor enclosure?
All my cables are well attached to walls and roofs and masts/poles. But that is more out of tidiness and good conduct. I don't think physical movement of the utp cable would be an issue as long as the force is not driving the twisted wires apart or squeeze the copper core through the insulation against another cable. A synthetic carpet on the other hand could cause static electricity flows that can have effect on the date transport in the UTP cable. But if the flapping would have been caused by someone walking over it?? Well, everything is possible. But I think that change is relative small...I have deployed two 5.6 RB433 recently. One on a rooftop with a 50 meters FTP cable sent down the building without fixing it to the elevation. We were planning to fix the cable the next day, but the router had been turned on anyway. The installation has undergone a stress test during the night while a severe storm passed over the area. The port was flapping for 15 minutes. Once the storm has gone the port flapping stopped. I am wondering if this was caused by the cable being smashed against the wall by the wind.
Another RB was installed on a balcony where the cable was put under a synthetic carpet. I was noticing port flaps during daytime and I came to the conclusion that the customer might have been causing the port flaps by simply walking on the balcony.
I feel that that port flaps are caused by the cable being exposed to external factors whereas the cable should always be in complete standstill. This may be layman's thinking, but still appreciate your feedback on that.
You're right - topic "interface" was not included, so it makes a sense, that nothing was visible in the log. So I set up logging on some most problematic boards and I will check them. However, the fact, that topic was not included makes the problem revealing more harder, because only switches logs showed up what happened.jfartak; maybe a strange question; you do have the logging topic "interface" enabled in the routerboards?
If not the log won't show Ethernet interface status in ROS.
click on the "plus" button under his name on the left.I would give you Karma - but don't know how to do it .
did you also contact support? this is a community support. developers don't read everything.I had register myself today here and up to now, I was just an reader, not writer. However, this "flap problem" made me to do it .
Up to now, not. But as it looks, I will have to . BTW thanks for explanation - I thought, that this forum is extensively under the look of developers.Ahh, thank you, I finally found itI would give you Karma - but don't know how to do it .
click on the "plus" button under his name on the left.
did you also contact support? this is a community support. developers don't read everything.I had register myself today here and up to now, I was just an reader, not writer. However, this "flap problem" made me to do it .
I´ll bet they follow every topic if it is interesting enough for them.... they only won't acknowledge this otherwise users will start making claims.I thought, that this forum is extensively under the look of developers.
It is likely not related, but that box went down on me twice today. All leds shining and all, but no ping response from any port nor traffic being processed. First measure was to change a PSU. I'll see if it will fail again or not.I've monitored my RB750G and that issue is more likely to affect ether1 (and ether2) ports - I see several port down/up and speed variation messages on those ports a day, but any port higher there is that not so frequent if any.
Note: No POE in use from ether1 is in use and ISP modem is still about 1,8 meters away on the same CAT5 cable.
18:59:44 interface,info ether1 link down
18:59:48 interface,info ether1 link up (speed 10M, full duplex)
19:14:00 dhcp,info server1 deassigned 192.168.21.51 from F0:DE:F1:0D:39:0F
19:38:03 interface,info ether1 link down
19:38:10 interface,info ether1 link up (speed 1000M, full duplex)
19:38:10 dhcp,info server1 assigned 192.168.21.51 to F0:DE:F1:0D:39:0F
19:59:42 interface,info ether1 link down
19:59:46 interface,info ether1 link up (speed 10M, full duplex)
20:04:27 interface,info ether1 link down
20:04:34 interface,info ether1 link up (speed 1000M, full duplex)
20:06:39 interface,info ether1 link down
20:06:40 interface,info ether1 link up (speed 10M, full duplex)
20:06:41 interface,info ether1 link down
20:06:43 interface,info ether1 link up (speed 10M, full duplex)
20:24:39 dhcp,info server1 deassigned 192.168.21.51 from F0:DE:F1:0D:39:0F
20:50:44 interface,info ether1 link down
20:50:51 interface,info ether1 link up (speed 1000M, full duplex)
20:50:53 dhcp,info server1 assigned 192.168.21.51 to F0:DE:F1:0D:39:0F
20:57:47 interface,info ether1 link down
20:57:50 interface,info ether1 link up (speed 10M, full duplex)
21:10:53 dhcp,info server1 deassigned 192.168.21.51 from F0:DE:F1:0D:39:0F
aug/31 23:11:53 interface,info ether1 link down
aug/31 23:12:00 interface,info ether1 link up (speed 1000M, full duplex)
aug/31 23:12:01 dhcp,info server1 assigned 192.168.21.51 to F0:DE:F1:0D:39:0F
aug/31 23:33:30 interface,info ether2 link down
aug/31 23:33:32 interface,info ether2 link up (speed 10M, full duplex)
aug/31 23:34:38 interface,info ether1 link down
aug/31 23:34:40 interface,info ether1 link up (speed 10M, full duplex)
aug/31 23:35:02 interface,info ether1 link down
aug/31 23:52:00 dhcp,info server1 deassigned 192.168.21.51 from F0:DE:F1:0D:39:0F
07:24:46 interface,info ether2 link down
07:24:49 interface,info ether2 link up (speed 1000M, full duplex)
12:31:59 interface,info ether2 link down
12:32:00 interface,info ether2 link up (speed 10M, full duplex)
12:56:46 interface,info ether5 link down
12:56:48 interface,info ether5 link up (speed 100M, full duplex)
13:03:18 interface,info ether5 link down
13:03:20 interface,info ether5 link up (speed 100M, full duplex)
13:18:37 interface,info ether5 link down
13:18:38 interface,info ether5 link up (speed 100M, full duplex)
13:28:09 interface,info ether5 link down
13:28:11 interface,info ether5 link up (speed 100M, full duplex)
14:34:00 interface,info ether2 link down
14:34:03 interface,info ether2 link up (speed 1000M, full duplex)
00:20:59 interface,info ether2 link down
00:21:01 interface,info ether2 link up (speed 10M, full duplex)
11:02:15 interface,info ether2 link down
11:02:17 interface,info ether2 link up (speed 1000M, full duplex)
13:46:40 interface,info ether2 link down
13:46:42 interface,info ether2 link up (speed 10M, full duplex)
13:47:32 interface,info ether2 link down
14:06:46 interface,info ether2 link up (speed 100M, full duplex)
14:07:24 interface,info ether2 link down
14:07:27 interface,info ether2 link up (speed 1000M, full duplex)
14:08:03 interface,info ether2 link down
14:08:07 interface,info ether2 link up (speed 1000M, full duplex)
http://forum.mikrotik.com/viewtopic.php ... 80#p259480Downgrade procedure is quite simple:
1. Download the .fwf firmware file for corresponding product firmware from http://routerboard.com/index.php?showProduct=52.
Drag&drop this file into File Window from Winbox.
2. Reboot.
3. Last operations:
from terminal window:
/system routerboard print
and check the "update-firmware" to see if the downgrade version was "seen". If it is then you will put:
/system routerboard upgrade
which, in this case will do a "downgrade" firmware.
same topic.Do not downgrade the firmware to lower than the device released! Be careful! Downgrade only if you exactly know what will happen (for example device runs with this version before).
I took 4 new units in use this week, I updated to 5.6 but did not update the firmware. I'm putting them in production and will monitor them. If they don't have the port flap coming up in a week or so I will still update the firmware and see what happens then....I haven't found a proper firmware and thus I haven't reverted the RB750G firmware, yet.
Another variant of that port flip is reported here:
http://forum.mikrotik.com/viewtopic.php?f=7&t=54790
Good plan for the starters.I took 4 new units in use this week, I updated to 5.6 but did not update the firmware. I'm putting them in production and will monitor them. If they don't have the port flap coming up in a week or so I will still update the firmware and see what happens then....I haven't found a proper firmware and thus I haven't reverted the RB750G firmware, yet.
Another variant of that port flip is reported here:
http://forum.mikrotik.com/viewtopic.php?f=7&t=54790
Well, you might be true.I am begining to wonder if it is hardware related, you remember that I said the other day, that an AP appeared to freeze the other day, and that although I was unable to contact it over the wire, that the customers appeared unaffected.
And that was because, the AP had a second wlan interface (backhaul), so no data was physically leaving the router via its ethernet port. But within 5 mins I had customers complaining that they had lost internet, they were all connected via various AP's on the same tower, but their cables all went to a RB750, and all the traffic left the RB750 via port 2 to the backhaul within the AP mentioned above.
Rebooting all the routers by power cycling made no difference, however as soon as I physically touched the ethernet cable plugged up to port 2 on the RB750, everything sprang back into life.
I now believe that there may be a faulty batch of RJ45 connectors out there. The RJ45 connector has magnetics that are delicate and also sensitive to over-soldering, I know because I trashed one trying to remove it from the pcb, although it appeared intact, the heat had damaged the internal magnetics.
Maybe these are put in by hand and maybe on the assembly line there is a guy/gal who keeps the soldering iron on for too long. Maybe that is causing dry/oxidised joints within the RJ45 socket that appear to fail when there is temperature changes.
sep/11 03:02:10 interface,info ether4 link down
sep/11 03:02:10 interface,info ether5 link down
sep/11 03:02:13 interface,info ether5 link up (speed 100M, full duplex)
sep/11 03:02:14 interface,info ether1 link up (speed 1000M, full duplex)
sep/11 03:02:14 interface,info ether2 link up (speed 1000M, full duplex)
sep/11 03:02:14 interface,info ether3 link up (speed 1000M, full duplex)
sep/11 03:02:14 interface,info ether4 link up (speed 1000M, full duplex)
sep/11 09:28:16 interface,info ether3 link down
sep/11 09:28:19 interface,info ether3 link up (speed 1000M, full duplex)
sep/12 06:46:19 interface,info ether4 link down
sep/12 06:46:22 interface,info ether4 link up (speed 1000M, full duplex)
sep/12 06:46:50 route,ospf,info OSPFv2 neighbor 5.5.5.5: state change from Full to Down
sep/12 07:33:38 interface,info ether1 link down
sep/12 07:33:38 interface,info ether2 link down
sep/12 07:33:38 interface,info ether3 link down
sep/12 07:33:38 interface,info ether4 link down
sep/12 07:33:38 interface,info ether5 link down
sep/12 07:33:41 interface,info ether5 link up (speed 100M, full duplex)
sep/12 07:33:42 interface,info ether1 link up (speed 1000M, full duplex)
sep/12 07:33:42 interface,info ether2 link up (speed 1000M, full duplex)
sep/12 07:33:42 interface,info ether3 link up (speed 1000M, full duplex)
sep/12 07:33:42 interface,info ether4 link up (speed 1000M, full duplex)
sep/12 10:37:11 interface,info ether3 link down
sep/12 10:37:14 interface,info ether3 link up (speed 1000M, full duplex)
sep/12 18:56:49 interface,info ether1 link down
sep/12 18:56:49 interface,info ether2 link down
sep/12 18:56:49 interface,info ether3 link down
sep/12 18:56:49 interface,info ether4 link down
sep/12 18:56:49 interface,info ether5 link down
sep/12 18:56:51 interface,info ether5 link up (speed 100M, full duplex)
sep/12 18:56:52 interface,info ether1 link up (speed 1000M, full duplex)
sep/12 18:56:52 interface,info ether2 link up (speed 1000M, full duplex)
sep/12 18:56:52 interface,info ether3 link up (speed 1000M, full duplex)
sep/12 18:56:53 interface,info ether1 link down
sep/12 18:56:53 interface,info ether2 link down
sep/12 18:56:53 interface,info ether3 link down
sep/12 18:56:53 interface,info ether5 link down
sep/12 18:56:55 interface,info ether5 link up (speed 100M, full duplex)
sep/12 18:56:56 interface,info ether1 link up (speed 1000M, full duplex)
sep/12 18:56:56 interface,info ether2 link up (speed 1000M, full duplex)
sep/12 18:56:56 interface,info ether3 link up (speed 1000M, full duplex)
sep/12 18:56:56 interface,info ether4 link up (speed 1000M, full duplex)
07:21:35 interface,info ether1 link down
07:21:35 interface,info ether2 link down
07:21:35 interface,info ether3 link down
07:21:35 interface,info ether4 link down
07:21:35 interface,info ether5 link down
07:21:37 interface,info ether5 link up (speed 100M, full duplex)
07:21:38 interface,info ether2 link up (speed 1000M, full duplex)
07:21:38 interface,info ether3 link up (speed 1000M, full duplex)
07:21:38 interface,info ether4 link up (speed 1000M, full duplex)
07:21:39 interface,info ether2 link down
07:21:39 interface,info ether3 link down
07:21:39 interface,info ether4 link down
07:21:39 interface,info ether5 link down
07:21:41 interface,info ether5 link up (speed 100M, full duplex)
07:21:42 interface,info ether1 link up (speed 1000M, full duplex)
07:21:42 interface,info ether2 link up (speed 1000M, full duplex)
07:21:42 interface,info ether3 link up (speed 1000M, full duplex)
07:21:42 interface,info ether4 link up (speed 1000M, full duplex)
I have rb112's, 133c's, 532A's, 411's, 493AH, now the groove and the SXT. Every model has a port flap at times. Not ALL, but it is spread over all my units. 5% of my routers have it severe, 10% mild and some 30% occasional. But more than half never has the port flap issue. I don't know if the groove and the SXT as well as the older boards have switch chips but these units do have the issue.I doubt this is helpful, but just because: I have around 100 RB1100s installed, they all connect to Cisco switches. Most at 1000/full auto negotiated, some at 100/full auto negotiated (as limited by the switch on the other side).
I don't have any link flaps anywhere, ever.
Slightly odd use case, though: only ether1 and ether6 are used on any of those boards. All other ports are shut down (disabled) within RouterOS.
Could this have to do with the switch chips? At a quick glance through the thread the hardware models people are having issues on all have switch chips though I may have missed some posts.
On the other hand I don't have any issues on an RB750G at home either where all ports are in use - but none of them are switched, they're all routed.
I've had exactly the same problem with my central unit rb1000 a year ago. Running v.4.x versions. But here the ports just stopped sending traffic out. Incoming always stayed working. Only way to solve was power cycles.In my central unit (with a bunch of rb's interconnected to each other, including 2 rb1000's) the issue came up every so many days and was repaired by interconnecting all routerboards and housings to daisy chain earth connection. Problems disappeared since. The problem here was obviously either ESD or current ´leakage´ over the boards and the Ethernet connector.
At first I didn't understand, what's wrong, but when I looked at active connections I saw many connections to my SSH port (other than 22, I've changed it) from a suspicious address from internet. I set firewall to block it and the problem was solved.1. CPU going up to 80%
3. Mirkrotik Tools profile (management profile going up to 70%
Thank you Normis... (All RB493Ah, RB433AH, RB750, RB333 have Ros 5.6 and Old firmware and its work OK 100% ) I hope that on the 5.7 or 5.8 come with the all correction... BUT At the moment the flap problem its solved...thanks for the tip, zervan. others should also check if there are no attacks on your router at the time of the problem. high CPU usage is also suspicious. remember also that in v5.7 there is a DHCP server bug, where it causes high resource usage if it's on a disabled interface. this is fixed in v5.8
Well, YOUR flap problem is solved. But I still have it and probably many others. Its an issue in 5.4 to 5.7 minimum.(All RB493Ah, RB433AH, RB750, RB333 have Ros 5.6 and Old firmware and its work OK 100% ) I hope that on the 5.7 or 5.8 come with the all correction... BUT At the moment the flap problem its solved...
The bug is also present if DHCP relay is enabled on a disabled interface, the CPU goes to 100% tested on 411AH and SXT.thanks for the tip, zervan. others should also check if there are no attacks on your router at the time of the problem. high CPU usage is also suspicious. remember also that in v5.7 there is a DHCP server bug, where it causes high resource usage if it's on a disabled interface. this is fixed in v5.8
I think I have another case which would explain what happened this morning...The bug is also present if ...
/ip dns set allow-remote-requests=no
/ip dns set allow-remote-requests=yes
The DHCP 100% CPU issue is a bug in v5.7 only (fixed in 5.8) and has nothing to do with the port flapping issue.I think I have another case which would explain what happened this morning...The bug is also present if ...
I was messing about with VLANs on the home router (RB750). Added, removed and tried various things. In the course of this, a DHCP server was set up on a VLAN interface which was disabled.
Ever since then, CPU has been at 100%.
I have cleared the router out to the configuration it had before I started playing and the CPU is still at 100%.
Since then, the DNS server on the box has stopped responding a couple of times and needsto get it going again.Code: Select all/ip dns set allow-remote-requests=no /ip dns set allow-remote-requests=yes
Not good.
You may need to go back further than 2.26 (2.20 if your device supports it).The problem is on the firmware 2.29 come with some problem but I dont know what is exactly the problem but when you downgrade your FIRMWARE your Flap problem will be correct.
Really!!!!!!!!!!!!!!!!!! see attached paintshop image of RB750 that is running ros5.6 but deliberately not upgraded from firmware 2.26 to 2.29!!
Remember you the only way to correct the problem is report to Mikrotik and they will be correct the situation.
Really!!!!!!!!!!!!!!!! According to MT, Rudy is the only one with a port flap problem!
Well, MT never gave me this option. I "was the only one with the problem" anyway. Hence I started this topic to bring it back up on the agenda again. The issue is started with the first 5.0 and 5.1 packages. I don't know what firmware they had but basically ros5x came with an Ethernet status sensor and since the port flaps are around.The problem is on the firmware 2.29 come with some problem but I dont know what is exactly the problem but when you downgrade your FIRMWARE your Flap problem will be correct.
Comment:
When I note that I have a Flap problem was when I upgrade the RB493AH to ROS 5.6 and I upgrade the firmware to 2.29 on this moment my FLAP problem Start.- Well I request to Mikrotik the Firmware version special to RB493AH version 2.20 and I downgrade the problem was fix it.
I've had an issue with my RB750G - ether2 stopped to work at all. This was not the first time.
Configuration is:
- ether1 is master port of switch;
- ether2-4 are slave ports of switch;
- ether5 is independent interface.
In the morning I've resumed (from hibernation) my computer on ether2 and I didn't have connection. I've started Wireshark to see what's wrong - there was no single packet incoming (and it should be a lot of broadcast, there are dozens of computers on network). I was not able to ping router from ether2 as well.
I tried to restart my computer - didn't help. I tried to disconnect the cable and connect back - didn't help.
I tried to turn on my other computer on ether5 and it was working there. I looked at RB750G using WinBox to see what's wrong - everything seemed to be fine, but I was not able to ping (nor arp) computer on ether2. The ether2 port was running on 1 Gbps, so I tried to set 100 Mbps manually - didn't help. Then I set auto negotiation back - but it failed - strange. So I've left it on 100 Mbps and created supout file, witch is in attachment.
I tried to remove my computer from ether2 and connect it to ether3 - it was working fine there. I tried to connect other computer to ether2 - was not working.
It means: there was problem on ether2 only, obviously.
After all I rebooted RB750G and ether2 is working again.
I completely agree. I would imagine the same.Instead of a power supply use a lead-acid battery (car battery) for testing the port-flap issue.
Modern PSU might add high frequency garbage on the DC-power.
A lead acid battery delivers the best power you can get.
I could imagine, that the port-flap issue will be gone, if the routerboard is powered by a battery.
Have you tried disconnecting the charger and as suggested power the board from the battery only?I completely agree. I would imagine the same.Instead of a power supply use a lead-acid battery (car battery) for testing the port-flap issue.
Modern PSU might add high frequency garbage on the DC-power.
A lead acid battery delivers the best power you can get.
I could imagine, that the port-flap issue will be gone, if the routerboard is powered by a battery.
Sad thing is only that this specific board already is powered by a big bank of batteries (400AH!). Since they are continuously charged the voltage at the boards is higher than the 12V nominal of the batteries so that should be ok then.
....
I have used a lot of those and no problems.If someone using this type of POE so it causes a lot of problems (down and up)
http://www.i4wifi.eu/passive-poe-injector_d1392.html
So you want to say that update or something else don;'t give anything results? Only need to change the Mikrotik to another model?We found one issue in our whole network with port flapping in the log file, when we inspected the situation, we found that it was caused by an old Planet switch. We replaced it with RB2011 in switch mode, and it works great since.
If you have port flapping issue - make sure you try to replace the involved devices, cables and switches. It could be caused by hardware fault, or if the device is old - maybe it was improved in a later revision. For example if you have it on RB450G, check when you bought it, and try a different one (newer) if you can.
I changed cables 3 timesI am saying that most likely your problem is caused by cables or bad switch!
Dear MT: You have seen that given issue happening on your network with your equipment - we around the world are not seeing visions after all! Despite the sentiment of your comment I sure hope you are not dismissing it as not being an issue with the ROS, because other equipment are not affected by that given problem, but Mikrotik equipment are. Even if it is cable, PoE, other vendor equipment induced issue the fact is the ROS powered ones are having real issues dealing these conditions triggering port flipping. I sure hope you will set up an laboratory experiment around your Planet switch and try to analyze what conditions are making ROS to drop and flip connections. After all that good work we see finally the ROS emerge that start to tolerate these conditions.We found one issue in our whole network with port flapping in the log file, when we inspected the situation, we found that it was caused by an old Planet switch. We replaced it with RB2011 in switch mode, and it works great since.
If you have port flapping issue - make sure you try to replace the involved devices, cables and switches. It could be caused by hardware fault, or if the device is old - maybe it was improved in a later revision. For example if you have it on RB450G, check when you bought it, and try a different one (newer) if you can.
Logging is a good thing for starters, so at least some portion of error detecting it is there already, but there is a need for some additional research into the reason why it is happening. MT customers are hardly qualified enough to figure it out what incompatibility is causing MT gear to stop working. I still believe that qualification is in MT, but somehow MT does not take that issue seriously enough.RouterOS is very good at logging things, it simply informs you of more things than some other equipment. In my described situation, the same issues happened with any other device, including PCs, so was not a MikroTik only problem - it was caused by a physically broken switch!
That long loss of connection is just a few such ones I experienced. Usually these connectionless gaps are between 10...15 seconds. I haven't checked if these all are reporting as interface being down, but I strongly suspect that.Anyway, you also report that the port flap really means a disconnect of the physical line.
On the other hand, your disconnect last a very long time. Where all my port flaps usually happen within the same second or the port comes back within 2-3 secs at worst.
(All according my log. Imho it makes me even more think it is merely a reporting issue than a ´real´ issue. See my first porst.)
Edit:
Snippet from the log:Code: Select all11:43:45 interface,info ether1 link down 11:43:55 interface,info ether1 link up (speed 1000M, full duplex) 11:46:19 interface,info ether1 link down 11:46:21 interface,info ether1 link up (speed 10M, full duplex) 11:46:27 interface,info ether1 link down 11:46:31 interface,info ether1 link up (speed 1000M, full duplex) 11:47:23 interface,info ether1 link down 11:47:24 interface,info ether1 link up (speed 10M, full duplex) 11:47:25 interface,info ether1 link down 11:47:28 interface,info ether1 link up (speed 1000M, full duplex) 11:47:49 interface,info ether1 link down 11:47:52 interface,info ether1 link up (speed 1000M, full duplex) 19:14:46 interface,info ether1 link down 19:14:47 interface,info ether1 link up (speed 10M, full duplex)
I expect it is an open invitation for all affected parties to contribute, but I'll see if I found something what classifies to your requirements. At the same time I hope that Planet switch you found, its surrounding cables, connected MT equipment and all the rest is already going through investigation and just not thrown away instead.We need as much information as possible, if you can, send us all the equipment where you see this issue constantly, including the cable and the switch. If you can get a simple system where this is happening, say - two routers and a switch in between - you could send it to us, so we can turn it on, see the issue, and start debugging it. Email support if you are willing to arrange this.
I was thinking about this and I will try to do it on one place (other one is problematic). At least I will know if the problem is on site of SXT (as I think) or other RB. I don't like to use unnecessary devices, but if it will help...Once for test just fit a netgear switch in between. Port flap completely disappeared. Not a single flap in weeks. Removed it again and the flaps where just back....
Same results. After putting a switch as an intermediate device between Omnitik and Groove port flapping resolved.well, that's indeed another example. I have a rb344 where one port is connected by a 60meters cable to a netgear wifi router. Several disconnects a day, at times many per hour.
Once for test just fit a netgear switch in between. Port flap completely disappeared. Not a single flap in weeks. Removed it again and the flaps where just back....
What are power supply specs?Hello MT team.
We have problem with Mikrotik (rb411 and rb711) + ASUS router.
Power for routerboard is 18V 0,7AWhat are power supply specs?Hello MT team.
We have problem with Mikrotik (rb411 and rb711) + ASUS router.
Does it happen without PoE injector?
Hello. It is easily reproducible. Try this POE from manufacturer C&CC http://www.i4wifi.eu/EU-230V-powering-1 ... hparam=poehonzam, I have done various tests with RB411 but I was not able to repeat port flapping.
Try to use shielded cable and PoE injector with metal shields around connectors. At least 2m cable should be used for PoE connection.
Could you please contact support directly, we would like to get from you 1:1 exact setup, including the cables and injectors.Hello. It is easily reproducible. Try this POE from manufacturer C&CC http://www.i4wifi.eu/EU-230V-powering-1 ... hparam=poehonzam, I have done various tests with RB411 but I was not able to repeat port flapping.
Try to use shielded cable and PoE injector with metal shields around connectors. At least 2m cable should be used for PoE connection.
and one from this ASUS http://www.asus.com/Networks/Wireless_Routers/RTN12LX/
http://www.asus.com/Networks/Wireless_Routers/RTN10E/
then it conect to rb411 or rb711. You can use any long UTP cable and the port will be flapping
Yes, this is true. With these POE is no problem with ASUS and WELL routers.When we used shielded PoE-Injectors like these, the port flapping went away.
Can you replicate the same situation on your desk, with just two routers? If yes, we would be interested in getting such demo setup from you, contact support please. If not, maybe there is something in your tower site that causes this?Nomis..
That Tower site I have that I told you about, I have a row of RB411AH, they are all powered by 1 commercial supply with battery backup, ALL units use the power plug and NO poe adaptor in site.
So I wouldn't pay much attention to the claims made about poe adaptors. I still have the "port flap" between MT units without poe's.
Yes, they all use PoE injectors. And No, they are not only the MT ones. The ones of UBNT or the new ones delivered with the grooves etc. also have the issue.WirelessRudy, Are you using PoE injectors? Try other ones and see if this changes something.
add action=remote disabled=no prefix="" topics=interface
Interesting - from my point of view it happens mostly during sunny days, no matter what the temperature is. I don't have a disconnection for about a week - it is still cloudy and raining these days here.I already informed in this forum months ago that 90% of ALL my port flaps happen during daytime hours. Over night it is a very rare event.
Pattern!!Interesting - from my point of view it happens mostly during sunny days, no matter what the temperature is. I don't have a disconnection for about a week - it is still cloudy and raining these days here.I already informed in this forum months ago that 90% of ALL my port flaps happen during daytime hours. Over night it is a very rare event.
I amafraid that nothing will happen too soon. I've implemented multiple links and OSPF on affected systems, at the moment I can cope with that issue.We need a solution of port flapping , this problem is getting all my investments down. All day long i stay at my computer and looking for the port to flapp or 10Mbps . I'm stressed . A fast soluttion PLEASE
Before, with Cisco no problem?
My precedent post is about issue with Cisco.Before, with Cisco no problem?
Have you set "/system logging" on for the topic "interface"? Its not by default and if not you will see no notification of the port flap.Not affecting me anywhere, but will put in my input as it may help.
All my AP's and backhauls are RB411AH or RB433AH. (about 50 total) Running UTP cable from POE-24i or directly from battery to variety of dumb switches, trendnet, cisco, maybe even a d-link.
Routes are all static. No RIP or OSPF.
Clients are a variety of RB411, Ubuquiti Bullets, Tranzeo, and smartBridge(omg).
ROS versions range from 3.28 to 5.18
No, I didn't.Have you set "/system logging" on for the topic "interface"? Its not by default and if not you will see no notification of the port flap.
The issue is that on older ROS versions this 'port flap' never existed. Even if the software was not able to detect it, such kind of problem started to arise after version 4.xx software.I didnt read 100% of this thread but do you guys protect the port from interference on the frequencies Ethernet and GigabitEthernet operate on?
I would not expect stable behaviour unless shielded cable is used (may not be grounded I think not to create a path for any lightning) as well as the board itself in a metal box that is grounded...
On towers people use fiber as best practice.
What devices, what routerOS? What type of cable and lenght?Hi all.
No news for this issue?
I have serious trouble with it.
?topic is exhausted - replace things
I agree.?topic is exhausted - replace things
That's actually a good suggestion! Never thought about that. All I did is run a standard 1sec ping and watch the log. But like I said, it hasn't had my attention lately.OK sounds good.
There may be packet-loss when it happens, are you testing by pinging with a fast ping (decreased "timeout" value) ?
So the SXT, 411, omnitik, and TP-Link is at the top of the tower? How long is the cable between the omnitik and the TP-Link?so we have an idea, replacing the omnitik switching ports with a TP-Link switch, i saw the port flapping stoped from the omnitik to the switch (100M connection link),
On a commercial broadcast tower, every ethernet cable needs to be shielded, the shield grounded, and of a length which is not a harmonic of the broadcast frequency. You are likely dealing with induced RF on the ethernet cables. Ferrite beads on the ethernet cables might be helpful. There is a school of thought which says you only want to ground the shield at one end to avoid creating a ground loop. But that may only apply on long runs. Getting ethernet right on a broadcast tower can be challenging.the problem was on the SXT and the 411, they still are doing port flapping :/ (Tested with ping), so tomorrow we are trying to change the UTP cable used to connect the omnitik to the SXT and the 411 with an STP certificated cable, the only variable that i couldnt simulate on the office was maybe the noise from the other cables (Feeders) from FM and AM equipments on the tower, or any AC cable that its generating a electromagnetic field affecting the UTP.
About the lenght of the switch to the 411 and SXT are 2 meters, to the omnitik is 1 meter.So the SXT, 411, omnitik, and TP-Link is at the top of the tower? How long is the cable between the omnitik and the TP-Link?so we have an idea, replacing the omnitik switching ports with a TP-Link switch, i saw the port flapping stoped from the omnitik to the switch (100M connection link),
On a commercial broadcast tower, every ethernet cable needs to be shielded, the shield grounded, and of a length which is not a harmonic of the broadcast frequency. You are likely dealing with induced RF on the ethernet cables. Ferrite beads on the ethernet cables might be helpful. There is a school of thought which says you only want to ground the shield at one end to avoid creating a ground loop. But that may only apply on long runs. Getting ethernet right on a broadcast tower can be challenging.the problem was on the SXT and the 411, they still are doing port flapping :/ (Tested with ping), so tomorrow we are trying to change the UTP cable used to connect the omnitik to the SXT and the 411 with an STP certificated cable, the only variable that i couldnt simulate on the office was maybe the noise from the other cables (Feeders) from FM and AM equipments on the tower, or any AC cable that its generating a electromagnetic field affecting the UTP.
Some notes/conclusions regarding port flapping experience. By all means networks and other implementations have their own peculiarities but let me quote on what noticed here so far:
a) Port flapping is very annoying and cause ospf states changing between neighbors whenever occurs, affecting network traffic.
b) Many devices tested so far, RB750, RB751, RB450G, RB1100AH, RB433, RB433AH, RB711, SXT, SXT HP, Sextant, Omnitik & Groove.
Problem occurs only for Omnitik & Groove devices or to any other device connected to them.
i.e. Individual 433 (connected to any other device) never faces any problem but 433 with a connected groove or omnitik suffers from port flapping.
c) It's no matter of elder devices or capacitors. Even a brand new 433 connected to a groove produce port flapping.
Lately had a significant progress after replacing a plain utp cable connecting a RB433UAH to Groove with shielded FTP.
With the old utp cable port flapping occurred at least once per day and for an interval of 1-2 hours (complete mesh).
Now after cable replacement followed by the appropriate grounding port flapping has been disappeared for a month now!
OK, I know many will claim that even they have already changed plain utp with shielded, they still face the problem.
In my case worked.
BUT! I cross fingers to do so, because port flapping occurred unexpectedly 8 months after this new implementation was fresh installed.
I believe it's quite early to have a settled conclusion.
Finally for omnitik, a good technique which produced great results is to isolate eth1 poe port just used for supplying power to the device, whilst data passed from any other none poe port.
I see this issue daily and it is affecting my network. Only time will tell if the MT will address that (to their non-existent) issue. One way is to migrate away from the MT-MT equipment combinations and have the MT-other_vendor-MT setup instead, but it is just an hack - the fixing must be done at the MT side.I have same problem here 4 rbs in production any cables with a maximum of 2 meters, power supply 24v 1 amp each, all in straight power connector DC, and yet several link down link up during the day and night. rbs two 750, one 450 and one rb rb 450g anbos with the same problem .. : (Any solution?? :/
Try different computer and then try to RMA it, if you are unable to trade these directly to the Mikrotik itself. Maybe they are interested in these.Sorry to raise an old thread but I just received a couple of RB's.
On of the is a RB951G-2Hnd.
The ports connected to my computers are constantly flapping
The log on the RouterBoard is full of link up, link down entries.
I'm running ROS 6.2 with the latest Routerboot firmware (3.08)
Are there some tips to try to solve this?
UPDATE:
One of the other RB's I've just received is a RB750GL, which is acting exactly the same.
My computer connected interfaces go down, sometimes multiple times a minute!
I will investigate my problem further, together with the 951 and 750GL I also ordered a 750UP. First gonna check whether this one also has this phenomenon.Try different computer and then try to RMA it, if you are unable to trade these directly to the Mikrotik itself. Maybe they are interested in these.Sorry to raise an old thread but I just received a couple of RB's.
On of the is a RB951G-2Hnd.
The ports connected to my computers are constantly flapping
The log on the RouterBoard is full of link up, link down entries.
I'm running ROS 6.2 with the latest Routerboot firmware (3.08)
Are there some tips to try to solve this?
UPDATE:
One of the other RB's I've just received is a RB750GL, which is acting exactly the same.
My computer connected interfaces go down, sometimes multiple times a minute!
Other than using good STP with proper grounding, and good quality power... there isn't anything you can do since Mikrotik basically refuses to acknowledge this issue. Personally, what I do is this: For anything that goes in a noisy location, outside, etc... I use a brand of product that starts with the letter U. For routers and firewalls inside / cores / etc, there I use Mikrorik.The preponderance of evidence is that there is something seriously wrong with the Ethernet ports of Routerboard products. The problem seems to have started around 2011. All you have to do is look at how many users reports here the exact same symptoms. I have seen no effort to address this issue over the last two years and the problem has become an embarrassment and time consuming nightmare to every integrator and service provider who uses Routerboard products.
All I am asking MT to do is provide guidance on how to avoid this problem. My list of questions was intended to provide some drection for them to follow. What is the best practice to avoid ethernet flapping?
That is not a valid argument at all. Maybe you should remove that functionality then to have feature parity with other manufacturers, because currently the issue is with the MT gear and it will force (some of?) your customers to go elsewhere.As stated previously in this topic, to this date, we have not seen this issue in our tests, and have not been able to repeat it. Conditions like described, could arise from devices connected to the ports, cables, or other circumstances. The fact that since a specific version, RouterOS reports detailed ethernet statistics, compared to other devices, doesn't mean that only RouterOS gets Ethernet status changes. It means that only RouterOS reports them in the logs.
As with port flap, nv2 latency and jitter, tcp throughput, seems to be things that mikrotik not of much importance, we can only look for other solutions.That is not a valid argument at all. Maybe you should remove that functionality then to have feature parity with other manufacturers, because currently the issue is with the MT gear and it will force (some of?) your customers to go elsewhere.As stated previously in this topic, to this date, we have not seen this issue in our tests, and have not been able to repeat it. Conditions like described, could arise from devices connected to the ports, cables, or other circumstances. The fact that since a specific version, RouterOS reports detailed ethernet statistics, compared to other devices, doesn't mean that only RouterOS gets Ethernet status changes. It means that only RouterOS reports them in the logs.
Also, that is not just a reporting issue, but the device will act to that message as well - for example the OSPF will start changing routes etc.
I have a port flap issue between OmniTIK and an Apple Time Capsule (100 MBit/s full-duplex), the time between port down and port up is usually around 3 seconds and there's no network connection during this time!It means that only RouterOS reports them in the logs.
KurtkrautI'd like to kindly request to our community two things:
1) Would anyone mind to demonstrate and reproduce steadly this symptom in a lab bench while recording a video, making visible the devices being used, the cables and conectors being used, the problem occurring and also demonstrating the same cable works fine with other devices?
2) Many people state this problem is making their devices unusuable. So could they send it to Mikrotik so they can reproduce the problem in their lab and share with this community the outcome of this process?
I think this two efforts (that doesn't need to be made by the same person) would help us a lot to get this problem correctly acknowledge and addressed by Mikrotik.
time=10:37:22 topics=interface,info message="DESKTOP link down"
time=10:37:23 topics=interface,info message="DESKTOP link up (speed 10M, full duplex)"
time=10:37:25 topics=interface,info message="DESKTOP link down"
time=10:37:27 topics=interface,info message="DESKTOP link up (speed 10M, full duplex)"
time=10:37:32 topics=interface,info message="DESKTOP link down"
time=10:37:34 topics=interface,info message="DESKTOP link up (speed 100M, full duplex)"
time=11:22:49 topics=interface,info message="NAS link down"
time=11:22:49 topics=interface,info message="DESKTOP link down"
time=11:22:49 topics=interface,info message="ANYA link down"
time=11:22:51 topics=interface,info message="NAS link up (speed 100M, full duplex)"
time=11:22:51 topics=interface,info message="DESKTOP link up (speed 100M, full duplex)"
time=11:22:51 topics=interface,info message="ANYA link up (speed 100M, full duplex)"
time=11:59:26 topics=interface,info message="NAS link down"
time=11:59:26 topics=interface,info message="DESKTOP link down"
time=11:59:26 topics=interface,info message="ANYA link down"
time=11:59:28 topics=interface,info message="NAS link up (speed 100M, full duplex)"
time=11:59:28 topics=interface,info message="ANYA link up (speed 100M, full duplex)"
time=11:59:29 topics=interface,info message="DESKTOP link up (speed 100M, full duplex)"
time=13:04:42 topics=interface,info message="ANYA link down"
time=13:04:44 topics=interface,info message="ANYA link up (speed 100M, full duplex)"
time=13:08:24 topics=interface,info message="NAS link down"
time=13:08:24 topics=interface,info message="DESKTOP link down"
time=13:08:24 topics=interface,info message="ANYA link down"
time=13:08:26 topics=interface,info message="NAS link up (speed 100M, full duplex)"
time=13:08:26 topics=interface,info message="DESKTOP link up (speed 100M, full duplex)"
time=13:08:26 topics=interface,info message="ANYA link up (speed 100M, full duplex)"
time=13:08:57 topics=interface,info message="NAS link down"
time=13:08:57 topics=interface,info message="DESKTOP link down"
time=13:08:57 topics=interface,info message="ANYA link down"
time=13:08:59 topics=interface,info message="NAS link up (speed 100M, full duplex)"
time=13:08:59 topics=interface,info message="DESKTOP link up (speed 100M, full duplex)"
time=13:08:59 topics=interface,info message="ANYA link up (speed 100M, full duplex)"
[admin@HOME] > interface ethernet print detail
Flags: X - disabled, R - running, S - slave
0 RS ;;; ether4-slave
name="ANYA" default-name="ether4" mtu=1500 l2mtu=1598 mac-address=00:0C:42:E4:8A:BD orig-mac-address=00:0C:42:E4:8A:BD arp=enabled auto-negotiation=yes full-duplex=yes speed=100Mbps master-port=NAS bandwidth=unlimited/unlimited
switch=switch1 poe-out=auto-on poe-priority=10
1 RS ;;; ether3-slave
name="DESKTOP" default-name="ether3" mtu=1500 l2mtu=1598 mac-address=00:0C:42:E4:8A:BC orig-mac-address=00:0C:42:E4:8A:BC arp=enabled auto-negotiation=yes full-duplex=yes speed=100Mbps master-port=NAS
bandwidth=unlimited/unlimited switch=switch1 poe-out=auto-on poe-priority=10
2 RS ;;; ether2-master-bridged
name="NAS" default-name="ether2" mtu=1500 l2mtu=1598 mac-address=00:0C:42:E4:8A:BB orig-mac-address=00:0C:42:E4:8A:BB arp=enabled auto-negotiation=yes full-duplex=yes speed=100Mbps master-port=none bandwidth=unlimited/unlimited
switch=switch1 poe-out=auto-on poe-priority=10
3 S ;;; ether5-slave
name="TEMP" default-name="ether5" mtu=1500 l2mtu=1598 mac-address=00:0C:42:E4:8A:BE orig-mac-address=00:0C:42:E4:8A:BE arp=enabled auto-negotiation=yes full-duplex=yes speed=100Mbps master-port=NAS bandwidth=unlimited/unlimited
switch=switch1 poe-out=auto-on poe-priority=10
4 R ;;; ether1 (MAC cloned to IBMT42 (DIGI Cable))
name="WAN" default-name="ether1" mtu=1500 l2mtu=1600 mac-address=00:11:25:D2:B7:D8 orig-mac-address=00:0C:42:E4:8A:BA arp=enabled auto-negotiation=yes full-duplex=yes speed=100Mbps poe-out=auto-on poe-priority=10
15:09:28 interface,info NAS link down
15:09:28 interface,info DESKTOP link down
15:09:28 interface,info ANYA link down
15:09:30 interface,info NAS link up (speed 10M, half duplex)
15:09:30 interface,info DESKTOP link up (speed 100M, full duplex)
15:09:30 interface,info ANYA link up (speed 100M, full duplex)
15:09:50 interface,info NAS link down
15:09:50 interface,info DESKTOP link down
15:09:50 interface,info ANYA link down
15:09:52 interface,info NAS link up (speed 100M, full duplex)
15:09:52 interface,info DESKTOP link up (speed 100M, full duplex)
15:09:52 interface,info ANYA link up (speed 100M, full duplex)
10:31:47 system,info,account user admin logged in from 192.168.0.199 via telnet
10:33:41 system,info,account user admin logged out from 192.168.0.199 via telnet
10:34:08 system,info,account user admin logged in via winbox
10:38:09 system,info filter rule moved by admin
10:38:11 system,info filter rule moved by admin
10:38:21 system,info filter rule moved by admin
10:39:10 system,info,account user admin logged out via winbox
10:48:03 interface,info ANYA link up (speed 10M, full duplex)
10:48:30 interface,info ANYA link down
10:48:32 interface,info ANYA link up (speed 10M, full duplex)
12:08:32 interface,info NAS link down
12:08:32 interface,info DESKTOP link down
12:08:32 interface,info ANYA link down
12:08:33 interface,info ANYA link up (speed 10M, full duplex)
12:08:35 interface,info NAS link up (speed 100M, full duplex)
12:08:35 interface,info DESKTOP link up (speed 100M, full duplex)
12:08:41 interface,info NAS link down
12:08:41 interface,info DESKTOP link down
12:08:41 interface,info ANYA link down
12:08:42 interface,info ANYA link up (speed 10M, full duplex)
12:08:43 interface,info NAS link up (speed 100M, full duplex)
12:08:43 interface,info DESKTOP link up (speed 100M, full duplex)
12:09:15 interface,info ANYA link down
12:09:47 system,info,account user admin logged in via winbox
I had originally posted the text below in its own thread, then i found this thread so i am moving the post. The WISP I work for has been in business for 10 years and has had no documented cases of port flapping when using Mikrotik Routers with Motorola or UBNT devices. Up until this point any ethernet issues was resolved by finding issues with cabling or just damaged equipment. I am going to attempt to find what is causing this issue on this tower. I will make another post below this one with an out line of my plans moving forward.