Equal Cost Multi-Path (ECMP)

  • Equal Cost Multi-Path (ECMP) is a routing technique that allows a router to use multiple paths to the same destination when they all have the same cost. Instead of keeping only one route, the router installs every equal-cost path into the routing table and shares the traffic between them.

    To understand this concept, let’s use the following OSPF topology where every router advertises its directly connected networks.

    OSPF Equal Cost Multi-Path ECMP example with R1 using two routes, R1–R2–R4 and R1–R3–R4, to 192.168.2.0/24

    Figure 1 – OSPF equal-cost paths from R1 to reach 192.168.2.0/24

    In this case, R1 can reach the destination 192.168.2.0/24 using two different paths:

    • R1 → R2 → R4

    • R1 → R3 → R4

    Answer the question below