# Network Interface Bonding

> Implementation of network interface bonding modes, load balancing methods, and failover configurations for increased bandwidth and reliability

- **Canonical URL:** https://flashcards.world/flashcards/sets/d258c358-ad8a-4344-9413-d7a245f05a61/
- **Markdown URL:** https://flashcards.world/flashcards/sets/d258c358-ad8a-4344-9413-d7a245f05a61.md
- **Category:** Network Engineering
- **Level:** intermediate
- **Languages:** en → en
- **Total Cards:** 48

## Flashcards (48 Cards)

| # | Front (Term / Prompt) | Back (Definition / Answer) | Example | Multiple-Choice Options |
| :--- | :--- | :--- | :--- | :--- |
| 1 | What is mode 0 in network bonding? | Mode 0, or round-robin, transmits packets in sequential order from the first available interface, providing load balancing. |  |  |
| 2 | What is the effect of using multiple bonding modes simultaneously? | Using multiple bonding modes simultaneously is not supported; each bond can only operate in one mode at a time. |  |  |
| 3 | What is a common use case for network interface bonding? | A common use case is in data centers where high availability and increased bandwidth are critical for server performance. |  |  |
| 4 | What is network interface bonding? | Network interface bonding is the combination of multiple network interfaces into a single logical interface to increase bandwidth and provide redundancy. |  |  |
| 5 | What is mode 1 in network bonding? | Mode 1, or active-backup, uses one interface as the active interface while the others are in standby, providing failover capabilities. |  |  |
| 6 | What is the purpose of the 'downdelay' parameter? | The 'downdelay' parameter specifies the time to wait before disabling a link after it has been detected as down. |  |  |
| 7 | What is the 'bonding' interface typically named in Linux? | The bonding interface is typically named 'bond0', 'bond1', etc., depending on the configuration. |  |  |
| 8 | What is the role of ARP in active-backup mode? | In active-backup mode, ARP is used to detect link failures and switch to the backup interface when the active one fails. |  |  |
| 9 | What is the 'bonding mode' parameter in network configuration? | The 'bonding mode' parameter specifies the operational mode of the bond, determining how traffic is handled. |  |  |
| 10 | What is the difference between load balancing and failover? | Load balancing distributes traffic across multiple interfaces, while failover provides redundancy by switching to a backup interface when the primary fails. |  |  |
| 11 | What command is used to check the status of bonded interfaces in Linux? | The command 'cat /proc/net/bonding/bond0' (replace bond0 with your bond interface) is used to check the status. |  |  |
| 12 | How does network interface bonding relate to network redundancy? | Network interface bonding enhances redundancy by ensuring that if one interface fails, others can take over without interruption. |  |  |
| 13 | What is the 'mode' parameter in bonding configurations? | The 'mode' parameter specifies the bonding mode to be used, determining how traffic is distributed and managed. |  |  |
| 14 | Name two common bonding modes. | Two common bonding modes are mode 0 (round-robin) and mode 1 (active-backup). |  |  |
| 15 | What is the purpose of the bonding driver in Linux? | The bonding driver in Linux manages the bonding of multiple network interfaces, allowing for configuration of various bonding modes. |  |  |
| 16 | What is the difference between static and dynamic link aggregation? | Static link aggregation is manually configured, while dynamic link aggregation uses protocols like LACP to negotiate link aggregation automatically. |  |  |
| 17 | What is the 'bonding mode' for failover only? | The bonding mode for failover only is mode 1 (active-backup), which uses one interface actively and others as backups. |  |  |
| 18 | What is the 'primary' parameter in bonding configurations? | The 'primary' parameter specifies which interface should be the primary in active-backup mode, determining the active interface. |  |  |
| 19 | What is the significance of the 'miimon' parameter in bonding? | The 'miimon' parameter specifies the MII monitoring interval, which determines how often the bonding driver checks the link status. |  |  |
| 20 | What is the 'bond-slave' command used for? | The 'bond-slave' command is used to attach a network interface to a bonding interface in Linux. |  |  |
| 21 | What happens if all interfaces in a bond fail? | If all interfaces in a bond fail, the bond interface will also fail, resulting in loss of network connectivity. |  |  |
| 22 | How do you configure network interface bonding in Linux? | You configure network interface bonding by editing the network configuration files or using commands like 'ifenslave' to attach interfaces to the bond. |  |  |
| 23 | Can network interface bonding be used with wireless interfaces? | Yes, network interface bonding can be used with wireless interfaces, but it may have limitations compared to wired interfaces. |  |  |
| 24 | Describe mode 6 (balance-alb). | Mode 6 (balance-alb) enhances mode 5 by allowing receive load balancing as well, without requiring switch support. |  |  |
| 25 | What is the role of the switch in 802.3ad bonding? | The switch must support LACP for 802.3ad bonding to function correctly, allowing it to manage the aggregated links. |  |  |
| 26 | What is the purpose of the 'arp_interval' parameter? | The 'arp_interval' parameter defines how often ARP requests are sent to check the status of the active interface in active-backup mode. |  |  |
| 27 | How does network interface bonding affect IP addressing? | In bonding, a single IP address is assigned to the bond interface, while the physical interfaces can have their own addresses or none. |  |  |
| 28 | What is a potential drawback of mode 3 (broadcast)? | A potential drawback of mode 3 is that it can lead to increased network traffic and potential congestion since all packets are sent on all interfaces. |  |  |
| 29 | What is the role of the 'arp_interval' in active-backup mode? | The 'arp_interval' defines how often the bonding driver checks the status of the active interface by sending ARP requests. |  |  |
| 30 | What are the primary benefits of network interface bonding? | The primary benefits include increased bandwidth, improved fault tolerance, and enhanced network reliability. |  |  |
| 31 | What is mode 3 (broadcast)? | Mode 3 (broadcast) sends all packets on all interfaces, ensuring that all data is received by all interfaces. |  |  |
| 32 | What is the 'miimon' default value in bonding configurations? | The default value for 'miimon' is typically 100 milliseconds. |  |  |
| 33 | What is the maximum number of interfaces that can be bonded in Linux? | Linux supports bonding of up to 32 interfaces in a single bond. |  |  |
| 34 | How can you achieve load balancing with mode 4 (802.3ad)? | Load balancing in mode 4 is achieved by distributing outgoing traffic across all available links based on the current load. |  |  |
| 35 | How can you monitor the performance of bonded interfaces? | You can monitor performance using tools like 'iftop', 'nload', or by checking the statistics in '/proc/net/bonding/'. |  |  |
| 36 | What is the impact of network interface bonding on network performance? | Network interface bonding can significantly improve performance by increasing throughput and reducing downtime during failures. |  |  |
| 37 | How does mode 5 (balance-tlb) handle outgoing traffic? | Mode 5 handles outgoing traffic by dynamically balancing it across all active interfaces based on their current load. |  |  |
| 38 | What is the purpose of the 'xmit_hash_policy' parameter? | The 'xmit_hash_policy' parameter determines how outgoing packets are distributed across the bonded interfaces. |  |  |
| 39 | What is the significance of the 'arp_all_targets' parameter? | The 'arp_all_targets' parameter, when enabled, allows the bonding driver to send ARP requests for all targets, improving failover detection. |  |  |
| 40 | How does mode 2 (balance-xor) work? | Mode 2 (balance-xor) transmits packets based on the XOR of the MAC addresses, providing load balancing and fault tolerance. |  |  |
| 41 | Explain mode 4 (802.3ad). | Mode 4 (802.3ad) uses Link Aggregation Control Protocol (LACP) to dynamically manage multiple links, providing load balancing and redundancy. |  |  |
| 42 | How does network interface bonding improve fault tolerance? | It improves fault tolerance by allowing traffic to continue flowing through backup interfaces if the primary interface fails. |  |  |
| 43 | Can you use network interface bonding with VLANs? | Yes, network interface bonding can be used with VLANs to provide redundancy and load balancing for virtual networks. |  |  |
| 44 | What is the role of the 'bonding' module in the Linux kernel? | The 'bonding' module in the Linux kernel provides the functionality to create and manage bonded network interfaces. |  |  |
| 45 | What is the impact of network interface bonding on network latency? | Network interface bonding can potentially reduce latency by providing faster failover and load balancing, but it may introduce some overhead. |  |  |
| 46 | What is mode 5 (balance-tlb)? | Mode 5 (balance-tlb) allows for load balancing without requiring any special switch support, dynamically adjusting based on the current load. |  |  |
| 47 | How does network interface bonding improve overall network throughput? | By aggregating multiple interfaces, network interface bonding allows for higher aggregate bandwidth, improving overall throughput. |  |  |
| 48 | What does the 'updelay' parameter do in bonding configurations? | The 'updelay' parameter specifies the time to wait before enabling a link after it has been detected as up. |  |  |

---
Study this deck interactively with FSRS-6 spaced repetition, audio review, and multiple-choice mode at [Flashcards World](https://flashcards.world/flashcards/sets/d258c358-ad8a-4344-9413-d7a245f05a61/).
