不重啟系統下變更 bonding mode

    內容表格
    1. 1. RedHat 5/6
    2. 2. RedHat 4

    版本為 22:50, 28 Jul 2026

    到這個版本。

    返回到 版本存檔.

    查閱目前版本

    RedHat 5/6

    1. Find current bonding mode:

    # cat /sys/class/net/bond0/bonding/mode
    balance-rr   0
    

    2. Change the bonding mode:

    # ifdown bond0
    
    # echo 1 > /sys/class/net/bond0/bonding/mode
    
    # cat /sys/class/net/bond0/bonding/mode
    active-backup 1
    

    3. Up the bond0 again:

    # ifup bond0
    

    4. Check if the bonding mode has been changed:

    # cat /proc/net/bonding/bond0
    

    RedHat 4

    Powered by MindTouch Core