interface stopped distributing possible flapping
Same author?
Quote from: mimugmail on November 22, 2020, 09:51:06 amSame author? Haha, sorry, didn't had a look at the authors name
Same author? Maybe FreeBSD 12 is handling lacp bit different. Then you should have the same Error when Testing pfsense 2.5
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=802028<VLAN_MTU,JUMBO_MTU,WOL_MAGIC> ether 00:0d:b9:57:27:90 inet6 fe80::20d:b9ff:fe57:2790%lagg0 prefixlen 64 scopeid 0x9 laggproto lacp lagghash l2,l3,l4 laggport: igb0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING> laggport: igb1 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING> groups: lagg media: Ethernet autoselect status: active nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
cisco#sh lacp 4 neighbor Flags: S - Device is requesting Slow LACPDUs F - Device is requesting Fast LACPDUs A - Device is in Active mode P - Device is in Passive mode Channel group 4 neighborsPartner's information: LACP port Admin Oper Port PortPort Flags Priority Dev ID Age key Key Number StateGi0/15 SA 32768 000d.b957.2790 5s 0x0 0x12B 0x1 0x3D Gi0/16 SA 32768 000d.b957.2790 4s 0x0 0x12B 0x2 0x3D
cisco#debug lacp event Link Aggregation Control Protocol events debugging is oncisco#Nov 22 11:48:29.174: LACP: Gi0/16 set to UNSELECTEDNov 22 11:48:30.170: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/16, changed state to downNov 22 11:48:31.174: %LINK-3-UPDOWN: Interface GigabitEthernet0/16, changed state to downNov 22 11:48:33.939: %LINK-3-UPDOWN: Interface GigabitEthernet0/16, changed state to upNov 22 11:48:34.943: LACP: Gi0/16 STANDBY aggregator hex address is 64DA810Nov 22 11:48:34.944: LACP: Gi0/16 set to STANDBYNov 22 11:48:36.722: lacp_handle_standby_port_internal called, depth = 1Nov 22 11:48:36.722: LACP: Gi0/16 standby->selectedNov 22 11:48:36.722: LACP: Gi0/16 set to SELECTEDNov 22 11:48:38.551: lacp_handle_standby_port_internal called, depth = 1Nov 22 11:48:39.551: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/16, changed state to up
isn't pfsense using the same Freebsd 12 as OPNsense?
I can only comment that lagg does work in the general case.My OPNsense:Code: [Select]lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=802028<VLAN_MTU,JUMBO_MTU,WOL_MAGIC> ether 00:0d:b9:57:27:90 inet6 fe80::20d:b9ff:fe57:2790%lagg0 prefixlen 64 scopeid 0x9 laggproto lacp lagghash l2,l3,l4 laggport: igb0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING> laggport: igb1 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING> groups: lagg media: Ethernet autoselect status: active nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>My Cisco 2960-L:Code: [Select]cisco#sh lacp 4 neighbor Flags: S - Device is requesting Slow LACPDUs F - Device is requesting Fast LACPDUs A - Device is in Active mode P - Device is in Passive mode Channel group 4 neighborsPartner's information: LACP port Admin Oper Port PortPort Flags Priority Dev ID Age key Key Number StateGi0/15 SA 32768 000d.b957.2790 5s 0x0 0x12B 0x1 0x3D Gi0/16 SA 32768 000d.b957.2790 4s 0x0 0x12B 0x2 0x3D So, does your Brocade switch have some debugging capability? E.g. if I bring one of my two links down on the OPNsense side, enable debugging of LACP events on the Cisco, then bring the interface up again, I get this:Code: [Select]cisco#debug lacp event Link Aggregation Control Protocol events debugging is oncisco#Nov 22 11:48:29.174: LACP: Gi0/16 set to UNSELECTEDNov 22 11:48:30.170: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/16, changed state to downNov 22 11:48:31.174: %LINK-3-UPDOWN: Interface GigabitEthernet0/16, changed state to downNov 22 11:48:33.939: %LINK-3-UPDOWN: Interface GigabitEthernet0/16, changed state to upNov 22 11:48:34.943: LACP: Gi0/16 STANDBY aggregator hex address is 64DA810Nov 22 11:48:34.944: LACP: Gi0/16 set to STANDBYNov 22 11:48:36.722: lacp_handle_standby_port_internal called, depth = 1Nov 22 11:48:36.722: LACP: Gi0/16 standby->selectedNov 22 11:48:36.722: LACP: Gi0/16 set to SELECTEDNov 22 11:48:38.551: lacp_handle_standby_port_internal called, depth = 1Nov 22 11:48:39.551: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/16, changed state to upPlease try and find some more detailled information on the switch side.Kind regards,Patrick
We all are just guessing without debug logs
sysctl net.link.lagg.lacp.debug=1
sysctl net.link.lagg.0.lacp.lacp_strict_mode=0
root@opnsense:~ # sysctl net.link.lagg.lacpnet.link.lagg.lacp.default_strict_mode: 1net.link.lagg.lacp.debug: 0
actor=(8000,00-0D-B9-57-27-90,012B,8000,0001)actor.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>partner=(8000,00-B6-70-D6-32-80,0004,8000,0110)partner.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>maxdelay=0igb0: lacpdu receiveactor=(8000,00-B6-70-D6-32-80,0004,8000,0110)actor.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>partner=(8000,00-0D-B9-57-27-90,012B,8000,0001)partner.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>maxdelay=32768igb1: lacpdu receiveactor=(8000,00-B6-70-D6-32-80,0004,8000,0111)actor.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>partner=(8000,00-0D-B9-57-27-90,012B,8000,0002)partner.state=1d<ACTIVITY,AGGREGATION,SYNC,COLLECTING>maxdelay=32768igb1: lacpdu transmitactor=(8000,00-0D-B9-57-27-90,012B,8000,0002)actor.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>partner=(8000,00-B6-70-D6-32-80,0004,8000,0111)partner.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>maxdelay=0igb0: lacpdu transmitactor=(8000,00-0D-B9-57-27-90,012B,8000,0001)actor.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>partner=(8000,00-B6-70-D6-32-80,0004,8000,0110)partner.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>maxdelay=0