Chinaunix首页 | 论坛 | 博客
  • 博客访问: 108154
  • 博文数量: 29
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 397
  • 用 户 组: 普通用户
  • 注册时间: 2014-12-26 15:36
文章分类

全部博文(29)

文章存档

2016年(3)

2015年(13)

2014年(13)

我的朋友

分类: 系统运维

2014-12-31 14:50:41

bonding

/etc/init.d/NetworkManager stop ; chkconfig NetworkManager off ;chkconfig --list NetworkManager
chkconfig network on ; chkconfig --list network
cd /etc/sysconfig/network-scripts/

vim ifcfg-bond0
# Broadcom Corporation NetXtreme II BCM5716 Gigabit Ethernet
DEVICE=bond0
BOOTPROTO=static
ONBOOT=yes
IPADDR=10.101.0.25
NETMASK=255.255.255.0
GATEWAY=10.101.0.1

cat ifcfg-em1
DEVICE=em1
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=yes

cat ifcfg-em2
DEVICE=em2
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=yes

[root@localhost modprobe.d]# tail -3 /etc/modprobe.d/dist.conf
#bonding
alias bond0 bonding
options bond0 miimon=100 mode=0

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

上一篇:ubuntu.list

下一篇:hadoop内网集群部署

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