-----linux
1. vi /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
ONBOOT=yes
BOOTPROTO=none
NETMASK=255.255.255.0
IPADDR=123.0.0.54
BROADCAST=123.0.0.255
NETWORK=123.0.0.0
USERCTL=no
TYPE=Ethernet
2.vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=NO
TYPE=Ethernet
3.vi /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=NO
TYPE=Ethernet
4. vi /etc/modprobe.conf 最后行加入
alias bond0 bonding
options bond0 miimon=100 mode=1 ##mode=0 loadblance on switch support , mode=1 failover , mode=6 loadblance
5.vi /etc/rc.d/rc.local 最后行加入
ifenslave bond0 eth0 eth1
6.reboot
---windows on HP server
使用HP Network configuration Utility
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28539951/viewspace-1299864/
,如需转载,请注明出处,否则将追究法律责任。