Skip to main content

EIGRP - Key concepts

 EIGRP (Enhanced Interior Gateway Routing Protocol)

Key Concepts

  • EIGRP: An advanced distance-vector routing protocol, originally Cisco proprietary but later standardized (RFC 7868). It’s more efficient than traditional distance-vector protocols, offering fast convergence, reduced bandwidth usage, and robust loop avoidance mechanisms.

Adjacencies

  • Adjacencies: EIGRP forms neighbor relationships using Hello packets. It supports seamless connectivity across all Layer 2 protocols and operates in both LAN and WAN environments.
  • Neighbor Table: Tracks EIGRP neighbors, including details like uptime, hold time, and retransmission timeout (RTO).
  • Passive Interface: Prevents EIGRP from sending Hello packets on specific interfaces while still advertising the network connected to that interface.

Best Path Selection

  • DUAL Algorithm: EIGRP uses the Diffusing Update Algorithm (DUAL) to find the best path, ensuring loop-free routing.
    • Successor: The best path to a destination.
    • Feasible Successor: A backup path that can be used if the successor fails, provided it satisfies the Feasibility Condition (FC).
    • Feasible Distance (FD): The total metric for the best path from the local router’s perspective.
    • Reported Distance (RD): The metric reported by the neighboring router.

Metrics

  • Classic Metrics: EIGRP uses a composite metric based on bandwidth, delay, load, reliability, and MTU. However, only bandwidth and delay are used by default.
    • Formula: Metric = 256 * ((K1 * Bandwidth) + (K3 * Delay)).
    • K-Values: Adjust the weighting for each metric component.
  • Wide Metrics: Introduced for high-speed networks, supporting interfaces up to 655 Tbps by scaling bandwidth and delay metrics.

Packet Types

EIGRP uses five key packet types for communication:

  1. Hello: For discovering and maintaining neighbor relationships.
  2. Update: Used to advertise route changes to neighbors.
  3. Ack: Acknowledges receipt of update packets.
  4. Query: Sent when a route is lost, asking neighbors for alternative routes.
  5. Reply: Response to a query, either with a valid route or indicating no route.

Load Balancing

  • Equal-Cost Load Balancing: EIGRP automatically balances traffic across multiple equal-cost paths.
  • Unequal-Cost Load Balancing: Achieved using the variance command, allowing traffic to be distributed across paths with different metrics.
    • The variance multiplier determines how much worse a route can be compared to the best route and still be used for load balancing.

Named Mode

  • EIGRP Named Mode: Simplifies EIGRP configuration by allowing IPv4, IPv6, and VRF instances to be managed under a single EIGRP process. This mode supports wide metrics and introduces new features like IPv6 support and dynamic protocol adjustments.
    • Auto-Summary: Disabled by default in named mode.

Route Summarization and Redistribution

  • Route Summarization: Reduces routing table size and limits the scope of queries by summarizing networks at the boundary of areas or autonomous systems.
  • Redistribution: EIGRP supports redistribution of routes from other routing protocols (OSPF, BGP, RIP). Metrics can be manually adjusted during redistribution to ensure proper path selection.

Stuck in Active (SIA)

  • SIA: Occurs when a router does not receive replies to its queries within the designated timeout (typically three minutes). This could be caused by network congestion, bad links, or excessive redundancy. Summarization and query scoping help prevent SIAs.

EIGRP Timers

  • Hello and Hold Timers: Control how often Hello packets are sent and how long the router waits before declaring a neighbor dead. Hello timer is typically set to 5 seconds on LANs and 60 seconds on slower WAN links, with the hold timer set to three times the Hello timer.

Stub Routing

  • Stub Routers: Used to reduce query propagation by marking routers as stubs. Stub routers only advertise connected and summary routes, and they do not propagate queries further into the network. This is particularly useful in hub-and-spoke topologies.
    • Stub options include receive-only, connected, summary, static, and redistributed routes.

Query Propagation Boundaries

  • Query Scoping: Queries can propagate throughout the network when a route is lost. Summarization and stubs help limit the spread of queries, improving network stability and reducing convergence time.

Fast Reroute (FRR)

  • Loop-Free Alternates (LFA): EIGRP supports fast reroute by precomputing backup paths (feasible successors) that can be immediately used in case of failure, ensuring quick convergence without recalculation.

