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

adsense (1) application (2) architecture (4) asm (4) automatisation (2) backbone (1) cef (1) chd (2) cisco (6) cloud (1) command (5) controller (1) cost (6) coverage (2) debug (9) distance (6) fiber (1) gns3 (1) google (1) hpe (1) http (1) igmp (5) igp (8) internet (2) ip (2) label (1) ldp (1) logique (2) loop (5) lsp (1) mac (3) meraki (1) model (2) mpls (3) mroute (4) multicast (5) nat (1) ndp (2) network (3) next-hop (5) osi (5) pat (1) pim (4) poisoning (6) projet (2) qos (1) radio (3) rib (5) rip (5) route (6) router (6) routing (14) rpf (4) rrm (3) security (3) show (5) simulation (2) solution (2) split-horizon (5) sql (1) ssm (4) static (6) stp (2) summarization (5) switching (1) tcp/ip (1) telecom (1) template (1) traffic engineering (1) translation (1) travail (2) vpn (2) vrf (3) wifi (4) wlan (2)

  • What is the best way of subnetting?
    In this post, let’s recall what is subnetting (for routing and switching purposes) and how it is done. introduction and motivation Network subnetting is very important subject that maybe referred to as VLSM for variable length subnetting. The basic idea is about managing a space of IP addresses (IPv4). Historically, a network length or space
  • SSL VPN to my home network
    In this blog let’s try to connect to a home network from outside (internet) in a secure manner using SSL. NAT and PAT NAT and PAT is what allowed local IP addresses translation or mapping to some routable public IP address (over the internet). This mapping can be one to one (NAT) or many to
  • Routing from scratch… Part 1
    In this serie of posts we’ll explore routing operation. Let’s start from the general idea of how could we manage trafic, a move from one location to another… In the example of the figure presented next, the person in A wants to join its colleagues in location B through the network topology described in the
  • When a gateway says: “I’am not a good gateway… set redirection!”
    In this blog we explore how a gateway (a router) present in a LAN handles routing to the outside of this network and use redirection to enhance this operation. lab setup Our lab setup is 3 routers: R1, R2 and R3, in addition to 2 PC: PC1 and PC2. In this lab, PC1 tries to
  • Multicast: rather than dense, sparse it and let’s meet at rendez-vous point… Part 5
    in this post let’s detail the operation of PIM (Protocol Independent Multicast) in sparse mode. Previous posts tackled the operation of PIM dense mode. Let’s recall that PIM is the multicast routing protocol that allows PIM routers exchange information needed distribute multicast traffic to receivers. lab setup In our setup, Client1 is configured to join
September 2025
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  
Table of Contents
Copied!