Setting up bond0 LACP on TrueNAS Scale CLI

mtindall1

Dabbler
Joined
Jul 27, 2021
Messages
18
Has anyone successfully setup 2 interfaces bonded on bond0 for LACP on Scale? I mean its so much easier on Core to setup lagg0 with 2 interfaces on lacp, yet they decided to change the whole damn CLI on Scale when it comes to creating a bonded pair. Any help would be appreciated.
 

xenu

Dabbler
Joined
Nov 12, 2015
Messages
43
Hi, this is what I did. I entered "1) Configure network interfaces" from the console menu and did the following
Code:
#get a list of interface names (eno1 and eno2 in my case)
network interface> query
network interface> create name=bond0 type=LINK_AGGREGATION lag_protocol=LACP lag_ports=eno1,eno2 aliases="10.0.2.2/24" lacpdu_rate=FAST ipv6_auto=true xmit_hash_policy="LAYER2+3"
network interface> ..
network> static_route create destination="0.0.0.0/0" gateway="10.0.2.1"
network> commit

Hope this helps.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
its so much easier on Core to setup lagg0 with 2 interfaces on lacp, yet they decided to change the whole damn CLI on Scale when it comes to creating a bonded pair.
Those are 2 completely different operating systems... are you really surprised that the network setup is different in the CLI? I don't think it was a decision to change it, rather the existence of the different OS tools.

The Link Aggregation setup in the GUI is almost identical between the two, so why would you even use the CLI if you want to see the same thing on both?
 
Top