写了一篇英文的,有错误赶快指出啊,呵呵
Interface bonding is a mens of aggregating two or more network interface cards(NICs) ,and use the actibe-backup mode which is pretty simple and recommended in openfiler 2.3.In this mode if one interface become inactive,the sysetem will still be accessible through the other "standby"(bonding's NIC) interface.so it can provide high availability
When bond two NICs in web console in openfiler ,It's not working
So I must configure interface bonding with console,That's the stepts on below
1: # vi /etc/modprobe.conf
ADD:alias bond0 bonding
options bond0 max_bonds=8 mode=active-backup miimon=100 downdelay=0 updelay=0
2:# vi /etc/syconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
MTU=1500
USERCTL=no
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.40.211
NETMASK=255.255.224.0
GATWAY=192.168.40.253
_3:# vi /etc/sysconfig/network-scripts/ifcfg-eth1(one of you want to bond NICs-eth1)
DEVICE=eth1
MTU=1500
USERCTL=no
ONBOOT=yes
BOOTPROTO=static
MASTER=bond0
SLAVE=yes
4:# vi /etc/sysconfig/network-scripts/ifcfg-eth2(one of you want to bond NICs一eth2)
DEVICE=eth2
MTU=1500
USERCTL=no
ONBOOT=yes
BOOTPROTO=static
MASTER=bond0
SLAVE=yes
5:# modprobe bonding
6:# ifup bond0
Now multiple NICs bonding is working well
本文转自 abner110 51CTO博客,原文链接:http://blog.51cto.com/abner/149073,如需转载请自行联系原作者