Configure NIC(Network Interface Card) bonding in CentOS 7 / RHEL 7

1 Response

  1. two cents ... says:

    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 gw4
    nmcli connection mod bond0 ipv4.dns “” 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

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

Leave a Reply

Your email address will not be published. Required fields are marked *