Linux Network Setting tips: Implement Multi-nic bonding

Source: Internet
Author: User
Linux Network Setting tips: Enable multi-nic bonding-Linux Enterprise Application-Linux server application information. For more information, see the following. ? You can use multiple NICs to create a network card with the same IP address. This technology actually exists in sun and cisco, respectively known as Trunking and etherchannel technology. In Linux, this technology is called bonding.
?? Because bonding is included in kernel 2.4.x, you only need to select Bonding driver support in network device options during compilation.
?? Then, recompile the core, restart the computer, and execute the following command:
?? Ismod bonding
?? Ifconfig eth0 down
?? Ifconfig eth1 down
?? Ifconfig bond0 ipaddress
?? Ifenslave bond0 eth0
?? Ifenslave bond0 eth1
?? Now the two NICs work like one, which improves data transmission between cluster nodes.
?? You 'd better write these statements as a script, which is then called by/etc/rc. d/rc. local to take effect on the server.
?? Bonding is a good choice for Servers. When there is no Gigabit Nic, using two or three 100 m NICs as bonding can greatly increase the bandwidth between servers and switches. however, you need to set the two ports mapped to the same Virtual Interface on the vswitch to connect to the bonding Nic.
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.