分类: 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