FreeNAS 11.0-Release running on iXsystems FreeNAS Mini XL:
Creating a lagg0 with LACP from igb0 and igb1 and assigning a static IP address works OK using the web UI. Subsequently putting mtu 9216 in the lagg0 options field and rebooting brings up the system with no ethernet access. ifconfig shows an MTU of 9216 set in igb0, igb1, and lagg0, but no static IP address anywhere. Using ifconfig to give lagg0 an IP address and a netmask restores network functionality with the higher MTU. Another reboot, the IP address is lost again. Setting a lagg0 IP address with ifconfig to restore web access then clearing the options field for lagg0 and rebooting works fine, but the MTU is back at default. A not-so-brief look at the FreeNAS bootup logic led to creating rc.local in /conf/base/etc/ containing:
#!/bin/sh
ifconfig lagg0 192.168.2.16 netmask 255.255.255.0
which assigns the IP address at the end of the reboot. Yuck, but it works. My assumption is that the bootup logic that deals with an mtu in the interface options field is somehow scrambling the ifconfig syntax that assigns a static IP address to lagg0. It does manage to assign the mtu to all three interfaces, igb0, igb1, and lagg0, and the Web UI display of the lagg0 configuration has both IP address and options field correct.
This is not intended to provoke a discussion about jumbo frames themselves. The underlying FreeBSD is behaving exactly as it should - the problem lies with the scripts that configure the system at bootup from the Web UI database.
Creating a lagg0 with LACP from igb0 and igb1 and assigning a static IP address works OK using the web UI. Subsequently putting mtu 9216 in the lagg0 options field and rebooting brings up the system with no ethernet access. ifconfig shows an MTU of 9216 set in igb0, igb1, and lagg0, but no static IP address anywhere. Using ifconfig to give lagg0 an IP address and a netmask restores network functionality with the higher MTU. Another reboot, the IP address is lost again. Setting a lagg0 IP address with ifconfig to restore web access then clearing the options field for lagg0 and rebooting works fine, but the MTU is back at default. A not-so-brief look at the FreeNAS bootup logic led to creating rc.local in /conf/base/etc/ containing:
#!/bin/sh
ifconfig lagg0 192.168.2.16 netmask 255.255.255.0
which assigns the IP address at the end of the reboot. Yuck, but it works. My assumption is that the bootup logic that deals with an mtu in the interface options field is somehow scrambling the ifconfig syntax that assigns a static IP address to lagg0. It does manage to assign the mtu to all three interfaces, igb0, igb1, and lagg0, and the Web UI display of the lagg0 configuration has both IP address and options field correct.
This is not intended to provoke a discussion about jumbo frames themselves. The underlying FreeBSD is behaving exactly as it should - the problem lies with the scripts that configure the system at bootup from the Web UI database.