Add overhauled bridge support to API
FreeNAS already uses if_bridge for jails and bhyve VMs. But the resulting setup violates what is clearly and explicitly stated in the FreeBSD documentation:
The IP address belongs on the bridge, not on one (igb0 in my case) of the member interfaces.
Second, it would be great if I could add the other 3 ports of my system to that very same bridge to have an additional switch for my home network. I already do this with a post-init script, but bridging configuration should be available via the UI.
Third, it seems like the automagic bridge configuration assigns bhyve VMs to one and iocage jails to a second bridge IF. This should be either one and the same or even better configurable via the UI and per jail/VM.
Apart from the fact that Corral did not support jails, all of this was in place and working flawlessly in Corral. Put 4 physical interfaces into one bridge, configure IPv4 and IPv6 for the bridge instead for one of the members, pick which bridge to use for a VM ...
P.S. A "networking" category is missing in Redmine ;)