Page 1 of 1

Link down detection on bonding

Posted: Wed May 18, 2016 11:11 am
by rste
I have two airfibers connected to the ws-12-dc which have their own vlan and are connected to a ubnt edgerouter(Same as the example in the datasheet of the ws-12-dc).

I bonded both outputs on the edgerouter. The problem i have, is that the edgerouter only disables a output in the bonding if there is no link detected. Because of the ws switch which is build in between the airfiber and the router, the link is always on for the router -> The router sends packets through the defective link.
Has anyone a idea how to fix this issue?

Re: Link down detection on bonding

Posted: Wed May 18, 2016 11:21 am
by sirhc
If your talking about bonding ports I assume you are referring to LACP or STATIC LAG?

Also be aware there is a BUG in the UBNT AF firmware which you should disable Flow Control on the AF radio or the switch ports connected to the AF radio. UBNT said they will release a fix soon.

If your not aware of the bug you should read up on it.
http://community.ubnt.com/t5/airFiber-B ... true#M3756

viewtopic.php?f=17&t=1654

http://community.ubnt.com/t5/airFiber/P ... rue#M28857

Now if you setup LACP or STATIC LAG in the router you need to either also set it up in the switch or the far side of the link depending on how your setup is. And if your only using the switch as a mid-span injector this probably will not work as the switch will not pass the needed BPDU packets through to the other side.

You may want to do the LAG between switches on each side and not do it in the router. You have to understand more about how LAGs work and how BPDU packets are handled by switches as they are not passed through.

Re: Link down detection on bonding

Posted: Wed May 18, 2016 2:30 pm
by lligetfa
I gather that the WS is essentially a midspan, so 1 port to the AF and the other port to the router. I think there was talk a while back of possibly adding a "port X follow port Y" feature whereby if link drops on the AF side, the other port would follow it and also drop link.

Chris, do you recall that conversation or did I dream it?

Re: Link down detection on bonding

Posted: Wed May 18, 2016 3:50 pm
by sirhc
Yea, now I am getting it I think.

And yes I remember that conversation, did we do anything with it, no not yet.

After we get v1.4.0 FINAL I will consider adding it to the list for v1.4.X

Re: Link down detection on bonding

Posted: Thu May 19, 2016 4:25 am
by rste
Okay, so do you know when this FW update will come?
And does anyknow know another Solution for this?
Something which the EdgeRouter can do? Maybe another detection Method for down links?