Showing posts with label EIGRP. Show all posts
Showing posts with label EIGRP. Show all posts

Tuesday, 22 July 2025

Troubleshooting EIGRP !!

1️⃣ Mismatched Autonomous System (AS) Numbers

Description: Both routers must be in the same EIGRP AS.

Fix:

router eigrp 100

2️⃣ Interface in the Wrong VRF

Description: If the interface is in a VRF and EIGRP isn’t running in that VRF, the neighbor won’t form.

Fix: Configure EIGRP under the correct VRF context.


3️⃣ Passive Interface Enabled on EIGRP-Connected Interface

Description: Passive interface disables EIGRP hello packets.

Fix:

router eigrp 100 no passive-interface e1/0

4️⃣ MTU Mismatch

Description: EIGRP includes MTU in its hello packets. If received MTU is less than interface MTU, neighborship fails.

Fix: Ensure MTU matches on both sides of the WAN link.


5️⃣ K-Values Mismatch

Description: Routers with different metric calculation settings (K-values) will not form neighbors.

Fix:


router eigrp 100 metric weights 0 1 0 1 0 0 ! default

Or:


default metric weights

6️⃣ Authentication Mismatch

Description: MD5 authentication must be enabled with same key-string on both routers.

Fix:


key chain AUTHKEY key 1 key-string Cisco123 ! interface e1/0 ip authentication mode eigrp 100 md5 ip authentication key-chain eigrp 100 AUTHKEY

7️⃣ Interface Not in the network Command

Description: If the interface is not covered by the network command, EIGRP won’t operate on it.

Fix:


router eigrp 100 network 12.1.1.0 0.0.0.3

8️⃣ Interface is Down or Administratively Shut

Description: Basic, but often overlooked — if the interface is down, EIGRP won’t send or receive hello packets.

Fix:


interface e1/0 no shutdown

9️⃣ IP Address Misconfiguration

Description: Wrong IP address — routers are not in the same subnet.

Fix: Assign valid IPs in the same subnet on both sides.


๐Ÿ”Ÿ Access Control List (ACL) Blocking EIGRP

Description: ACLs on the interface or VTY lines may block EIGRP traffic (uses IP protocol number 88).

Fix: Allow EIGRP in ACL:


permit eigrp any any

1️⃣1️⃣ Duplicate Router IDs

Description: Duplicate router IDs won’t stop neighbor formation, but can cause route instability or flapping.

Fix:


router eigrp 100 eigrp router-id 1.1.1.1

Ensure unique router IDs.


1️⃣2️⃣ Hello/Hold Timer Mismatch (older IOS versions)

Description: If timers differ significantly, routers may not recognize each other as valid neighbors.

Fix:


interface e1/0 ip hello-interval eigrp 100 5 ip hold-time eigrp 100 15

Set consistently on both routers.


1️⃣3️⃣ Unidirectional Link (Physical/Cabling Issue)

Description: One router sends hellos, but the other can’t receive — often due to cable, NIC, or virtual lab misconfig.

Fix: Check cabling or rebuild link in virtual environments.


1️⃣4️⃣ EIGRP Not Enabled for IPv6

Description: For IPv6, you must use ipv6 router eigrp, and EIGRP is configured per interface, not via network.

Fix:


interface e1/0 ipv6 eigrp 100


๐Ÿงช Verification Commands

CommandWhat It Shows
show ip eigrp neighborsNeighbor status
show ip protocolsAS, timers, passive interfaces
debug eigrp packetsHellos, updates, and errors
debug eigrp neighborsAdjacency process
show running-configAuthentication, K-values, interfaces

Network Engineer Stuff

Saturday, 3 August 2024

Comparison Between EIGRP and OSPF: Which Routing Protocol is Right for Your Network?

 In the world of networking, selecting the right routing protocol can significantly impact the performance, reliability, and scalability of your network. Two popular choices among network engineers are EIGRP (Enhanced Interior Gateway Routing Protocol) and OSPF (Open Shortest Path First). Both protocols have their unique strengths and weaknesses, making them suitable for different networking scenarios. This blog will delve into a detailed comparison between EIGRP and OSPF, helping you make an informed decision for your network.


Overview of EIGRP and OSPF

**EIGRP (Enhanced Interior Gateway Routing Protocol)**

