Network Interface Bonding

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

Category
Network Engineering
Level
intermediate
Languages
en → en
Cards
48
Markdown
Network Interface Bonding (.md)

Flashcards (48)

#Front (Term / Question)Back (Definition / Answer)ExampleMultiple-Choice Options
1What is mode 0 in network bonding?Mode 0, or round-robin, transmits packets in sequential order from the first available interface, providing load balancing.
2What 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.
3What 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.
4What 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.
5What 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.
6What 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.
7What is the 'bonding' interface typically named in Linux?The bonding interface is typically named 'bond0', 'bond1', etc., depending on the configuration.
8What 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.
9What is the 'bonding mode' parameter in network configuration?The 'bonding mode' parameter specifies the operational mode of the bond, determining how traffic is handled.
10What 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.
11What 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.
12How 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.
13What is the 'mode' parameter in bonding configurations?The 'mode' parameter specifies the bonding mode to be used, determining how traffic is distributed and managed.
14Name two common bonding modes.Two common bonding modes are mode 0 (round-robin) and mode 1 (active-backup).
15What 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.
16What 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.
17What 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.
18What 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.
19What 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.
20What is the 'bond-slave' command used for?The 'bond-slave' command is used to attach a network interface to a bonding interface in Linux.
21What 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.
22How 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.
23Can 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.
24Describe mode 6 (balance-alb).Mode 6 (balance-alb) enhances mode 5 by allowing receive load balancing as well, without requiring switch support.
25What 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.
26What 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.
27How 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.
28What 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.
29What 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.
30What are the primary benefits of network interface bonding?The primary benefits include increased bandwidth, improved fault tolerance, and enhanced network reliability.
31What is mode 3 (broadcast)?Mode 3 (broadcast) sends all packets on all interfaces, ensuring that all data is received by all interfaces.
32What is the 'miimon' default value in bonding configurations?The default value for 'miimon' is typically 100 milliseconds.
33What is the maximum number of interfaces that can be bonded in Linux?Linux supports bonding of up to 32 interfaces in a single bond.
34How 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.
35How 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/'.
36What 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.
37How 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.
38What is the purpose of the 'xmit_hash_policy' parameter?The 'xmit_hash_policy' parameter determines how outgoing packets are distributed across the bonded interfaces.
39What 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.
40How 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.
41Explain mode 4 (802.3ad).Mode 4 (802.3ad) uses Link Aggregation Control Protocol (LACP) to dynamically manage multiple links, providing load balancing and redundancy.
42How 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.
43Can 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.
44What 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.
45What 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.
46What 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.
47How does network interface bonding improve overall network throughput?By aggregating multiple interfaces, network interface bonding allows for higher aggregate bandwidth, improving overall throughput.
48What 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.