写了一篇英文的,有错误赶快指出
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 I bond two NICs with web console in openfiler ,bonding is 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(eth1 is one of the NICs which you want to bond))
DEVICE=eth1
MTU=1500
USERCTL=no
ONBOOT=yes
BOOTPROTO=static
MASTER=bond0
SLAVE=yes
4:# vi /etc/sysconfig/network-scripts/ifcfg-eth2(eth2 is one of the NICs which you want to bond)
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
阅读(2590) | 评论(0) | 转发(0) |