cat ifcfg-bond0
DEVICE=bond0
BOOTPROTO=none
IPADDR=172.16.129.151
NETMASK=255.255.255.0
ONBOOT=yes
USERCTL=no
GATEWAY=172.16.129.254
cat ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
MASTER=bond0
SLAVE=yes
cat ifcfg-eth2
DEVICE=eth2
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
MASTER=bond0
SLAVE=yes
cat /etc/modprobe.conf
alias eth0 bnx2
alias eth1 bnx2
alias eth2 bnx2
alias eth3 bnx2
alias bond0 bonding
options bond0 miimon=100 mode=1 updelay=60000 primary=eth0
MODE 1代表主备。
MODE 0代表LOAD BANLANCE
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22034023/viewspace-721553/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/22034023/viewspace-721553/