Developed by Cisco, EIGRP is a distance-vector routing protocol that offers rapid convergence, scalability, and efficient use of bandwidth. It is a proprietary protocol, meaning it is primarily used in networks with Cisco equipment. However, it supports some standard-based enhancements, making it compatible with other devices to a certain extent.


**OSPF (Open Shortest Path First)**

OSPF is a link-state routing protocol that is standardized by the IETF (Internet Engineering Task Force). It is widely used in various network environments due to its vendor-neutral nature. OSPF is known for its robustness, scalability, and support for complex network topologies.


EIGRP VS OSPF



Key Differences Between EIGRP and OSPF


 1. Algorithm

- **EIGRP:** Uses the DUAL (Diffusing Update Algorithm) to calculate the shortest path to each destination. DUAL ensures rapid convergence and minimizes the chances of routing loops.

- **OSPF:** Utilizes the SPF (Shortest Path First) algorithm, also known as Dijkstra's algorithm, to build a complete map of the network topology. This allows OSPF to find the shortest path to each destination with precision.


 2. Convergence Speed

- **EIGRP:** Known for its fast convergence times, thanks to the DUAL algorithm. EIGRP quickly adapts to network changes, minimizing downtime and packet loss.

- **OSPF:** While not as fast as EIGRP, OSPF still offers relatively quick convergence. The SPF algorithm ensures accurate path calculations, but the process of building and updating the link-state database can introduce slight delays.


 3. Scalability

- **EIGRP:** Scales well in large networks, particularly when used with Cisco devices. EIGRP's hierarchical design, using areas and summarization, helps manage large routing tables efficiently.

- **OSPF:** Highly scalable and suitable for large enterprise networks. OSPF's area-based structure, with backbone (Area 0) and non-backbone areas, allows for effective segmentation and management of extensive networks.


 4. Complexity and Configuration

- **EIGRP:** Generally easier to configure and manage, especially in Cisco environments. EIGRP's auto-summary and fewer configuration requirements make it user-friendly for network administrators.

- **OSPF:** More complex to configure and maintain compared to EIGRP. OSPF requires meticulous planning of area design, router IDs, and link-state advertisements. However, this complexity provides greater flexibility and control over the network.


 5. Standardization and Compatibility

- **EIGRP:** Proprietary to Cisco, which can be a limitation in mixed-vendor environments. While Cisco has released a basic version of EIGRP as an open standard, full functionality is only available on Cisco devices.

- **OSPF:** A fully open standard, ensuring compatibility with a wide range of networking equipment from different vendors. OSPF's standardization makes it a preferred choice for multi-vendor networks.


 6. Resource Usage

- **EIGRP:** Efficient in terms of CPU and memory usage due to its distance-vector nature. EIGRP sends incremental updates, reducing the processing load on routers.

- **OSPF:** More resource-intensive due to the need to maintain a complete network topology map. OSPF routers continuously exchange link-state information, which can increase CPU and memory usage.


 Choosing Between EIGRP and OSPF

The choice between EIGRP and OSPF depends on several factors, including network size, existing infrastructure, vendor preference, and administrative expertise. Here are some scenarios to help guide your decision:


**Choose EIGRP if:**

- You have a predominantly Cisco-based network.

- Fast convergence and minimal configuration complexity are priorities.

- Scalability within a Cisco environment is essential.


**Choose OSPF if:**

- You have a multi-vendor network.

- Standardization and vendor neutrality are crucial.

- You need robust support for large, complex network topologies.

- You require detailed control over routing and area design.


Conclusion

Both EIGRP and OSPF are powerful routing protocols, each with its unique strengths. EIGRP excels in Cisco-centric environments with its simplicity and rapid convergence, while OSPF offers flexibility, scalability, and vendor-neutrality for diverse network infrastructures. By understanding the key differences and evaluating your network requirements, you can choose the routing protocol that best aligns with your organizational goals and technical needs.


Keep Reading !!!!!

Network Engineer Stuff 

Friday, 5 February 2021

EIGRP Quick Configuration


 If there are many interfaces /networks on the Routers running EIGRP and you wish to advertise all of those in EIGRP then there is no point of advertising individual routes in eigrp 

Use quick way of EIGRP configuration. 


R1#sh ip protocols

R1#


R1#sh run | section eigrp
R1#

R2#sh ip protocols

R2#
R2#sh run | section eigrp
R2#


