Chinaunix首页 | 论坛 | 博客
  • 博客访问: 359937
  • 博文数量: 100
  • 博客积分: 1894
  • 博客等级: 上尉
  • 技术积分: 951
  • 用 户 组: 普通用户
  • 注册时间: 2007-12-11 23:17
文章分类

全部博文(100)

文章存档

2018年(3)

2014年(2)

2013年(7)

2012年(10)

2011年(8)

2010年(6)

2009年(63)

2008年(1)

分类: LINUX

2013-05-03 13:16:35

/etc/sysconfig/network-scripts/ifcfg-bond0

DEVICE=bond0

IPADDR=10.20.15.15

NETMASK=255.255.254.0

GATEWAY=10.20.15.1

MTU=1400

ONBOOT=yes

TYPE=Ethernet

 

/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0

MASTER=bond0

SLAVE=yes

ONBOOT=yes

 

/etc/sysconfig/network-scripts/ifcfg-eth1

DEVICE=eth1

MASTER=bond0

SLAVE=yes

ONBOOT=yes

修改配置文件 /etc/modprobe.conf


添加如下2行, 并重启网络服务:

alias bond0 bonding
options bond0 miimon=100 mode=5


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