Community discussions

MikroTik App
 
User avatar
thavinci
Member
Member
Topic Author
Posts: 335
Joined: Sat Aug 04, 2007 4:40 pm
Location: Johannessburg
Contact:

Bonding 802.3ad with vlans packet loss

Wed Mar 01, 2017 7:44 pm

We have recently experienced a situation where 4x 1gb nics in a 802.3ad bonded setup to a cisco backend with vlans defined on top of bonded interface results in 3-4% packet loss.
The setup is a single LACP trunk and our vlans defined on the Mikrotik x86 6.38.3.

We see this loss to local networks and we have not been able to get any guidance from support yet as to what can be the cause.
Our ISP has assured us everything is healthy from the cisco perspective and they see NO errors on any of the interfaces. (and neither do I)

I have tried removing interface by interface and swopping them around yet the result is always the same. At this point im suspecting issues with the MT OS itself.

ALL nics used in the bonded setup are Broadcom NX2 Ethernet based.
PLoss.PNG
You do not have the required permissions to view the files attached to this post.
 
User avatar
FlavioCamacho
Trainer
Trainer
Posts: 33
Joined: Tue Jun 24, 2014 7:39 am
Location: Rio de Janeiro - Brasil
Contact:

Re: Bonding 802.3ad with vlans packet loss

Wed Mar 01, 2017 8:01 pm

This problem was known and solved in version 6.38rc52

What's new in 6.38rc52 (2016-Dec-21 10:44):

*) Bonding - fixed "tx-drop" on VLAN over bonding on x86;
 
User avatar
thavinci
Member
Member
Topic Author
Posts: 335
Joined: Sat Aug 04, 2007 4:40 pm
Location: Johannessburg
Contact:

Re: Bonding 802.3ad with vlans packet loss

Thu Mar 02, 2017 11:20 am

Judas Priest, this caused allot of headache on my side! Any idea when will be part of the main branch?
 
bbs2web
Member Candidate
Member Candidate
Posts: 232
Joined: Sun Apr 22, 2012 6:25 pm
Location: Johannesburg, South Africa
Contact:

Re: Bonding 802.3ad with vlans packet loss

Fri Mar 03, 2017 1:00 am

How could a 6.38 release candidate from 2016 fix his problem on 6.38.3?

We have noticed packet loss on aggregate traffic levels above 1Gbps on x86 and Tile since 6.38. Mikrotik support have been provided supout files and other information with ZERO feedback so we've reverted to 6.37.4 (bugfix channel).

We always run VLANs on bond interfaces, some bonds are 802.3ad (Mikrotik should really rename this to IEEE 802.1AX) but most are active/backup bonds with predictable primaries to reduce unnecessary switch backplane overhead between redundant switching stacks (especially on 10Gbps).
 
User avatar
thavinci
Member
Member
Topic Author
Posts: 335
Joined: Sat Aug 04, 2007 4:40 pm
Location: Johannessburg
Contact:

Re: Bonding 802.3ad with vlans packet loss

Mon Mar 06, 2017 4:44 pm

Yup, it seems the RC doesn't fix the issue unfortunately.

Official response was:

"No, it is not known issue. If there is an actual problem, then we need to reproduce it first and only then we can try to fix it."
 
User avatar
thavinci
Member
Member
Topic Author
Posts: 335
Joined: Sat Aug 04, 2007 4:40 pm
Location: Johannessburg
Contact:

Re: Bonding 802.3ad with vlans packet loss

Tue Mar 07, 2017 9:20 pm

I have now tried he "bugfix only" channel now as-well with the same results...

Interestingly enough i found this article:

viewtopic.php?t=104623

Which seems to indicate there is a problem with RouterOS with the Intel 82571EB NICS which is exactly what I use.....
 
User avatar
thavinci
Member
Member
Topic Author
Posts: 335
Joined: Sat Aug 04, 2007 4:40 pm
Location: Johannessburg
Contact:

Re: Bonding 802.3ad with vlans packet loss

Wed Mar 08, 2017 11:53 am

Tried to test the theory with these cards and tried a nx3031 HP card. Unfortunately this is not supported, picks up within the resources/pci section but no driver as the ports are not available...
 
DiogoT
just joined
Posts: 19
Joined: Tue Feb 21, 2017 7:31 pm

Re: Bonding 802.3ad with vlans packet loss

Wed Mar 08, 2017 12:28 pm

Hello,
I simulated a topology with bonding in 'active backup' mode using ARP and concludes that it lost 15% of packets while pinging.

My toppic: viewtopic.php?f=2&t=119298
 
User avatar
thavinci
Member
Member
Topic Author
Posts: 335
Joined: Sat Aug 04, 2007 4:40 pm
Location: Johannessburg
Contact:

Re: Bonding 802.3ad with vlans packet loss

Mon Mar 13, 2017 2:06 pm

I think we have finally managed to locate the source of the issue.
In this machine we had 4x dual port cards which was picked up as Intel 82571EB cards and these were the cards in use.
We finally found out that the system also got progressively worse as more traffic flowed through it with loss being 0-1% with minimum traffic. (I’d say up to the 40-50M mark) after that it increased to the 3-4% mark anything above that threshold with some hosts going as high as 11%.
What I did also notice is with the dual port cards if I disabled the cards ports and re-enabled it seems the one port will also start flapping going up and down repeatedly until the entire system was rebooted. (I tested this result with the other cards to exclude a faulty card and the results was the same.)

This is a sample during one of the tests:
PigSpotter_Forum.PNG
This lead me to try bonding only the two onboard cards namely the BCM5708 cards and all the issues went away!!!! It seems the problem is indeed as you suspected the drivers used for the Intel 82571EB cards!!!

Here is a snip of the cards in the system at this point in time. (I have swopped the one dual port 82571EB card with a single port 82574L to see if its maybe an issue with certain revisions??? , but have yet to test)
FireANT.PNG
I also obtained another 4 port card but this would seem is not compatible?
4port_frikkie_card.PNG

Could you perhaps let me know if there are known issues like this with certain revisions of these cards and which ones I should avoid.
You mentioned many an issue will be resolved hopefully with version 7 of the OS but after much research it seems everyone is waiting desperately for it for years?
You do not have the required permissions to view the files attached to this post.
 
User avatar
thavinci
Member
Member
Topic Author
Posts: 335
Joined: Sat Aug 04, 2007 4:40 pm
Location: Johannessburg
Contact:

Re: Bonding 802.3ad with vlans packet loss

Mon Mar 13, 2017 2:07 pm

The Above was part of the support mail i sent, and the response was , yes its likely a driver issue. Should be resolved in v7..... NO eta on v7 :<:<
 
User avatar
thavinci
Member
Member
Topic Author
Posts: 335
Joined: Sat Aug 04, 2007 4:40 pm
Location: Johannessburg
Contact:

Re: Bonding 802.3ad with vlans packet loss

Wed Mar 15, 2017 1:42 pm

This is getting ridiculous now, even simply disabling the cards caused the entire router to crash...
x86_Crash.PNG
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: eworm, Google [Bot], mfischer and 119 guests