码迷,mamicode.com
首页 > 系统相关 > 详细

Linux-Bond-Configure

时间:2017-07-02 19:47:07      阅读:240      评论:0      收藏:0      [点我收藏+]

标签:config   use   ash   ddr   centos 6   device   star   etc   prot   

Centos 6.6



1. modify  /etc/modprobe.d/bond.conf

alias bond0 bonding

2. config eth0 & eth1

cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
USERCTL=no

cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
USERCTL=no

3. modify /etc/sysconfig/network-scripts/ifcfg-bond0 

DEVICE=bond0
TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=static
USERCTL=no
BONDING_OPTS="mode=1 miimon=100"
IPADDR=10.11.192.10
NETMASK=255.255.255.0
GATEWAY=10.11.192.1

4. service network restart 

  

Linux-Bond-Configure

标签:config   use   ash   ddr   centos 6   device   star   etc   prot   

原文地址:http://www.cnblogs.com/topicjie/p/7106814.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!