linux bond 配置步骤
2015-04-27 10:22
239 查看
一、网卡绑定:
1:创建一个ifcfg-bond0
#cd /etc/sysconfig/network-scripts/#vi ifcfg-bond0
DEVICE=bond0
TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.5.20.13
NETMASK=255.255.252.0
GATEWAY=10.5.20.253
BONDING_OPTS="mode=0 miimon=100" ##mode有多种模式实现不同的功能
2:修改/etc/sysconfig/network-scripts/ifcfg-eth*
#vi ifcfg-eth0DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
#vi ifcfg-eth1DEVICE=eth1ONBOOT=yesBOOTPROTO=noneMASTER=bond0SLAVE=yes
3:配置/etc/modules.conf,添加alias bond0 bonding
此配置可能没有,需要创建#vi /etc/modules.conf
alias net-pf-10 off
alias ipv6 off
options ipv6 disable=1
alias bond0 bonding
4:重启服务
#service network restart可以通过查看/proc/net/bonding/bond0,查看当前是用的bond是什么模式
相关文章推荐
- 配置Tomcat 全步骤。
- Sonar配置,严格按步骤做下来,一定可以的
- Eclipse下Struts2环境配置步骤
- 亲测plsql Developer配置免安装oralce客户端步骤
- tomcat解压版配置步骤
- Oracle 10g Replication -------多主体复制站点的配置步骤
- sublime3 docblocker插件定制自己的注释,配置步骤
- [转载]开源ZXing在XCode上如何使用<二维码应用库配置步骤>
- linux NFS 配置步骤
- 安装配置RMS服务器步骤
- [置顶] 帆软加密狗注册配置安装步骤
- IIS6.0配置HTTP压缩的步骤
- Win7配置SVN详细步骤(服务器和客户端)
- Xcode 6.2 导入最新XMPP框架详细步骤 与 在Xcode6.2中配置pch文件
- Xcode配置SVN详细步骤
- Linux 内核编译步骤及配置详解
- MongoDB远程访问配置步骤详解
- 嵌入式开发板与虚拟机Linux挂接NFS配置步骤
- 2017-07-30 DBA日记,MYSQL读书笔记第三天——MYSQL半同步复制配置步骤
- S2SH框架配置步骤