You positive you're plugged into the right ports? FreeBSD is reporting a different mac address than your switch claims it's advertising on the LAG:QuoteNov 24 00:13:35 firewall kernel: partner=(0001,60-9C-9F-4B-80-8C,4E22,0001,0002)QuoteDeployment: HW Trunk ID 2Port Link State Dupl Speed Trunk Tag Pvid Pri MAC Name1/1/2 Up Blocked Full 1G 2 Yes N/A 0 609c.9f4b.808d LAN12/1/2 Up Blocked Full 1G 2 Yes N/A 0 609c.9f4b.808d LAN2
Nov 24 00:13:35 firewall kernel: partner=(0001,60-9C-9F-4B-80-8C,4E22,0001,0002)
Deployment: HW Trunk ID 2Port Link State Dupl Speed Trunk Tag Pvid Pri MAC Name1/1/2 Up Blocked Full 1G 2 Yes N/A 0 609c.9f4b.808d LAN12/1/2 Up Blocked Full 1G 2 Yes N/A 0 609c.9f4b.808d LAN2
Nov 26 20:47:27 firewall opnsense[5775]: /usr/local/etc/rc.linkup: Hotplug event detected for LANLAG(opt1) but ignoring since interface is configured with static IP (192.168.88.1 ::)
Nov 28 17:44:32 firewall opnsense[19285]: /usr/local/etc/rc.linkup: Hotplug event detected for LANLAG(opt1) but ignoring since interface is configured with static IP (192.168.83.1 ::)Nov 28 17:44:32 firewall opnsense[51767]: /usr/local/etc/rc.newwanip: IPv4 renewal is starting on 'lagg0'Nov 28 17:44:32 firewall opnsense[51767]: /usr/local/etc/rc.newwanip: On (IP address: 192.168.83.1) (interface: LANLAG[opt1]) (real interface: lagg0).Nov 28 17:44:32 firewall opnsense[51767]: plugins_configure hosts ()Nov 28 17:44:32 firewall opnsense[51767]: plugins_configure hosts (execute task : dnsmasq_hosts_generate())Nov 28 17:44:32 firewall opnsense[51767]: plugins_configure hosts (execute task : unbound_hosts_generate())Nov 28 17:44:33 firewall kernel: bce1: Interface stopped DISTRIBUTING, possible flappingNov 28 17:44:33 firewall kernel: bce0: Interface stopped DISTRIBUTING, possible flappingNov 28 17:44:33 firewall kernel: lagg0: link state changed to DOWNNov 28 17:44:33 firewall opnsense[67168]: /usr/local/etc/rc.linkup: Hotplug event detected for LANLAG(opt1) but ignoring since interface is configured with static IP (192.168.83.1 ::)Nov 28 17:44:39 firewall kernel: lagg0: link state changed to UPNov 28 17:44:40 firewall opnsense[99483]: /usr/local/etc/rc.linkup: Hotplug event detected for LANLAG(opt1) but ignoring since interface is configured with static IP (192.168.83.1 ::)Nov 28 17:44:40 firewall opnsense[59439]: /usr/local/etc/rc.newwanip: IPv4 renewal is starting on 'lagg0'Nov 28 17:44:40 firewall opnsense[59439]: /usr/local/etc/rc.newwanip: On (IP address: 192.168.83.1) (interface: LANLAG[opt1]) (real interface: lagg0).Nov 28 17:44:40 firewall opnsense[59439]: plugins_configure hosts ()Nov 28 17:44:40 firewall opnsense[59439]: plugins_configure hosts (execute task : dnsmasq_hosts_generate())Nov 28 17:44:40 firewall opnsense[59439]: plugins_configure hosts (execute task : unbound_hosts_generate())Nov 28 17:44:40 firewall kernel: bce1: Interface stopped DISTRIBUTING, possible flappingNov 28 17:44:40 firewall kernel: bce0: Interface stopped DISTRIBUTING, possible flappingNov 28 17:44:40 firewall kernel: lagg0: link state changed to DOWNNov 28 17:44:41 firewall opnsense[34568]: /usr/local/etc/rc.linkup: Hotplug event detected for LANLAG(opt1) but ignoring since interface is configured with static IP (192.168.83.1 ::)Nov 28 17:44:42 firewall kernel: bce1: link state changed to DOWNNov 28 17:44:42 firewall kernel: bce0: link state changed to DOWNNov 28 17:44:43 firewall configctl[48202]: event @ 1606581883.04 msg: Nov 28 17:44:43 firewall.attcomputer.nl config[96814]: config-event: new_config /conf/backup/config-1606581883.0416.xmlNov 28 17:44:43 firewall configctl[48202]: event @ 1606581883.04 exec: system event config_changedNov 28 17:44:45 firewall kernel: bce1: Gigabit link up!Nov 28 17:44:45 firewall kernel: bce1: link state changed to UPNov 28 17:44:45 firewall kernel: lagg0: link state changed to UPNov 28 17:44:45 firewall kernel: bce0: Gigabit link up!Nov 28 17:44:45 firewall kernel: bce0: link state changed to UPNov 28 17:44:45 firewall opnsense[49000]: /usr/local/etc/rc.linkup: Hotplug event detected for LANLAG(opt1) but ignoring since interface is configured with static IP (192.168.83.1 ::)Nov 28 17:44:45 firewall opnsense[38393]: /usr/local/etc/rc.newwanip: IPv4 renewal is starting on 'lagg0'Nov 28 17:44:45 firewall opnsense[38393]: /usr/local/etc/rc.newwanip: On (IP address: 192.168.83.1) (interface: LANLAG[opt1]) (real interface: lagg0).Nov 28 17:44:45 firewall opnsense[38393]: plugins_configure hosts ()Nov 28 17:44:45 firewall opnsense[38393]: plugins_configure hosts (execute task : dnsmasq_hosts_generate())Nov 28 17:44:45 firewall opnsense[38393]: plugins_configure hosts (execute task : unbound_hosts_generate())Nov 28 17:45:01 firewall /update_tables.py[249]: unable to resolve firewall-new-wa.nl for alias Klante_S2SNov 28 17:45:12 firewall /flowd_aggregate.py[18361]: vacuum src_addr_details_086400.sqliteNov 28 17:45:13 firewall /flowd_aggregate.py[18361]: vacuum src_addr_000300.sqliteNov 28 17:45:13 firewall /flowd_aggregate.py[18361]: vacuum src_addr_003600.sqliteNov 28 17:45:13 firewall /flowd_aggregate.py[18361]: vacuum src_addr_086400.sqliteNov 28 17:45:13 firewall /flowd_aggregate.py[18361]: vacuum dst_port_000300.sqliteNov 28 17:45:13 firewall /flowd_aggregate.py[18361]: vacuum dst_port_003600.sqliteNov 28 17:45:13 firewall /flowd_aggregate.py[18361]: vacuum dst_port_086400.sqliteNov 28 17:45:13 firewall /flowd_aggregate.py[18361]: vacuum interface_000030.sqliteNov 28 17:45:13 firewall /flowd_aggregate.py[18361]: vacuum interface_000300.sqliteNov 28 17:45:13 firewall /flowd_aggregate.py[18361]: vacuum interface_003600.sqliteNov 28 17:45:13 firewall /flowd_aggregate.py[18361]: vacuum interface_086400.sqliteNov 28 17:45:13 firewall /flowd_aggregate.py[18361]: vacuum done
Did not read the full post.Maybe it's a BSD12 topic. Did you try it with pfSense 2.5?Is it running with OPNsense 20.1?
Reinstall 20.1 and restore config
OPNsense 20.7.5-amd64FreeBSD 12.1-RELEASE-p10-HBSDOpenSSL 1.1.1h 22 Sep 2020
Nov 28 21:52:08 firewall kernel: igb5: lacpdu transmitNov 28 21:52:08 firewall kernel: actor=(8000,00-08-A2-0C-99-7B,020B,8000,0006)Nov 28 21:52:08 firewall kernel: actor.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>Nov 28 21:52:08 firewall kernel: partner=(8000,74-83-C2-48-2F-67,0042,0080,0018)Nov 28 21:52:08 firewall kernel: partner.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>Nov 28 21:52:08 firewall kernel: maxdelay=0Nov 28 21:52:08 firewall kernel: igb4: lacpdu transmitNov 28 21:52:08 firewall kernel: actor=(8000,00-08-A2-0C-99-7B,020B,8000,0005)Nov 28 21:52:08 firewall kernel: actor.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>Nov 28 21:52:08 firewall kernel: partner=(8000,74-83-C2-48-2F-67,0042,0080,0017)Nov 28 21:52:08 firewall kernel: partner.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>Nov 28 21:52:08 firewall kernel: maxdelay=0Nov 28 21:52:16 firewall kernel: igb5: lacpdu receiveNov 28 21:52:16 firewall kernel: actor=(8000,74-83-C2-48-2F-67,0042,0080,0018)Nov 28 21:52:16 firewall kernel: actor.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>Nov 28 21:52:16 firewall kernel: partner=(8000,00-08-A2-0C-99-7B,020B,8000,0006)Nov 28 21:52:16 firewall kernel: partner.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>Nov 28 21:52:16 firewall kernel: maxdelay=0Nov 28 21:52:16 firewall kernel: igb4: lacpdu receiveNov 28 21:52:16 firewall kernel: actor=(8000,74-83-C2-48-2F-67,0042,0080,0017)Nov 28 21:52:16 firewall kernel: actor.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>Nov 28 21:52:16 firewall kernel: partner=(8000,00-08-A2-0C-99-7B,020B,8000,0005)Nov 28 21:52:16 firewall kernel: partner.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>Nov 28 21:52:16 firewall kernel: maxdelay=0 Nov 28 21:52:38 firewall kernel: igb5: lacpdu transmitNov 28 21:52:38 firewall kernel: actor=(8000,00-08-A2-0C-99-7B,020B,8000,0006)Nov 28 21:52:38 firewall kernel: actor.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>Nov 28 21:52:38 firewall kernel: partner=(8000,74-83-C2-48-2F-67,0042,0080,0018)Nov 28 21:52:38 firewall kernel: partner.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>Nov 28 21:52:38 firewall kernel: maxdelay=0Nov 28 21:52:38 firewall kernel: igb4: lacpdu transmitNov 28 21:52:38 firewall kernel: actor=(8000,00-08-A2-0C-99-7B,020B,8000,0005)Nov 28 21:52:38 firewall kernel: actor.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>Nov 28 21:52:38 firewall kernel: partner=(8000,74-83-C2-48-2F-67,0042,0080,0017)Nov 28 21:52:38 firewall kernel:
thank you for your answer.i am not near the box have to drive 2hr to get there.is this a bug/issue with 20.7?just trying to understand to plan my next move.
Quote from: Julien on November 28, 2020, 08:59:43 pmthank you for your answer.i am not near the box have to drive 2hr to get there.is this a bug/issue with 20.7?just trying to understand to plan my next move.It may be related to BSD12. So even if you go for pfSense 2.4.x now, it may break with 2.5.That's the reason why I asked if it's working with OPNsense 20.1 or pfSense 2.5It could be a combination of BSD12 and your switches, because other people say it's working for them. Just found this:https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241785Is this describing your issue?
We also use vlan + lagg + ix and we often need to add/remove vlans, so as a temporary solution we disable vlanhwfilter on lagg interface.
Interfaces: SettingsVLAN Hardware Filtering. Set it to disable.And all other HW stuff should be disabled (checkboxes checked), too.It's a global setting for all interfaces.
lagg0: link state changed to UPbce1: Interface stopped DISTRIBUTING, possible flappingbce0: Interface stopped DISTRIBUTING, possible flappinglagg0: link state changed to DOWNlagg0: link state changed to UPbce1: Interface stopped DISTRIBUTING, possible flappingbce0: Interface stopped DISTRIBUTING, possible flappinglagg0: link state changed to DOWNlagg0: link state changed to UPbce1: Interface stopped DISTRIBUTING, possible flappingbce0: Interface stopped DISTRIBUTING, possible flappinglagg0: link state changed to DOWNlagg0: link state changed to UPbce1: Interface stopped DISTRIBUTING, possible flappingbce0: Interface stopped DISTRIBUTING, possible flappinglagg0: link state changed to DOWN
edit: unfrotunately its still not working
Quote from: Julien on November 28, 2020, 10:06:35 pmedit: unfrotunately its still not working I'm really sorry to hear that.Options:go with pfSense 2.4.x but you may run into the problem again when 2.5 is released. So maybe it's worth to try the 2.5 beta first. If it has the same problem it's BSD 12 related.try OPNsense 20.1 and wait if there will be a patch somedaytry different switchesare you able to replace the network cards in that server? Maybe it's only related to some drivers.
Deployment: HW Trunk ID 1Port Link State Dupl Speed Trunk Tag Pvid Pri MAC Name1/1/1 Down None None None 1 No 141 0 609c.9f4b.808c WAN12/1/1 Down None None None 1 No 141 0 609c.9f4b.808c WAN2
Deployment: HW Trunk ID 3Port Link State Dupl Speed Trunk Tag Pvid Pri MAC Name1/1/11 Up Forward Full 1G 11 Yes 141 0 609c.9f4b.808c1/1/12 Up Forward Full 1G 11 Yes 141 0 609c.9f4b.808c2/1/11 Up Forward Full 1G 11 Yes 141 0 609c.9f4b.808c2/1/12 Up Forward Full 1G 11 Yes 141 0 609c.9f4b.808c
To help along further with this, there is some possible issues occuring:1. Have you turned of all offloading options on opnsense? - TSO, LRO? - make sure with the ifconfig2. Port flap dampening configuration is worth looking at on this switch?3. Energy saving features of the nics on the server - i.e. hw.em.eee_setting = 0Maybe do a 'sysctl -A | grep *your network card driver* - 'sysctl -A | grep em or igb'Also sysctl -A | grep lacp - lets see your lacp settings
1. Have you turned of all offloading options on opnsense? - TSO, LRO? - make sure with the ifconfig
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=800008<VLAN_MTU> ether e8:39:35:11:fa:ab inet6 fe80::ea39:35ff:fe11:faab%lagg0 prefixlen 64 scopeid 0xb laggproto lacp lagghash l2,l3,l4 lagg options: flags=10<LACP_STRICT> flowid_shift: 16 lagg statistics: active ports: 0 flapping: 0 lag id: [(0000,00-00-00-00-00-00,0000,0000,0000), (0000,00-00-00-00-00-00,0000,0000,0000)] laggport: em2 flags=0<> state=41<ACTIVITY,DEFAULTED> [(8000,E8-39-35-11-FA-AB,8003,8000,0003), (FFFF,00-00-00-00-00-00,0000,FFFF,0000)] laggport: em3 flags=0<> state=41<ACTIVITY,DEFAULTED> [(8000,E8-39-35-11-FA-AB,8004,8000,0004), (FFFF,00-00-00-00-00-00,0000,FFFF,0000)] groups: lagg media: Ethernet autoselect status: no carrier nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
2. Port flap dampening configuration is worth looking at on this switch?
SSH@Ruckus2050-LS#show interface ethernet 1/1/2GigabitEthernet1/1/2 is up, line protocol is down (LACP-BLOCKED) Port down (LACP-BLOCKED) for 1 day(s) 14 hour(s) 28 minute(s) 40 second(s) Hardware is GigabitEthernet, address is 609c.9f4b.808d (bia 609c.9f4b.808d) Configured speed auto, actual 1Gbit, configured duplex fdx, actual fdx Configured mdi mode AUTO, actual MDIX EEE Feature Disabled Member of 7 L2 VLANs, port is tagged, port state is BLOCKING BPDU guard is Disabled, ROOT protect is Disabled, Designated protect is Disabled Link Error Dampening is Enabled STP configured to ON, priority is level0, mac-learning is enabled Openflow is Disabled, Openflow Hybrid mode is Disabled, Flow Control is config enabled, oper enabled, negotiation disabled Mirror disabled, Monitor disabled Mac-notification is disabled Member of active trunk ports 1/1/2,2/1/2, primary port is 1/1/2 Member of configured trunk ports 1/1/2,2/1/2, primary port is 1/1/2 Port name is LAN1 IPG MII 96 bits-time, IPG GMII 96 bits-time MTU 10200 bytes, encapsulation ethernet 300 second input rate: 0 bits/sec, 0 packets/sec, 0.00% utilization 300 second output rate: 928 bits/sec, 0 packets/sec, 0.00% utilization 15187 packets input, 1943872 bytes, 0 no buffer Received 1 broadcasts, 15186 multicasts, 0 unicasts 0 input errors, 0 CRC, 0 frame, 0 ignored 0 runts, 0 giants 154231 packets output, 19755504 bytes, 0 underruns Transmitted 214 broadcasts, 153930 multicasts, 86 unicasts 0 output errors, 0 collisions Relay Agent Information option: DisabledUC Egress queues:Queue counters Queued packets Dropped Packets 0 0 0 1 0 0 2 0 0 3 0 0 4 0 0 5 0 0 6 0 0 7 152356 0MC Egress queues:Queue counters Queued packets Dropped Packets 0 217 0 1 148 0 2 1510 0 3 0 0
3. Energy saving features of the nics on the server - i.e. hw.em.eee_setting = 0