Issue
I had two 10Gb ports I wanted to bond in Dynamic Link Aggegration (802.3ad)
To get the network interface list use:
nmcli connection
In my output I wanted to use ens1f0 and ens1f1 interfaces
Steps
1) Create Bond Interface (bond0)
nmcli con add type bond con-name bond0 ifname bond0 mode 4 ip4 10.32.99.12/24 10.32.99.254
Notes:
10.32.99.12/24 is the virtual IP and subnet
10.32.99.254 is the gateway
mode 4 = 802.3ad
2) Create the slave interfaces
nmcli con add type bond-slave ifname ens1f0 master bond0 nmcli con add type bond-slave ifname ens1f1 master bond0
3) Activate slave connections
nmcli conn up bond-slave-ens1f0 nmcli conn up bond-slave-ens1f1
4) To bring up the bond interface (if it isnt already)
nmcli conn up bond0
5) Check connections
nmcli connection
6) Check bond
cat /proc/net/bonding/bond0
You must be logged in to post a comment.