Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1093016
  • 博文数量: 110
  • 博客积分: 10068
  • 博客等级: 上将
  • 技术积分: 1505
  • 用 户 组: 普通用户
  • 注册时间: 2007-04-25 11:28
文章分类

全部博文(110)

文章存档

2011年(4)

2010年(5)

2009年(73)

2008年(28)

我的朋友

分类: LINUX

2009-04-13 10:18:48

Abner Kou原创,转载请注明出处http://abner.cublog.cn
写了一篇英文的,有错误赶快指出
    
     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) |
给主人留下些什么吧!~~