R1(config)#router eigrp 100
R1(config-router)#network 0.0.0.0 0.0.0.0
R1(config-router)#exit
R1(config)#exit
R1#

R2(config)#router eigrp 100
R2(config-router)#network 0.0.0.0 0.0.0.0
R2(config-router)#exit
R2(config)#
*Mar  1 00:23:14.851: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 12.1.1.1 (FastEthernet0/0) is up: new adjacencyexit
R2#


R1#sh ip ei neighbors
IP-EIGRP neighbors for process 100
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
0   12.1.1.2                Fa0/0             14 00:00:27   24   200  0  3

R2#sh ip ei neighbors
IP-EIGRP neighbors for process 100
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
0   12.1.1.1                Fa0/0             10 00:00:40   18   300  0  4


R1#sh ip protocols
Routing Protocol is "eigrp 100"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Default networks flagged in outgoing updates
  Default networks accepted from incoming updates
  EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
  EIGRP maximum hopcount 100
  EIGRP maximum metric variance 1
  Redistributing: eigrp 100
  EIGRP NSF-aware route hold timer is 240s
  Automatic network summarization is in effect
  Automatic address summarization:
    100.0.0.0/8 for FastEthernet0/0
      Summarizing with metric 128256
    12.0.0.0/8 for Loopback100
      Summarizing with metric 281600
  Maximum path: 4
  Routing for Networks:
    0.0.0.0
  Routing Information Sources:
    Gateway         Distance      Last Update
    (this router)         90      00:03:27
    12.1.1.2              90      00:01:29
  Distance: internal 90 external 170

R1#

R2#sh ip protocols
Routing Protocol is "eigrp 100"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Default networks flagged in outgoing updates
  Default networks accepted from incoming updates
  EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
  EIGRP maximum hopcount 100
  EIGRP maximum metric variance 1
  Redistributing: eigrp 100
  EIGRP NSF-aware route hold timer is 240s
  Automatic network summarization is in effect
  Automatic address summarization:
    200.200.200.0/24 for FastEthernet0/0
      Summarizing with metric 128256
    12.0.0.0/8 for Loopback200
      Summarizing with metric 281600
  Maximum path: 4
  Routing for Networks:
    0.0.0.0
  Routing Information Sources:
    Gateway         Distance      Last Update
    (this router)         90      00:01:59
    12.1.1.1              90      00:01:57
  Distance: internal 90 external 170

R2#

R1#sh ip ei topology
IP-EIGRP Topology Table for AS(100)/ID(100.100.100.100)

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status

P 100.100.100.100/32, 1 successors, FD is 128256
        via Connected, Loopback100
P 12.0.0.0/8, 1 successors, FD is 281600
        via Summary (281600/0), Null0
P 12.1.1.0/24, 1 successors, FD is 281600
        via Connected, FastEthernet0/0
P 100.0.0.0/8, 1 successors, FD is 128256
        via Summary (128256/0), Null0
P 200.200.200.0/24, 1 successors, FD is 409600
        via 12.1.1.2 (409600/128256), FastEthernet0/0
R1#


R2#sh ip eigrp topology
IP-EIGRP Topology Table for AS(100)/ID(200.200.200.200)

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status

P 200.200.200.200/32, 1 successors, FD is 128256
        via Connected, Loopback200
P 12.0.0.0/8, 1 successors, FD is 281600
        via Summary (281600/0), Null0
P 12.1.1.0/24, 1 successors, FD is 281600
        via Connected, FastEthernet0/0
P 100.0.0.0/8, 1 successors, FD is 409600
        via 12.1.1.1 (409600/128256), FastEthernet0/0
P 200.200.200.0/24, 1 successors, FD is 128256
        via Summary (128256/0), Null0
R2#

R1#sh ip route eigrp
D    200.200.200.0/24 [90/409600] via 12.1.1.2, 00:02:14, FastEthernet0/0
     100.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
D       100.0.0.0/8 is a summary, 00:04:11, Null0
     12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
D       12.0.0.0/8 is a summary, 00:04:11, Null0
R1#
R1#
R1#ping 200.200.200.200

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 200.200.200.200, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/10/16 ms
R1#

R2#sh ip route eigrp
     200.200.200.0/24 is variably subnetted, 2 subnets, 2 masks
D       200.200.200.0/24 is a summary, 00:02:57, Null0
D    100.0.0.0/8 [90/409600] via 12.1.1.1, 00:02:55, FastEthernet0/0
     12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
