Chinaunix首页 | 论坛 | 博客
  • 博客访问: 479422
  • 博文数量: 67
  • 博客积分: 2952
  • 博客等级: 少校
  • 技术积分: 679
  • 用 户 组: 普通用户
  • 注册时间: 2006-01-24 10:50
文章分类

全部博文(67)

文章存档

2011年(9)

2010年(36)

2009年(8)

2008年(5)

2007年(5)

2006年(4)

我的朋友

分类: LINUX

2010-07-21 16:59:14

 
1. Add following in /etc/modprobe.conf
alias bond0 bonding
options bond0 miimon=100 mode=6
 
2. create a file /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
IPADDR=10.100.22.99
NETMASK=255.255.255.0
USERCTL=no
TYPE=Ethernet
 
3. cofigurate all of your NIC like following
# vi /etc/sysconfig/network-scripts/ifcfg-eth2
DEVICE=eth2
ONBOOT=yes
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
USERCTL=yes
# vi /etc/sysconfig/network-scripts/ifcfg-eth3
DEVICE=eth3
ONBOOT=yes
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
USERCTL=yes
 
4. service network restart
 
Reference: /usr/share/doc/iputils-20020927/README.bonding
阅读(635) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~