Ok Im not sure how helpful this is going to be but this is what I do and it works every time.
Setting Up Link Aggregation and VLAN in TrueNAS SCALE
Assumptions have been made that all is correctly configured on the network switch side as this is outside the scope of these instructions.
I like to set this up in the console either stood beside the TrueNAS or via IPMI.
Step 1: Create Link Aggregation
- Open the ‘configure network interfaces’.
- Press (n) to add a new network interface.
- Choose Link Aggregation as the type.
- Set the following:
- Name: bond1
- LAG Protocol: LACP (or whatever option you choose)
- Ports: ens7f4 and ens7f4d1 (yours may be different)
- Save the settings.
- Press (A) to apply changes.
- Press (P) to make them persistent.
Step 2: Create a VLAN (you may not need to do this, if not create your alias on your bond1 interface)
- Open the network configuration menu again.
- Press (n) to add another network interface.
- Choose VLAN as the type.
- Set the following:
- Name: vlan1001 (your vlan name)
- Aliases: 10.150.1.25/24 (your IP details)
- Parent Interface: bond1
- VLAN Tag: 1001 (your VLAN tag)
- Save the settings.
- Press (A) to apply changes.
- Press (P) to persist them.
- Press (Q) to exit
Step 3: Configure Network Settings
- Open the ‘configure network settigs’
- Set the following:
- Hostname
- Domain
- IPv4 Gateway (this is important, forget this and things don’t work)
- Nameservers
- Save the settings.
- Press (Q) to exit.