Authentication

  • Authentication: EIGRP supports MD5 and SHA-based authentication methods, ensuring that only trusted routers can participate in EIGRP adjacencies. Authentication can be configured per-interface or globally for the entire autonomous system.

Graceful Shutdown

  • Graceful Shutdown: EIGRP supports a graceful shutdown mechanism, allowing a router to inform neighbors when it is going down, reducing the chances of network instability.

Troubleshooting EIGRP

Common issues include:

  • Mismatched AS numbers: Neighbors must be in the same autonomous system.
  • K-value Mismatch: K-values must be identical on all routers to form adjacencies.
  • Passive Interface: If configured, the interface won’t send or receive Hello packets, preventing adjacency formation.
  • Subnet Mismatch: Neighbors must share the same subnet for Hellos to be exchanged.
  • Authentication Failures: Key ID and key string must match across neighbors.
  • Access Control Lists (ACLs): Ensure ACLs aren’t blocking EIGRP packets, especially inbound on interfaces.

Conclusion

EIGRP is a highly scalable, robust, and efficient routing protocol with features such as fast convergence, load balancing, and flexible authentication. It is ideal for both small and large enterprise networks, offering fine control over routing behavior and minimal bandwidth usage during convergence. Summarization, stub routing, and FRR further enhance its efficiency, especially in complex topologies.


Comments

Popular posts from this blog

How to import Putty Saved Connections to mRemoteNG

Just started using mRemoteNG and its being very cool to connect to different remote connection with different protocols e.g Window Remote Desktop, VNC to Linux, SSH, HTTP connection etc. from a single application. As new user I configured some remote desktop connection which was quite easy to figure out. But when I wanted to add SSH connections, it came in my mind to import all of the saved connections in the putty. But I couldn't figure it out how can it be done, though it was quite easy and here are the steps. Open your mRemoteNG Create a folder if you want segregation of multiple networks Create a new connection Enter the IP address of remote server under connection in Config pane Under the config pane, select protocol " SSH version 2 ".  Once you select protocol to SSH version 2 you are given option to import putty sessions, as shown in the snap below. In the above snap, I have imported CSR-AWS session from my saved sessions in Putty.

BGP Local Preference Controlling Outbound Traffic in BGP

In BGP, Local Preference is used to control the outbound traffic path. It helps you decide which egress point (exit point) should be used when you have multiple connections to external networks, such as ISPs. Local Preference is an attribute that is local to your AS and is shared with all iBGP peers but not with eBGP neighbors. Higher Local Preference = More preferred outbound path. Example Scenario : You have two external links: ISP1 (via CE1) and ISP2 (via CE2). You want traffic to prefer ISP1 for all outbound traffic. Network Topology : CE1 (connected to ISP1): 10.0.1.1/30 CE2 (connected to ISP2): 10.0.2.1/30 iBGP Router (Internal) connected to both CE1 (10.0.1.2/30) and CE2 (10.0.2.2/30). Configuration on CE1 (Higher Local Preference) : Create a route map to set the local preference to 200 for routes learned from CE1: route-map SET_LOCAL_PREF permit 10 set local-preference 200 In the BGP configuration for CE1, apply this route map to the neighbor: router bgp 65001 ne...

BGP MED: Managing Inbound Traffic with Multi-Exit Discriminator

The Multi-Exit Discriminator (MED) is used in BGP to control inbound traffic into your AS. It tells a neighboring AS which entry point into your network it should prefer when there are multiple links between your AS and the neighboring AS. The lower the MED value , the more preferred the path. MED is only honored between the same neighboring AS . Example Scenario : You are connected to ISP1 via two routers, CE1 and CE2 , and want to control which router ISP1 uses to send traffic into your AS. Network Topology : CE1 (connected to ISP1): 10.0.1.1/30 CE2 (connected to ISP1): 10.0.2.1/30 iBGP Router (Internal) connected to both CE1 (10.0.1.2/30) and CE2 (10.0.2.2/30). Configuration on CE1 (Lower MED, More Preferred) : Create a route map to set the MED to 50 for CE1: route-map SET_MED permit 10 set metric 50 Apply this route map to the neighbor in the BGP configuration for CE1: router bgp 65001 neighbor 10.0.1.1 remote-as 65000 neighbor 10.0.1.1 route-map SET_MED out Configuratio...