Configure bond multi-Nic server load balancer in CentOS6
Source: Internet
Author: User
1. set the bonding module vi/etc/modprobe to be loaded upon startup. d/bonding. add the following two lines to the conf file: aliasbond0bondingoptionsbond0miimon100mode0 # mode0 indicates that server load balancer 2 modifies the Nic configuration file cd/etc/sysconfig/n...
1. set the bonding module vi/etc/modprobe to be loaded upon startup. d/bonding. add the following two lines to the conf file: alias bond0 bonding options bond0 miimon = 100 mode = 0 # mode0 indicates server load balancer 2 modifying the Nic configuration file cd/etc/sysconfig/network-scripts /, create a new ifcfg-bond0 file with the following content: DEVICE = bond0IPADDR = 255.255.255.0NETWORK = 192.168.106.0ONBOOT = yesNAME = bond0BOOTPROTO = noneUSERCTL = noGATEWAY = 192.168.106.254 modify the Nic configuration file for bond, such as ifcfg-eth0, ifcfg-eth1, content are as follows: DEVICE = eth0ONBOOT = yesBOOTPROTO = noneUSERCTL = noMASTER = bond0SLAVE = yes DEVICE = eth1ONBOOT = yesBOOTPROTO = noneUSERCTL = noMASTER = bond0SLAVE = yes 3, make the configuration take effect. 4. configure the vSwitch port and add the port connected to the server to a port aggregation group.
From Hu Zhenwei's blog
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.