I finally updated our storage server from 11.1-RELEASE to 11.2-RELEASE and now lagg interfaces won't come up at boot:
the ifconfig_lagg0 entry seems to be read from /etc/rc.conf, because the IP is set, but all lagg options are ignored.
creating the lagg interface manually works as expected:
Have there been any changes to how lagg interfaces are set up at boot or their config is read from rc.conf? This config worked since 10.x days and there were never any warnings during updates about the syntax being changed...
Code:
# grep lagg /etc/rc.conf
cloned_interfaces="lagg0 vlan3 vlan4 bridge0 bridge4 bridge5"
ifconfig_lagg0="laggproto lacp laggport igb2 laggport igb3 laggport igb4 laggport igb5 inet 10.50.0.101/24 up"
[...]
# ifconfig lagg0
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=800000<>
ether 00:00:00:00:00:00
inet 10.50.0.101 netmask 0xffffff00 broadcast 10.50.0.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect
status: no carrier
groups: lagg
laggproto failover lagghash l2,l3,l4
the ifconfig_lagg0 entry seems to be read from /etc/rc.conf, because the IP is set, but all lagg options are ignored.
creating the lagg interface manually works as expected:
Code:
# ifconfig lagg0 create laggproto lacp laggport igb2 laggport igb3 laggport igb4 laggport igb5 inet 10.50.0.101/24
# ifconfig lagg0
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
options=6403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
ether 90:e2:ba:14:ca:18
inet 10.50.0.101 netmask 0xffffff00 broadcast 10.50.0.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect
status: active
groups: lagg
laggproto lacp lagghash l2,l3,l4
laggport: igb2 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
laggport: igb3 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
laggport: igb4 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
laggport: igb5 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
Have there been any changes to how lagg interfaces are set up at boot or their config is read from rc.conf? This config worked since 10.x days and there were never any warnings during updates about the syntax being changed...