Post

EIGRP Query Process

EIGRP Query Process

๐Ÿง  EIGRP Route Selection & Query Process


1. โœ… Feasibility Condition (FC)

To qualify as a Feasible Successor (FS), a neighborโ€™s route must meet the Feasibility Condition:

Reported Distance (RD) < Feasible Distance (FD)

  • Ensures loop-free backup routes.
  • FS routes are stored in the topology table, not routing table.

2. ๐Ÿ“˜ Key Definitions

TermDescription
Successor (S)Primary/best path to a destination (added to routing table).
Feasible Successor (FS)Backup route meeting FC (stored in topology table only).
Feasible Distance (FD)Best known distance from the router to the destination.
Reported Distance (RD)Distance reported by a neighbor to reach the destination.
Passive StateRoute is stable (normal state).
Active StateRouter is actively searching for a new path by sending queries.

3. ๐Ÿ—บ๏ธ Topology Example (Based on Your Diagram)

Destination: 192.168.10.0/24
Source Router: R1

PathNext-HopStatus
Path 1R2โœ… Successor
Path 2R3โŒ Not FS (doesnโ€™t meet FC) โ€” not stored
Path 3R4โœ… Feasible Successor (FS)

4. ๐Ÿšจ Failure Scenario Walkthrough

๐Ÿ”น Step 1: Successor (R2) Fails

  • FS via R4 gets promoted to new Successor
  • Route remains in Passive state (no queries needed)
  • Still stable and reachable

๐Ÿ”น Step 2: FS (R4) Also Fails

  • Now R1 has:
    • โŒ No Successor
    • โŒ No Feasible Successor
  • R1 changes route to Active State
  • Sends Query messages to:
    • R3 (even though it wasnโ€™t FS)
    • Any neighbor that may have a valid path

5. ๐Ÿ”„ EIGRP Query & Reply Mechanism

PhaseAction
R1 sets the route to Active StateBecause no FS is available
R1 sends Query to neighborsโ€œDo you have a route to 192.168.10.0/24?โ€
Neighbors check their own routing/topology tablesย 
If they have a valid route โ†’ Replyย 
If not โ†’ Forward Query to their own neighborsย 
R1 waits for Replies from all queried neighborsย 

6. โฑ๏ธ SIA (Stuck-in-Active) Process

โš ๏ธ What is SIA?

A route becomes Stuck-in-Active when a router:

  • Sends a query
  • But doesnโ€™t get replies from all neighbors in time

๐Ÿงฉ SIA Timer Mechanics

TimerPurpose
180 sec totalTime router waits before declaring route as SIA
First 90 secRouter may send SIA-Query to unresponsive neighbor
SIA-ReplyIf neighbor responds to SIA-Query, original 180 sec is reset

๐Ÿ” So the flow is:

  1. Query sent
  2. If no reply within 90 seconds, router sends SIA-Query
  3. If neighbor responds with SIA-Reply, route stays active, timer resets
  4. If still no reply after full 180 seconds, the route is marked SIA
  5. Router:
    • Drops the route
    • Possibly resets the neighbor adjacency

7. โ— Key Point: Passive vs. Active

Route StateWhen It Happens
PassiveNormal state โ€“ route is stable & reachable
ActiveTriggered only when: no S & no FS
ย Router sends Query messages

8. ๐Ÿง  Final Recap

EventR1 Behavior
R2 (Successor) failsR4 (FS) becomes new Successor; state remains Passive
R4 also failsNo S/FS โ†’ Route becomes Active
R1 sends QueriesTo all neighbors asking for alternative routes
No reply in 90 secSends SIA-Query
Reply receivedRoute remains Active; timer resets
No reply in 180 secRoute becomes Stuck-in-Active, removed from topology + routing table
Neighbor unresponsiveAdjacency with neighbor may be reset

๐Ÿ™Œ Connect With Me

GitHub LinkedIn YouTube Gmail

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