Contact Us

U.S: (+1) 888-876-8666

UK: +44 (0) 203-318-5364

Bonding mode



1 comment

  • Avatar
    Aaron Faby

    Please be aware that this bonding mode requires additional switch configuration if both ports are going to the same switch or you will run into issues.

    If you are using multiple switches for redundancy, it's best to use active-backup bonding instead. This custom code will change the onappstorebond interface to active-backup:

    #change bonding mode to active-backup
    ifdown onappstorebond
    ip link set `cat /proc/net/bonding/onappstorebond | grep 'Slave Interface' | cut -d : -f 2 | head -n 1 | tr -d '\n'` down
    ip link set `cat /proc/net/bonding/onappstorebond | grep 'Slave Interface' | cut -d : -f 2 | tail -n 1 | tr -d '\n'` down
    cat /etc/modprobe.d/onappstorebond | grep -v options > /tmp/onappstorebond
    mv /tmp/onappstorebond /etc/modprobe.d/onappstorebond
    echo 'BONDING_OPTS="mode=1 miimon=100"' >> /etc/sysconfig/network-scripts/ifcfg-onappstorebond
    ifup onappstorebond

    Comment actions Permalink

Please sign in to leave a comment.