One LAGG interface lost connection
-
Hello everyone,
I recently got a Netgate 8200 and have created a lagg0 interface using the physical ports ix0 and ix1.
Initially both interfaces showed up as connected but after a while I noticed one interface lost connection.
First I thought it might be a cable issue, so I replaced the DAC cable with another one but so far with no success. Multiple times unplugging/replugging did not work as well.The switch is a Ubiquiti USW-Pro-Aggregation unit with the latest firmware applied, at the time of writing that is 7.0.50.
My Netgate 8200 is running 24.03-release.Is there something special to do in order to make this work with that Unifi switch?
Cheers,
toskium -
@toskium I suppose you need to set the Unifi Switch with LAGG interfaces as well, if you haven't done that already? The switch would otherwise detect a loopback, wouldn't it, and thus kill one of the ports...
-
@Gblenn thank you for your reply. Unfortunately I am aware of that. The aggregation switch has both physically connected ports configured as "Aggregate" which is Ubiquiti-speak for LACP.
As I mentioned: it did initially work and since no config change happened I am especially confused.
-
@toskium Ah, well I guess that would have been to easy...
I found this video from Lawrence systems, involving slightly different devices, but at least it's pfsense and unifi...
Perhaps you can find some clues there?
Youtube Video -
@Gblenn yes, according to Lawrence systems that should work exactly like that. The only real difference I am having is that I am using the sfp+ ports and not just regular ethernet ports.
I am wondering if the DAC cables may be the source of the issue. I am using the same OEM dac cables on all other 10gbit equipment where they work fine, even on the same switch.
-
@toskium Might be worth testing with Unifi DAC's, which are not that expensive...
Otherwise, perhaps try setting it up on ix2/3 or the igc ports if you have RJ45 modules for the Unifi? Or try setting link speed to 1G as a test...
I just read that Unifi requires the ports to be sequential for LAG, but I suppose it wouldn't allow the function to be turned on from the UI if they weren't?
-
@toskium
Have you tried swapping out cables? This can simply be a physical layer issue. Its been a minute since I've done LAGs on pfsense but i believe you should be able to see LACPDUs being sent/received ? If so can you post that? -
@Gblenn unfortunately ix2/3 is used up by two combo ports for the multiwan uplink, so I can't use them for the lagg0.
The configured ports on the Unify switch are 15 and 16, yes they need to be configured as a sequential range in the Unifi controller.
@michmoor I swapped different oem cables with no luck so far. I am going to to check out a Ubiquiti cable as soon as it arrives.
Can you elaborate on how to capture LACPDU packets? Simple packet capture and check with wireguard?
-
@toskium yes running a pcap over the interface configured for LAG will show LACPDUs being sent by the switch and pfsense. Should be bidirectional. Assuming you see that your issue may be elsewhere.