1、编辑/etc/sysconfig/networkifcfg-bond0 文件:
/etc/sysconfig/network # vi ifcfg-bond0
BOOTPROTO='static'
BROADCAST='88.88.88.255'
IPADDR='88.88.88.2'
MUT=''
NETMASK='255.255.255.0'
NETWORK='88.88.88.0'
REMOTE_IPADDR=''
STARTMODE='onboot'
BONDING_MASTER=yes
BONDING_SLAVE0='bus-pci-0000:07:00.0'
BONDING_SLAVE1='bus-pci-0000:10:00.0'
BONDING_MODULE_OPTS='miimon=100 mode=1 use_carrier=0'
IPADDR_01='88.88.88.11'
NETMASK_01='255.255.255.0'
LABEL_01='01'
IPADDR_02='88.88.88.12'
NETMASK_02='255.255.255.0'
LABEL_02='02'
IPADDR_03='88.88.88.13'
NETMASK_03='255.255.255.0'
LABEL_03='03'
IPADDR_04='88.88.88.14'
NETMASK_04='255.255.255.0'
LABEL_04='04'
2、rcnetwork restart 重启网卡
阅读(4009) | 评论(0) | 转发(0) |