1. create bond0 config file
# vi /etc/sysconfig/network-scripts/ifcfg-bond0--- START EDIT ---DEVICE=bond0IPADDR=10.10.10.11NETWORK=10.10.10.0NETMASK=255.255.255.0USRCTL=noBOOTPROTO=noneONBOOT=yes
--- END EDIT ---
2. edit the following files:
# vi /etc/sysconfig/network-scripts/ifcfg-eth0--- START EDIT ---DEVICE=eth0MASTER=bond0SLAVE=yesHWADDR=00:0C:29:8D:FB:EFTYPE=EthernetUUID=5606b424-2186-410d-9dbc-dcb65b330bd9ONBOOT=yesNM_CONTROLLED=yesBOOTPROTO=none--- END EDIT ---
# vi /etc/sysconfig/network-scripts/ifcfg-eth1
--- START EDIT ---DEVICE=eth1MASTER=bond0SLAVE=yesHWADDR=00:25:B5:0B:B1:00TYPE=EthernetUUID=6353d563-0a85-47d2-b566-37f6c91c8973ONBOOT=yesNM_CONTROLLED=yesBOOTPROTO=none--- END EDIT ---
3. create bond module file
# vi /etc/modprobe.d/modprobe.conf--- START EDIT ---alias bond0 bondingoptions bond0 mode=balance-alb miimon=100--- END EDIT ---
4. restart network
# service network restart
No comments:
Post a Comment