I've found lots of other posts about LACP on the forums, but nothing that helps me so far. I'm trying to set up LACP between 2 Intel NICs
and an HP 1920-16G switch (Gigabit switch, L2 managed)
I set up the switch with 2 different LAGGs, one for the FreeBSD server and one for my Linux firewall/docker system.
The gist of my problem is that the LAGG interface is only active on 1 NIC, it won't go into the right mode on the second NIC. The switch reports (I had to type this, couldn't copy/paste):
GigabitEthernet1/0/14 Unselected "The port's partner is improper for being attached"
GigabitEthernet1/0/16 Selected --
In LACP summary, 0/16 is active, "Partner Port 2" "Partner Port State: ACDEF, Oper Key 3
0/14, inactive, reason 4(Ports partner is improper for being attached), Partner Port 0, Partner Port State: DEF, Oper Key 3
In the details for partner port, only the 0/16 interface has details that aren't 0x00000,0000*
ifconfig -a:
and my rc.conf: (the ifconfig igb0 and igb1 options produce errors during startup, that these aren't recognized, but the interfaces do go up and seem ok, from what I can tell):
After research and troubleshooting, I found a mention of adding this to sysctl (and did so):
(rather, the mention for was for the specific lagg group, but I set it as default as the specifying the lagg group was producing an error, but that value was listed in sysctl -a)
I could turn on lacp.debug in sysctl, if someone thinks that info might help. I'm hoping it's just something simple (it's my first time setting up LACP, so I wouldn't be surprised if it was just user error).
Thanks for any assistance anyone might have in getting me moving in the right direction with this.
Code:
igb0: <Intel(R) PRO/1000 PCI-Express Network Driver> port 0xa000-0xa01f mem 0xdf300000-0xdf37ffff,0xdf380000-0xdf383fff irq 21 at device 0.0 on pci7
igb1: <Intel(R) PRO/1000 PCI-Express Network Driver> port 0x9000-0x901f mem 0xdf200000-0xdf27ffff,0xdf280000-0xdf283fff irq 23 at device 0.0 on pci8
and an HP 1920-16G switch (Gigabit switch, L2 managed)
I set up the switch with 2 different LAGGs, one for the FreeBSD server and one for my Linux firewall/docker system.
The gist of my problem is that the LAGG interface is only active on 1 NIC, it won't go into the right mode on the second NIC. The switch reports (I had to type this, couldn't copy/paste):
GigabitEthernet1/0/14 Unselected "The port's partner is improper for being attached"
GigabitEthernet1/0/16 Selected --
In LACP summary, 0/16 is active, "Partner Port 2" "Partner Port State: ACDEF, Oper Key 3
0/14, inactive, reason 4(Ports partner is improper for being attached), Partner Port 0, Partner Port State: DEF, Oper Key 3
In the details for partner port, only the 0/16 interface has details that aren't 0x00000,0000*
Code:
FreeBSD entryplug 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64
ifconfig -a:
Code:
igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=e527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
ether d0:50:99:c3:12:3d
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igb1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=e527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
ether d0:50:99:c3:12:3d
hwaddr d0:50:99:c3:12:3e
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff000000
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=e527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
ether d0:50:99:c3:12:3d
inet 10.11.12.192 netmask 0xffffff00 broadcast 10.11.12.255
laggproto lacp lagghash l2,l3,l4
laggport: igb0 flags=0<>
laggport: igb1 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
groups: lagg
media: Ethernet autoselect
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
and my rc.conf: (the ifconfig igb0 and igb1 options produce errors during startup, that these aren't recognized, but the interfaces do go up and seem ok, from what I can tell):
Code:
ifconfig_igb0="UP"
ifconfig_igb1="UP"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto lacp laggport igb0 laggport igb1 DHCP"
After research and troubleshooting, I found a mention of adding this to sysctl (and did so):
Code:
net.link.lagg.lacp.default_strict_mode=0
I could turn on lacp.debug in sysctl, if someone thinks that info might help. I'm hoping it's just something simple (it's my first time setting up LACP, so I wouldn't be surprised if it was just user error).
Thanks for any assistance anyone might have in getting me moving in the right direction with this.