NICs Bonding Modes
The Characteristics of the bonded NICs come under the type of bonding modes adopted, so generally, we specify two and three modes of the object of the bonding NICs.
- Mode=0 (Round-robin) – It’s a kind of default mode. In round-robin mode, packets are sent and received in order from the first available slave to his last slave.
- Mode=1 (Active-backup) – So that Only one slave is active while another is sleeping. This standby NIC becomes active when the active NIC fails. Assuming there are N* interfaces, the resource utilization is 1/N.
- Mode=2 XOR(exclusive-or) – By this mode, XOR the source and destination MAC addresses are multiplied by the modulo port interface number.
- Mode=3 (Broadcast) – So in this mode, all packets are sent to all slave interfaces at the expense of resource usage. Usually used for a specific purpose. B. The financial industry requires a highly reliable network etc.
So in this article for creating the Interface(NICs) basically we will use the mode=1 active-backup
Note: One NICs Bonding interface can only specify one mode at a time.
Interface (NICs) Bonding in Linux using nmcli
A network interface card (NIC) is a hardware component that connects computers over a network. This is a circuit board attached to your computer that provides a dedicated network connection for your computer. Also called a network interface controller, network adapter, or LAN adapter. A NIC provides a computer with a dedicated, permanent connection to a network. Implements the physical layer circuitry required to communicate using data link layer standards such as Ethernet.