02_bond 網卡設定
bonding bond ifcfg
http://www.cloudibee.com/network-bonding-modes/
# 超無腦設定法
# 1 關閉 NetworkManager
service NetworkManager stop
# 2 關閉 iptables
service iptables stop
#
#3 直接貼到 bond alias
echo "alias bond0 bonding" > /etc/modprobe.d/bonding.conf
#4
cd /e*/s*/n*s
# 設定 網卡ip及 bond
vi /e*/s*/n*s/ifcfg-bond0
DEVICE=bond0
BONDING_OPTS="miimon=100 mode=1"
TYPE=Bond
BONDING_MASTER=yes
BOOTPROTO=none
IPADDR=192.168.8.101
PREFIX=24
GATEWAY=192.168.8.254
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME=bond0
ONBOOT=yes
vi /e*/s*/n*s/ifcfg-eth6
TYPE=Ethernet
ONBOOT=yes
DEVICE=eth6
MASTER=bond0
SLAVE=yes
`
vi /e*/s*/n*s/ifcfg-eth2
TYPE=Ethernet
ONBOOT=yes
DEVICE=eth2
MASTER=bond0
SLAVE=yes
# Check bond0
cat /proc/net/bonding/bond0
Bonding Mode: adaptive load balancing
Primary Slave: None
Currently Active Slave: eth6
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth6
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr:
Slave queue ID: 0
Slave Interface: eth2
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr:
Slave queue ID: 0
2016年6月24日 星期五
訂閱:
張貼留言 (Atom)
RHEL install EPEL
https://www.linuxtechi.com/install-epel-repo-on-rhel-system/ EPEL dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest...
-
下載 出處 下載網址: http://tinyurl.com/plodb56 Step 1 下載取得「Windows10TweakTool」並解壓縮,在壓縮出的「Windows10SettingTool.bat」上按一下滑鼠右鍵,點擊選單中的【以系統管理員身分...
-
' 呼叫 日期 eg 2月 14日 ==> 0214 ' 11:56 2005/3/9 ' CC.HSIEH 'dim dim strm,strd,strToday,stry call datt msgbox strToday ...
-
1 關掉DB isqlplusctl stop emctl stop dbconsole lsnrctl stop sqlplus / as sysdba SQL > shutdown immediate 2 備份DB HOME cdOH ...
沒有留言:
張貼留言