Comments on: Configure NIC(Network Interface Card) bonding in CentOS 7 / RHEL 7 https://www.linuxtechi.com/configure-nic-bonding-in-centos-7-rhel-7/ Sun, 01 Mar 2020 10:30:39 +0000 hourly 1 By: two cents ... https://www.linuxtechi.com/configure-nic-bonding-in-centos-7-rhel-7/#comment-302 Tue, 01 Sep 2015 13:02:58 +0000 http://www.linuxtechi.com/?p=3328#comment-302 Simpler solution, also we shouldn’t use bond in Redhat/Centos 7 – its deprecated, insted that use teamd :D.

#show all device
nmcli -p dev status
#add interface with ipv4 only address, two slaves and active-backup
nmcli connection add type bond ifname bond0 con-name bond0 mode active-backup primary enp0s3 miimon 200 ip4 213.222.208.14 gw4 213.222.208.1
nmcli connection mod bond0 ipv4.dns “8.8.8.8” ipv6.method “ignore”
nmcli connection add type bond-slave ifname enp0s3 master bond0
nmcli connection add type bond-slave ifname enp0s8 master bond0

#ifup 😀
nmcli c u bond0

#verification
nmcli -p connection show bond0 | less
nmcli -p connection show -a
nmcli network connectivity

]]>