What is Link Aggregation (LAG/LACP)?
Why Interviewers Ask This
This tests whether you can apply Networking knowledge to real-world scenarios. Interviewers are looking for clarity of thought and evidence that you've encountered this in production code.
Answer
Link Aggregation (also called bonding, trunking, or port-channel) combines multiple physical network links into a single logical link, providing increased bandwidth and redundancy. If one physical link fails, the others continue carrying traffic. LACP (Link Aggregation Control Protocol, IEEE 802.3ad) is the standard protocol for negotiating link aggregation — both sides dynamically negotiate which links to aggregate. Cisco calls it EtherChannel; Linux calls it bonding. Load balancing across member links uses a hash algorithm based on: source/destination MAC, IP addresses, or port numbers — ensuring related packets take the same path (to avoid out-of-order delivery). A 4-link 1 Gbps bundle theoretically provides 4 Gbps of aggregate bandwidth. Static LAG (without LACP) can be configured but has no dynamic negotiation. Link aggregation is widely used between switches, between servers and switches, and between routers, providing both bandwidth and redundancy without spanning tree involvement.
Common Mistake
Many candidates answer correctly but can't explain the 'why'. Always be prepared to justify your answer with a concrete example or use case from your Networking experience.