Centos dual Nic binding technology in the/etc/sysconfig/network-scripts/directory to create a ifcfg-bond0 file, the content of the file is as follows: DEVICEbond0www. 2cto. comuserctlnobootprotononeonbootyesipaddr192.168.100.17netmask2017255. centos dual Nic binding technology in the/etc/sysconfig/network-scripts/directory to create a ifcfg-bond0 file, the content of the file is as follows: DEVICE = bond0 www.2cto.com USERCTL = noBOOTPROTO = noneONBOOT = yesIPADDR = 192.168.100.17NETMASK = 255.255.255.0GATEWAY = 192.168.100.1TYPE = UnKnownBONDING_OPTS = "miimon = 80 mode = 0" Set the mode to 0, which is the rond-robin mode. Then modify the ifcfg-eth0 file, as follows: DEVICE = "eth0" # HWADDR = "00: 0D: 60: 9A: 7B: 0A "ONBOOT =" yes "BOOTPROTO = noneMASTER = bond0SLAVE = yesUSERCTL = no modify the ifcfg-eth1 file as follows: DEVICE =" eth1 "# HWADDR =" 00: 0D: 60: 9A: 7B: 0B "ONBOOT =" yes "BOOTPROTO = noneMASTER = bond0SLAVE = yesUSERCTL = no in/etc/modprobe. d/create bonding in the directory. the conf file contains the following content: alias bond0 bonding, restart the network service network restart, and then you can use ifconfig-a to view the bound bond0 Nic. the mac addresses of bond0 and eth0 and eth1 are the same. You can run the cat/proc/net/bonding/bond0 command to check the binding status.
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.