Q1. How do I specify the primary device and query the primary device?
A: You can specify the primary device by setting the primary option. The primary option is valid only for mode 1 (active-backup). Specify eth1 as the primary device, as shown in Figure 1. eth1 is the active slave as long is it is available. The primary device will be replaced only when it is offline.
Figure 1 Specifying eth1 as the primary device
Run cat /proc/net/bonding/bond0 to query the primary device.
The primary device is eth1, and the primary device is in the active state, as shown in Figure 2.
Figure 2 Primary device eth1
Q2: How many network interface cards (NICs) can be bonded?
A: The number of bonding devices that can be created is not restricted. The number of slave devices supported by a bonding device depends on the number of network ports supported by a Linux OS and the number of NICs that can be installed in a system.
Q3: What are bonding requirements for NIC chips?
A: All Ethernet NICs can be bonded. You also can combine NICs. For example, bond one Intel EtherExpress PRO/100 NIC and one 3Com 3C905B NIC. For most modes, devices do not need to provide the same rate.
For bond0 templates of SUSE and RedHat operating systems (OSs), see bond0 Template.
How to obtain: Locate the Documentation/networking/bonding.txt file in the latest kernel source code.
Quidway S5300 Series Ethernet Switches Product Documentation
How to obtain: http://support.huawei.com/enterprise/productsupport?lang=en&pid=16563