自己怕忘了,做一个记录内容
[root@nncb network-scripts]# cat ifcfg-bond0
DEVICE=bond0
IPADDR=
NETMASK=
BROADCAST=
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
GATEWAY=
[root@nncb network-scripts]# cat ifcfg-eth1
DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
MASTER=bond0
SLAVE=yes
TYPE=Ethernet
[root@nncb network-scripts]# cat ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
MASTER=bond0
SLAVE=yes
TYPE=Ethernet
vi /etc/modules.conf
mode=0是高可用,1是负载均衡
alias bond0 bonding
options bond0 miimon=100 mode=0
阅读(547) | 评论(0) | 转发(0) |