Chinaunix首页 | 论坛 | 博客
  • 博客访问: 360265
  • 博文数量: 56
  • 博客积分: 1941
  • 博客等级: 上尉
  • 技术积分: 587
  • 用 户 组: 普通用户
  • 注册时间: 2010-06-11 21:50
文章分类

全部博文(56)

文章存档

2015年(1)

2014年(4)

2013年(2)

2012年(4)

2011年(8)

2010年(37)

分类: LINUX

2011-12-16 09:31:27

1.编辑:/etc/sysconfig/network-scripts/ifcfg-bond0
# Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet
DEVICE=bond0
IPADDR=192.168.70.13
NETMASK=255.255.255.0
NETWORK=192.168.70.0
BROADCAST=192.168.70.255
GATEWAY=192.168.70.1
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
2.编辑/etc/sysconfig/network-scripts/ifcfg-eth0、ifcfg-eth1
DEVICE=eth0(或者eth1)
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
FREEDNS=no
TYPE=Ethernet
3.修改/etc/modprobe.conf
[root@vasoss3 ~]# cat /etc/modprobe.conf
alias bond0 bonding
options bond0 miimon=100 mode=0
此文件的原内容:
[root@vasoss3 ~]# cat /etc/modprobe.conf.bak 
alias eth0 bnx2
alias eth1 bnx2
alias scsi_hostadapter megaraid_sas
alias scsi_hostadapter1 sata_svw

阅读(1809) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~