Home / Network / Routing / DUAL route FSM Processing of EIGRP Queries

DUAL route FSM Processing of EIGRP Queries

This blog is a part of series of posts about EIGRP routing protocol. Let’s recall that EIGRP is one of the so called IGP routing protocols. IGP stands for interior routing protocols as opposed to EGP or exterior routing protocols. In addition EIGRP is a hybrid as it borrows some similarities to distance-vector and link-state type of routing processing by protocols such as: RIP and OSPF.

In this post we explore how DUAL (diffusing update algorithm) route FSM (finite state machine) works. DUAL is the way EIGRP helps keep routing information consistent among all routers belonging to the same domain.

DUAL route FSM into play

An interesting case of how DUAL route FSM operates is presented next. We see in the next figure that the FSM is a 5 states: one passive and four active states, and almost 12 events kind of pseudo code or algorithm. the R and O are reply status and origin of a route.

First let’s note that an EIGRP router send a Query to its neighbor to find a better route to a destination that has passed from Passive (working state) to Active (not working any more) state; that is actively searching for a new feasible route to a destination that no more satisfies the Feasibility Condition (to be installed in the effective routing table or validated for advertisement to other neighbors).

at first

After EIGRP packet generic input processing (to validate the packet), a router that receives a Query message checks if the corresponding route is Passive (working state) or Active (in its database in a non working, routing state).

router is passive for the route

If router is Passive for this route and a neighbor has reported (kind of reply to a query) an unreachable metric, by means of 0xffffffff put in the field corresponding to the cumulative Delay part of Metric, a reply is sent immediately to this neighbor hinting him to consider rather information contained in Reply message (with its information).

If metric is not Unreachable, then the router considers checking FC (the feasibility) condition by adding Query information to its computation. If FC condition is still met, it replies to its neighbor with this received information (meaning that the router is on the best route from the neighbor to the destination).

router is active for the route

If Not (the router is not on the best route), it put its own prefix in Active (not working or routing) state. Further, it sends a Reply to its neighbor if he does not correspond to the current Successor (kind of a split horizon rule). If the Query was received from the Successor (representing the best route), only the Query Origin code is set to 3 in FSM (event IE2). Otherwise, it is set to 1 (FSM event IE3).

If router is Active for this route upon reception of the Query message, then it changes the current route Query Origin code to correspond to 2 (FSM event IE10), if the message was received from the Successor. Otherwise, it sends a Reply to this neighbor.

in general

It is interesting to see that whenever the router considers it has a better route to a destination it replies to its neighbor. If it considers that it may not have the best route, route is passed to Active state and it replies back to the neighbor provided that it’s not the current route Successor (the one presenting the best route cost calculation to the target network).

One Comment

Leave a Reply

802.11 (4) application (2) architecture (4) asm (4) automatisation (2) cagd (3) chd (2) cisco (6) command (5) controller (1) cost (6) coverage (5) debug (10) distance (6) dtls (2) dynamic rrm (5) firewall (2) fortinet (2) ieee (4) igmp (5) igp (8) interference (2) internet (3) ip (2) logique (2) loop (5) mac (3) machine learning (3) meraki (1) model (2) mpls (3) mroute (4) multicast (5) nat (2) ndp (2) network (3) next-hop (5) nurbs (3) osi (6) pat (2) pim (4) poisoning (6) projet (2) qos (2) radio (5) rib (5) rip (5) route (6) router (6) routing (15) rpf (4) rrm (10) security (3) show (5) simulation (2) sla (2) snr (2) solution (2) split-horizon (5) sql (1) ssl (2) ssm (4) static (6) stp (2) summarization (5) tcp (2) translation (1) travail (2) udp (2) vpn (3) vrf (3) wifi (11) wireshark (2) wlan (7) wlc (5)

  • vPC vs VSS
    Si l’objectif “historique” est le même : s’affranchir de la limitation de STP (blocage de ports pour prévenir les boucles), de l’usage des FHRP (HSRP, VRRP) pour équilibrer les liens, d’augmenter les performances en débit et capacité de calcul, d’éliminer les SPOF liés à l’utilisation d’un seul châssis ou stack de switches… les implémentations du
  • D.A.T(er) comme un professionnel, un Architecte…
    Dans ce blog, je présente ce travail sur le DAT ou Dossier d’architecture technique d’un point de vue d’un architecte réseau et services (sécurité, qualité de service, gestion d’infrastructure). Le lien vers le travail complet est: D.A.T(er) comme un professionnel, un Architecte… Le DAT… Le dossier d’architecture technique ou DAT s’inscrit en amont dans le
  • La dRRM du WiFi… en action!
    Ce blog présente le travail que vous pouvez retrouver sous le lien: La dRRM du WiFi… en action!, concernant la gestion des ressources radio dans un réseau wifi. La gestion des ressrouces radio ou RRM qui est au coeur de tout développement ou conception d’architecture wifi (d’entreprise ou publique). La RRM commen processus ou module
  • From router configuration to Excel… a basic how to automate configuration work process!
    comment récupérer une certaine information d’un fichier de configuration (routeur IOS de Cisco par exemple) et la mettre dans un fichier Excel en vue d’un traitement plus avancé ce traitement peut être simplement de comparer cette information de plusieurs sources (du routeur et du pare-feu, par exemple) à titre d’exemple nous souhaitons vérifier que les
  • Protected: An example network from scratch: Internet access
    This content is password protected.
September 2025
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  
Table of Contents
Copied!