Bind the bond dual nic and linuxbond dual Nic in linux

Source: Internet
Author: User

Bind the bond dual nic and linuxbond dual Nic in linux
Step 1: # vi/etc/sysconfig/network-scripts/ifcfg-bond0 DEVICE = bond0 BONDING_OPTS = "mode = 0 miimon = 100" BOOTPROTO = none ONBOOT = yes BROADCAST = 192.168.0.255 IPADDR = 192.168.0.180 NETMASK = 255.255.255.0 NETWORK = 192.168.0.0 USERCTL = no BONDING_OPTS = "mode = 0 miimon = 100 ", mode has multiple modes to implement different functions,Cloud server, cloud database solution, network security protection preferredStep 2: # vi/etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE = eth0 BOOTPROTO = none ONBOOT = yes MASTER = bond0 SLAVE = yes USERCTL = no # vi/etc/sysconfig/network-scripts /ifcfg-eth1 DEVICE = eth1 BOOTPROTO = none ONBOOT = yes MASTER = bond0 SLAVE = yes USERCTL = no Step 3: configure/etc/modprobe. conf, add alias bond0 bonding # vi/etc/modprobe. confalias eth0 e1000e alias eth1 e1000e alias scsi_hostadapter mptbasealias scsi_hostadapter1 mptspi alias bond0 bonding Step 4: restart the network service # service network restart

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.