FRRouting / frr

The FRRouting Protocol Suite
https://frrouting.org/
Other
3.21k stars 1.23k forks source link

EIGRP routes not withdrawn from topology table #3709

Open taspelund opened 5 years ago

taspelund commented 5 years ago

Things you may try first

(put "x" in "[ ]" if you already tried following)

Description

EIGRP routes in the topology table are not being withdrawn when neighbor adjacency to advertising router drops.

Steps to Reproduce

  1. Bring up EIGRP adjacency between two routers
  2. Advertise loopback from local router (installed into topology table and RIB of remote router)
  3. Drop neighbor adjacency (remote router will now be stuck with a path to the loopback in the topology table [and thus the RIB] )

Expected behavior: Topology table entry is withdrawn after adjacency with advertising router drops. Afterwards the RIB will lose the non-existent route.

Actual behavior: Topology table entry is not withdrawn after adjacency drops. The RIB maintains a non-existent route indefinitely.

Components

eigrpd

Versions

Attachments

spine01# show ip eigrp topology 

EIGRP Topology Table for AS(10)/ID(2.2.2.2)

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

P  1.1.1.1/32, 1 successors, FD is 30720, serno: 0 
       via 97.0.0.0 (30720/28160), swp1
P  2.2.2.2/32, 1 successors, FD is 28160, serno: 0 
       via Connected, lo
P  3.3.3.3/32, 1 successors, FD is 30720, serno: 0 
       via 10.0.1.1 (30720/28160), swp2
P  10.0.0.0/24, 1 successors, FD is 28160, serno: 0 
       via Connected, swp1
P  10.0.1.0/24, 1 successors, FD is 28160, serno: 0 
       via Connected, swp2
spine01# show ip eigrp neighbors 

EIGRP neighbors for AS(10)

H   Address           Interface            Hold   Uptime   SRTT   RTO   Q     Seq  
                                           (sec)           (ms)        Cnt    Num   
0   10.0.1.1          swp2                 10     0        0      2    0      2

Advertising neighbor was out swp1, the hold timer expired and the prefixes are still in the topology table

satti001 commented 3 years ago

Is this issue is resolved I have recently installed the EIGRP using snap and tested EIGRP with cisco routers. When the link gets down EIGRP on ubuntu doesn't advertise information on lan link that wan is down. Whenever the link gets back EIGRP than updates the table again.

prisonmike168 commented 2 years ago

Hello,

I am having the same issue on FRR 8.1 (running on OpenWRT)

OpenWrt# show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP,
       O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
       T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
       f - OpenFabric,
       > - selected route, * - FIB route, q - queued, r - rejected, b - backup
       t - trapped, o - offload failure

K>* 0.0.0.0/0 [0/0] via 192.168.81.254, eth1, src 192.168.81.13, 01:25:04
E>* 192.168.1.0/24 [90/30720] via 192.168.81.6, eth1, weight 1, 00:16:43
E>* 192.168.20.0/24 [90/30720] via 192.168.81.15, eth1, weight 1, 00:16:44
E   192.168.81.0/24 [90/28160] is directly connected, eth1, weight 1, 01:23:26
C>* 192.168.81.0/24 is directly connected, eth1, 01:25:04
E>* 192.168.100.0/24 [90/30720] via 192.168.81.12, eth1, weight 1, 00:16:08
E   192.168.110.0/24 [90/28160] is directly connected, br-lan, weight 1, 01:20:03
C>* 192.168.110.0/24 is directly connected, br-lan, 01:25:04
OpenWrt# show ip eigrp neighbors 

EIGRP neighbors for AS(1)

H   Address           Interface            Hold   Uptime   SRTT   RTO   Q     Seq  
                                           (sec)           (ms)        Cnt    Num   
OpenWrt# show ip eigrp topology 

EIGRP Topology Table for AS(1)/ID(192.168.110.1)

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

P  192.168.1.0/24, 1 successors, FD is 30720, serno: 0 
       via 192.187.133.124 (30720/28160), eth1
P  192.168.20.0/24, 1 successors, FD is 30720, serno: 0 
       via 192.187.133.124 (30720/28160), eth1
P  192.168.81.0/24, 1 successors, FD is 28160, serno: 0 
       via Connected, eth1
P  192.168.100.0/24, 1 successors, FD is 30720, serno: 0 
       via 0.0.0.0 (30720/28160), eth1
P  192.168.110.0/24, 1 successors, FD is 28160, serno: 0 
       via Connected, br-lan