D       12.0.0.0/8 is a summary, 00:02:57, Null0
R2#
R2#ping 100.100.100.100

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.100, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/16/32 ms
R2#

Thanks for reading !!!!!

amartechstuff


 


Sunday, 17 May 2020

EIGRP - QUICK NOTES

EIGRP                                                                                                         

         IGP

         Classless

         Hybrid (Best of LS & Best of DV)   LS -> Convergence ,DV -> Simplicity in Config

         Metric -> Composite Metric .By default it depends upon Bandwidth & Delay . But load , relability and MTU can be considered if the metric weights i.e K values are set to 1.   

         Bandwidth in 10^7/ Bandwidth (kbps) and delay in 10microseconds.

         Bandwidth =the lowest of the link along the path , Delay= sum of the all delays along the path

         K Values = Metric Weight.

             K1 = Bandwidth =1 , K2= Load= 0 , K3= Delay =1 , K4/K5 = Reliability , MTU =0 (Container)

         Load Balancing over unequal path is proportionate. This achieve due by Variance command.

By default EIGRP can do load balancing over 4 equal cost paths.

But we can load balancing up to 16 equal / unequal cost paths.

R1(config-router)# variance 2    ------multipler - best path cost will get multipled by 2 and which path whose cost  comes under that value over those path load balancing can happen.

         EIGRP Neighbor relationship Rule:-

                1)They should be directly connected

                2) They should belong to same AS

                3) There K Values should be same.

         EIGRP Summarization Rule:-

                1) Automatic Summarization will happen at Classful boundary.

                2) Manual Summarization will happen at at any arbitary boundary.

When summarization is configured on an interface , the router immediatley creates a route pointing to NULL 0. This is EIGRP LOOP Pervention Mechanism.

         EIGRP control Packets:-     HQURA

                 1) Hello :- Establish neighbor relationship = Multicast

                 2) Query :- Ask neighbor about routing information = Normally multicast . Unicast (retransmitted)

                 3) Update :- Sending routing update = Unicast / Multicast

                 4) Reply:- Respond to query about routing information = Unicast

                 5) Ack :- Ack a reliable packet   = Unicast Hello packets .Ack - U Q R

         EIGRP Timers

                Fast Neighbor ( bandwidth= > T1 1.544Mbps)  = 5 Secs and 15 Secs

                Slow Neighbor = 60 Secs and 180 Secs.

         EIGRP AD Values

                 Summary routes = 5 , Internal routes = 90 , External routes =170.

         Specality :- It elects next best path when it elects next best path.

                 Best path - Successor & Next Best path - Feasiable Successor

         AD value (Advertised Distance) = Cost between Next Hop  & Destination.

                FD value (Feasiable Distance) = Cost between local router & Destination.

         DUAL - Diffusion Update Alogrithm

 This a logic which runs on the topology table , elects the best path and put it in Routing table.

              Rule 1:- For a path to become a Feasiable Successor its AD value should be less than current FD value .

                Rule 2:- For a path to be consider as a valid path its AD value should be less than two times the current FD value

         SIA - Stuck in Active -  This is an Issue

If in topology table Feasiable Successor is not present and if Successor goes down then the router will send Queries to all directly connected routers and will remain in SIA till it gets replies all the Queries . Again these Queries are not bounded to AS . Hence there would be an available route but still it will remain in SIA .

         Solution for SIA

                1) Summarization

                 2) EIGRP Stub - That router should have single exit point and hence once it is made EIGRP Stub it will tell dont send me Query because I am learning routes from you only.

EIGRP stub options -RCSS

1)receive-only - Prevents the stub from sending any type of route.

2)connected - Permits the stub to send connected routes (may still need to redistribute)

3)static - Permits the stub to send static routes (may still need to redistribute)

4)summary - Permits stub to send summary route

Default is connected and summary

         Configuration

R1(Config)#router eigrp 100

                         network 11.0.0.0 255.2555.255.0

                         network 12.0.0.0 0.0.0.255

R1# sh ip route

     # sh ip eigrp interface

     # sh ip eigrp neighbor

    # sh ip eigrp topology

         In EIGRP passive route means good and active route means bad.

         An EIGRP interface can be configured as Passive so that it wont send and receive update on that interface.


YOUTUBE CHANNEL

www.youtube.com/c/networkengineerstuff