Setting up network bonding using NetworkManager CLI

Published

nmcli con add type bond con-name bond0 ifname bond0 mode balance-alb ip4 172.17.1.4/24
cat /etc/sysconfig/network-scripts/ifcfg-bond0
nmcli con
nmcli con add type bond-slave ifname enp5s0f0 master bond0
nmcli con add type bond-slave ifname enp5s0f1 master bond0
nmcli con
nmcli con mod bond0 ipv4.dns "172.17.1.1"
subscription-manager register --username=<username> --auto-attach
subscription-manager list

cat /etc/sysconfig/network
HOSTNAME=host.example.com
GATEWAY=172.17.1.1