Creating
Show Connections
Use this command to locate the device number of the NICs you want to bond.
nmcli connection
Create the bond
Use the command below as an example to create a bond.
You can leave the MTU out if not enabling jumbo frames.
Here are the numbers for the modes:
0 - balance-rr
1 - active-backup
2 - balance-xor
3 - broadcast
4 - 802.3ad
5 - balance-tlb
6 - balance-alb
nmcli con add type bond con-name bond0 ifname bond0 mode 4 mtu 9000 ip4 10.10.10.241/24
Add NICs
nmcli con add type bond-slave ifname enp4s0f0np0 master bond0
nmcli con add type bond-slave ifname enp4s0f1np1 master bond0
Activate
nmcli connection up bond-slave-enp4s0f0np0
nmcli connection up bond-slave-enp4s0f1np1
nmcli con up bond0
Verify bond and slaves are up.
nmcli connection
Verify connection speed
ethtool bond0
Deleting
Find UUID:
nmcli connection
Delete using UUID:
nmcli connection delete <uuid>