Chinaunix首页 | 论坛 | 博客
  • 博客访问: 61956
  • 博文数量: 3
  • 博客积分: 1555
  • 博客等级: 上尉
  • 技术积分: 165
  • 用 户 组: 普通用户
  • 注册时间: 2005-12-25 20:08
文章分类

全部博文(3)

文章存档

2010年(2)

2008年(1)

我的朋友

分类: LINUX

2008-11-11 12:52:00

硬件:Dell 2950, 三块网卡
软件:ubuntu 8.10

eth0,eth2是服务器自带的boardcom的
eth1后来加的intel的

当然要绑一样芯片的

先装个绑定用的工具
apt-get install ifenslave-2.6

修改/etc/modules,加一行
bonding
这样就启动可以自动加载bonding模块了,当然现在要先手工加载
modprobe bonding

ifconfig -a 看看,这时应该有块名为bond0的网卡


编辑/etc/network/interfaces
加入以下信息

iface bond0 inet static
address 10.1.1.11
netmask 255.255.255.0
#gateway 10.1.1.1 ------> (eth1设置了默认网关,所以这里没设)
up /sbin/ifenslave bond0 eth0
up /sbin/ifenslave bond0 eth2
auto bond0

vi /etc/modprobe.d/arch/x86_64   ------->俺装的是64bit的版本
加一行
option bonding mode=0 miimon=100

完工,似乎很简单,呵呵
重启了一下,貌似都可以起来

阅读(2261) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:使用SOHU的CentOS源

给主人留下些什么吧!~~