Linux Bond configuration steps

Source: Internet
Author: User

One, Nic binding: 1: Create a Ifcfg-bond0

#cd/etc/sysconfig/network-scripts/

#vi ifcfg-bond0

Device=bond0

Type=ethernet

Onboot=yes

Bootproto=static

ipaddr=10.5.20.13

netmask=255.255.252.0

gateway=10.5.20.253

bonding_opts= "Mode=0 miimon=100" # #mode有多种模式实现不同的功能

2: Modify/etc/sysconfig/network-scripts/ifcfg-eth*

#vi Ifcfg-eth0

Device=eth0

Onboot=yes

Bootproto=none

Master=bond0

Slave=yes


#vi ifcfg-eth1

Device=eth1

Onboot=yes

Bootproto=none

Master=bond0

Slave=yes

3: Configure/etc/modules.conf, add alias bond0 bonding

This configuration may not be required to create

#vi/etc/modules.conf

Alias net-pf-10 off

Alias IPv6 off

Options IPv6 disable=1

Alias Bond0 Bonding

4: Restart Service

#service Network Restart


You can view /proc/net/bonding/bond0 to see what Bond is currently being used in what mode

This article is from the "Stone" blog, be sure to keep this source http://410477.blog.51cto.com/400477/1638976

Linux Bond configuration steps

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.