Link aggregation in SmartOS

2015-01-24

Link aggregation in SmartOS is documented here:

https://wiki.smartos.org/display/DOC/Managing+NICs#ManagingNICs-LinkAggregationsintheGlobalZone

The admin network cannot be on a VLAN between the port and the interface. There’s some muttering about it on Github and in IRC logs, but it does not now nor has it ever worked. The admin network must be configured in access mode on the port(s) connecting the server to the switch. Other networks can be tagged on that link, but the admin network must be untagged.

Therefore, if you aggregate all the interfaces on a node, then the admin LAN must be the native LAN for the aggregated interface. The switch must untag the admin VLAN on the aggregated ports.

Other VLANs can certainly be tagged. When defining the vnics in /usbkey/config, simply add a _vlan_id parameter.