Linux system dual NIC binding order an IP address

Source: Internet
Author: User
Tags bind centos backup linux

Double NIC binding order IP address in order to provide high availability of the network, we may need to bind multiple network cards into a virtual network card to provide services, so that even if one of the physical network card failure, it will not cause connection interruption. Multiple NIC bindings.

In order to provide high availability of the network, we may need to bind multiple network cards into a single virtual NIC to provide services, so that even if one of the physical network card fails, it will not cause the connection to be interrupted. Under Linux called BONDING,IBM called Etherchanel,broadcom team, but the name of how to change, the effect is to two or more cards as a network card use, in addition to increase the bandwidth can also improve redundancy. For example, we can bind eth0 and eth1 into a virtual NIC bond0 under CentOS 6.3.

As shown in figure:

Experimental configuration:

Mode=1: Fault-tolerance (active-backup) provides redundancy, working mode is the main standby mode of work, one of the network card in the work (if the eth0 broken), then automatically switch to another block card (eth1 do Backup).

System Device Name IP Address Subnet mask
CentOS 6.3_64bit Eth0
Eth1
Bond0 10.1.3.210 255.255.255.0

1, view the host network card

[Root@web ~]# cd/etc/sysconfig/network-scripts/

[Root@web1 network-scripts]# LL

Total 200

-rw-r--r--. 1 root 212 Mar 22:15 Ifcfg-eth0

-rw-r--r--1 root root 212 Mar 19:10 ifcfg-eth1

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.