總共使用三個(gè)shell
第一個(gè)shell
nm-connection-editor
nmcli connection add con-name bond0 ifname bond0 type bond mode active-backup ip 4 172.25.254.101/24
ifconfig
ping 172.25.254.101
第二個(gè)shell
cat /proc/net/bonding/bond0
第三個(gè)shell
nmcli connection add con-name eth0 ifname eth0 type bond-slave master bond0
nmcli connection add con-name eth2 ifname eth2 type bond-slave master bond0
輸入:ifconfig eth0 down
ifconfig eth0 up
ifconfig eth2 down
ifconfig eth2 up
進(jìn)行調(diào)節(jié)
另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)scvps.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時(shí)售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務(wù)可用性高、性價(jià)比高”等特點(diǎn)與優(yōu)勢(shì),專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場(chǎng)景需求。