Redundant link Bond 1 application in Linux server

Source: Internet
Author: User
Tags linux

As we all know, Linux provides a powerful server function, but the server is very high on the link requirements, at least require 7*24 is connected. But once our server network card problem, or link problem, in this case, the server will not be normal access. Is there any way we can eliminate this phenomenon? The answer is yes, we can do Bond 1. The principle is that the server has two network cards, the two network cards bundled into a bond1, the common one IP address, when the main network card failure, another backup card immediately enabled.

Next, I'll do a bond 1 configuration.

======================================================================

To modify the network card parameters:

[Root@localhost ~]# Vim/etc/sysconfig/network-scripts/ifcfg-eth0

Device=eth0

Bootproto=dhcp

Onboot=yes

[Root@localhost ~]# Vim/etc/sysconfig/network-scripts/ifcfg-eth1

Device=eth1

Bootproto=dhcp

Onboot=yes

Establish and edit ifcfg-bond0 files:

[Root@localhost ~]# Touch/etc/sysconfig/network-scripts/ifcfg-bond0

[Root@localhost ~]# Vim/etc/sysconfig/network-scripts/ifcfg-bond0

Device=bond0

Bootproto=none

Onboot=yes

netmask=255.255.255.0

ipaddr=192.168.10.20

Call Bonding module:

[Root@localhost ~]# modprobe Bonding

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.