Post

EIGRP LoadBalancing

EIGRP LoadBalancing

πŸ“š EIGRP Load Balancing

EIGRP (Enhanced Interior Gateway Routing Protocol) is a smart routing protocol that can send traffic across multiple paths to the same destination. This helps make your network faster, more reliable, and efficient.

EIGRP supports two types of load balancing:

  • Equal-Cost Load Balancing
  • Unequal-Cost Load Balancing (this is what makes EIGRP special!)

πŸ” 1. Equal-Cost Load Balancing (ECMP)

When all available paths to a destination have the SAME cost/metric.

βœ… Key Points:

  • EIGRP will use multiple paths only if they have the exact same metric.
  • It splits the traffic evenly across these paths.
  • By default, up to 4 paths can be used.
  • You can increase this using the maximum-paths command (up to 16 paths).

🧠 Think of it like:

Having 4 identical roads from your house to school. You send 1/4 of the cars down each road.


πŸŒ€ 2. Unequal-Cost Load Balancing

When paths to the same destination have different metrics, but are still usable.

This is what makes EIGRP powerful β€” it can use slower or less preferred paths if they are still safe (loop-free).

🚨 But there’s a rule! (Very important)

To avoid loops, the path must be a Feasible Successor.

πŸ” What’s a Feasible Successor?

It’s a backup route that is:

  • Loop-free
  • Not the best, but still valid

βœ… It meets the Feasibility Condition:

The reported distance from the neighbor must be less than your current best distance to that destination.


βš™οΈ Using variance for Unequal-Cost Load Balancing

The variance command tells EIGRP:

β€œI’m okay with using paths that are up to X times worse than the best path.”

  • variance is a multiplier (1–128)
  • Default is 1 (only equal-cost paths allowed)

Example:

  • Best path = metric 100
  • variance 2 β†’ accept paths up to metric 200

πŸ“¦ How Traffic is Shared (Traffic Sharing)

  • With equal-cost paths: traffic is shared evenly.
  • With unequal-cost paths: traffic is shared proportionally based on metrics.

Example:

PathMetricTraffic Share Ratio
A (best)1002 packets
B (backup)2001 packet

EIGRP will send 2 packets through A for every 1 packet through B (2:1 ratio).


🧰 Configuration Summary

FeatureCommand (Classic Mode)Description
Max Pathsmaximum-paths <1-16>Max number of paths to install
Variancevariance <1-128>Allows unequal-cost paths
Traffic Sharetraffic-share balanced (default)Share traffic by metric ratio
Β traffic-share minUse only best path for traffic

πŸ‘¨β€πŸ« Easy Analogy

You’re delivering pizza to a town.

  • Equal-Cost Load Balancing:
    You have 4 highways of equal speed. You send your delivery trucks evenly across all.

  • Unequal-Cost Load Balancing:
    You have 1 fast highway and a couple of slower but still good roads. If the highway gets crowded, you send some trucks through the slower roads β€” but only if you’re sure they won’t get lost (Feasibility Condition).


🧠 Final Tips

  • Remember the Feasibility Condition. It’s the safety rule for avoiding loops.
  • Use variance only when you want to include backup paths with higher metrics.
  • Always set maximum-paths high enough to include all the paths you want EIGRP to use.
  • Use show ip eigrp topology to see:
    • Feasible Successors
    • Reported and Feasible Distances
    • Active vs Passive routes

πŸ™Œ Connect With Me

GitHub LinkedIn YouTube Gmail

This post is licensed under CC BY 4.0 by the author.