FRRouting / frr

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

EIGRP Does not Learn EIGRP External Route #1006

Open mTaleqani opened 7 years ago

mTaleqani commented 7 years ago

i did redistribute ospf routes into eigrp in a cisco router that has an EIGRP adjacency with FRR, although cisco sent eigrp external routes in an update packet and frr acked the updates, but the external routes are not shown in frr.

donaldsharp commented 7 years ago

@mTaleqani Just another issue that needs to be fixed :) On my list of stuff to do eventually

lucize commented 7 years ago

I'm testing on new Ubuntu 17.04 and it crashes quite quickly with

Aug 18 22:25:08  eigrpd[30379]: Neighbor 10.160.1.100 (brsrv) is pending: new adjacency
Aug 18 22:25:14  eigrpd[30379]: EIGRP AS: 1 State: 0  Event: 7 Network: 10.160.21.0
Aug 18 22:25:14  eigrpd[30379]: Neighbor(10.160.1.100) adjacency became full
Aug 18 22:25:19  eigrpd[30379]: EIGRP AS: 1 State: 0  Event: 7 Network: 10.160.21.0
Aug 18 22:25:19  eigrpd[30379]: EIGRP AS: 1 State: 0  Event: 7 Network: 10.160.11.0
Aug 18 22:25:19  eigrpd[30379]: EIGRP AS: 1 State: 0  Event: 0 Network: 172.16.1.0
Aug 18 22:25:19  eigrpd[30379]: stream_putc: Attempt to put out of bounds
Aug 18 22:25:19  eigrpd[30379]: &(struct stream): 0x555681844010, size: 1500, getp: 0, endp: 1500
Aug 18 22:25:19  eigrpd[30379]: Assertion `0' failed in file lib/stream.c, line 556, function stream_putc
Aug 18 22:25:19  eigrpd[30379]: Backtrace for 13 stack frames:
Aug 18 22:25:19  eigrpd[30379]: [bt 0] /usr/lib/libfrr.so.0(zlog_backtrace+0x3a) [0x7fce0d910a27]
Aug 18 22:25:19  eigrpd[30379]: [bt 1] /usr/lib/libfrr.so.0(_zlog_assert_failed+0x9d) [0x7fce0d910f52]
Aug 18 22:25:19  eigrpd[30379]: [bt 2] /usr/lib/libfrr.so.0(stream_putc+0x80) [0x7fce0d924593]
Aug 18 22:25:19  eigrpd[30379]: [bt 3] /usr/lib/frr/eigrpd(eigrp_add_internalTLV_to_stream+0x142) [0x5556804bb6a4]
Aug 18 22:25:19  eigrpd[30379]: [bt 4] /usr/lib/frr/eigrpd(eigrp_update_send+0x169) [0x5556804bdc44]
Aug 18 22:25:19  eigrpd[30379]: [bt 5] /usr/lib/frr/eigrpd(eigrp_update_send_all+0x53) [0x5556804bddb6]
Aug 18 22:25:19  eigrpd[30379]: [bt 6] /usr/lib/frr/eigrpd(eigrp_update_receive+0x6a6) [0x5556804be4c5]
Aug 18 22:25:19  eigrpd[30379]: [bt 7] /usr/lib/frr/eigrpd(eigrp_read+0x723) [0x5556804bb311]
Aug 18 22:25:19  eigrpd[30379]: [bt 8] /usr/lib/libfrr.so.0(thread_call+0x55) [0x7fce0d929cda]
Aug 18 22:25:19  eigrpd[30379]: [bt 9] /usr/lib/libfrr.so.0(frr_run+0x18f) [0x7fce0d90f321]
Aug 18 22:25:19  eigrpd[30379]: [bt 10] /usr/lib/frr/eigrpd(main+0x11d) [0x5556804b6a16]
Aug 18 22:25:19  eigrpd[30379]: [bt 11] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7fce0d10e3f1]
Aug 18 22:25:19  eigrpd[30379]: [bt 12] /usr/lib/frr/eigrpd(_start+0x2a) [0x5556804b6dca]
Aug 18 22:25:19  eigrpd[30379]: Current thread function eigrp_read, scheduled from file eigrpd/eigrp_packet.c, line 475
Aug 18 22:25:19  watchfrr[30386]: eigrpd state -> down : read returned EOF
Aug 18 22:25:19  zebra[30364]: release_daemon_chunks: Released 0 label chunks
Aug 18 22:25:19  zebra[30364]: client 15 disconnected. 65 eigrp routes removed from the rib
Aug 18 22:25:24  watchfrr[30386]: Forked background command [pid 30484]: /usr/sbin/service frr restart eigrpd
Aug 18 22:25:24  watchfrr[30386]: Terminating on signal
donaldsharp commented 7 years ago

@lucize is this with PR #1010 or not?

lucize commented 7 years ago

sorry, I didn't verified the PR, it was a git clone I'll build it right now

lucize commented 7 years ago

still

Aug 18 22:38:29  eigrpd[17442]: Neighbor 10.160.1.100 (brsrv) is pending: new adjacency
Aug 18 22:38:35  eigrpd[17442]: EIGRP AS: 1 State: 0  Event: 7 Network: 10.160.21.0
Aug 18 22:38:35  eigrpd[17442]: Neighbor(10.160.1.100) adjacency became full
Aug 18 22:38:40  eigrpd[17442]: EIGRP AS: 1 State: 0  Event: 7 Network: 10.160.21.0
Aug 18 22:38:40  eigrpd[17442]: EIGRP AS: 1 State: 0  Event: 7 Network: 10.160.11.0
Aug 18 22:38:40  eigrpd[17442]: EIGRP AS: 1 State: 0  Event: 0 Network: 172.16.1.0
Aug 18 22:38:40  eigrpd[17442]: stream_putc: Attempt to put out of bounds
Aug 18 22:38:40  eigrpd[17442]: &(struct stream): 0x5619be05f460, size: 1500, getp: 0, endp: 1500
Aug 18 22:38:40  eigrpd[17442]: Assertion `0' failed in file lib/stream.c, line 556, function stream_putc
Aug 18 22:38:40  eigrpd[17442]: Backtrace for 13 stack frames:
Aug 18 22:38:40  eigrpd[17442]: [bt 0] /usr/lib/libfrr.so.0(zlog_backtrace+0x3a) [0x7f2b8c7c5a27]
Aug 18 22:38:40  eigrpd[17442]: [bt 1] /usr/lib/libfrr.so.0(_zlog_assert_failed+0x9d) [0x7f2b8c7c5f52]
Aug 18 22:38:40  eigrpd[17442]: [bt 2] /usr/lib/libfrr.so.0(stream_putc+0x80) [0x7f2b8c7d9593]
Aug 18 22:38:40  eigrpd[17442]: [bt 3] /usr/lib/frr/eigrpd(eigrp_add_internalTLV_to_stream+0x142) [0x5619bce4c69d]
Aug 18 22:38:40  eigrpd[17442]: [bt 4] /usr/lib/frr/eigrpd(eigrp_update_send+0x169) [0x5619bce4ec4a]
Aug 18 22:38:40  eigrpd[17442]: [bt 5] /usr/lib/frr/eigrpd(eigrp_update_send_all+0x53) [0x5619bce4edbc]
Aug 18 22:38:40  eigrpd[17442]: [bt 6] /usr/lib/frr/eigrpd(eigrp_update_receive+0x6a6) [0x5619bce4f4cb]
Aug 18 22:38:40  eigrpd[17442]: [bt 7] /usr/lib/frr/eigrpd(eigrp_read+0x71c) [0x5619bce4c30a]
Aug 18 22:38:40  eigrpd[17442]: [bt 8] /usr/lib/libfrr.so.0(thread_call+0x55) [0x7f2b8c7decda]
Aug 18 22:38:40  eigrpd[17442]: [bt 9] /usr/lib/libfrr.so.0(frr_run+0x18f) [0x7f2b8c7c4321]
Aug 18 22:38:40  eigrpd[17442]: [bt 10] /usr/lib/frr/eigrpd(main+0x11d) [0x5619bce47a16]
Aug 18 22:38:40  eigrpd[17442]: [bt 11] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f2b8bfc33f1]
Aug 18 22:38:40  eigrpd[17442]: [bt 12] /usr/lib/frr/eigrpd(_start+0x2a) [0x5619bce47dca]
Aug 18 22:38:40  eigrpd[17442]: Current thread function eigrp_read, scheduled from file eigrpd/eigrp_packet.c, line 475
Aug 18 22:38:40  watchfrr[17449]: eigrpd state -> down : read returned EOF
Aug 18 22:38:40  zebra[17427]: release_daemon_chunks: Released 0 label chunks
Aug 18 22:38:40  zebra[17427]: client 15 disconnected. 65 eigrp routes removed from the rib
Aug 18 22:38:45  watchfrr[17449]: Forked background command [pid 17482]: /usr/sbin/service frr restart eigrpd
Aug 18 22:38:45  watchfrr[17449]: Terminating on signal
donaldsharp commented 7 years ago

@mTaleqani @lucize let's try #1011

diivious commented 7 years ago

There is a fair bit of work needed for EIGRP to support external routes. #1011 only fixes the crash issue by essentially "discarding" the external routes.

donaldsharp commented 7 years ago

Yes #1011 fixes the crash not the external route issue

diivious commented 7 years ago

by the way - just looked, and the change to discard externals is not in eigrp_update/query.c So at L259 if you get EIGRP_TLV_IPv4_EXT, you will crash still...

lucize commented 7 years ago

the crash is gone, eigrp routes are in, no external, but hey..

lnx02# sh ip route eigrp
Codes: K - kernel route, C - connected, S - static, R - RIP,
       O - OSPF, I - IS-IS, B - BGP, P - PIM, E - EIGRP, N - NHRP,
       T - Table, v - VNC, V - VNC-Direct, A - Babel,
       > - selected route, * - FIB route

E>* 10.1.1.0/24 [0/0] via 10.160.1.100, brsrv
E>* 10.62.32.0/24 [0/0] via 10.160.1.100, brsrv
E>* 10.100.0.0/22 [0/0] via 10.160.1.100, brsrv
E>* 10.100.10.0/24 [0/0] via 10.160.1.100, brsrv
E>* 10.140.1.0/24 [0/0] via 10.160.1.100, brsrv
...etc
E>* 10.166.10.0/24 [0/0] via 10.160.1.100, brsrv
E>* 10.166.11.0/24 [0/0] via 10.160.1.100, brsrv
E>* 10.166.12.0/24 [0/0] via 10.160.1.100, brsrv
E>* 10.166.20.0/24 [0/0] via 10.160.1.100, brsrv
E>* 10.166.21.0/24 [0/0] via 10.160.1.100, brsrv
E>* 10.166.22.0/24 [0/0] via 10.160.1.100, brsrv
E>* 172.16.1.0/24 [0/0] via 10.160.1.100, brsrv
E>* 172.16.3.0/24 [0/0] via 10.160.1.100, brsrv
E>* 172.16.4.0/24 [0/0] via 10.160.1.100, brsrv
E>* 172.16.5.0/24 [0/0] via 10.160.1.100, brsrv
mTaleqani commented 7 years ago

For me it is still crashing when eigrp external route is received.

Tests are done on frr master.

localhost.localdomain# 2017/08/20 02:34:29 EIGRP: Neighbor 192.168.101.100 (eno33554960) is pending: new adjacency
2017/08/20 02:34:29 EIGRP: Neighbor 192.168.11.100 (eno16777736) is pending: new adjacency
2017/08/20 02:34:29 EIGRP: Neighbor(192.168.101.100) adjacency became full
2017/08/20 02:34:29 EIGRP: Neighbor(192.168.11.100) adjacency became full
2017/08/20 02:34:29 EIGRP: EIGRP AS: 1 State: 0  Event: 7 Network: 192.168.101.0
2017/08/20 02:34:29 EIGRP: EIGRP AS: 1 State: 0  Event: 7 Network: 1.1.1.1
2017/08/20 02:34:29 EIGRP: EIGRP AS: 1 State: 0  Event: 7 Network: 10.0.0.0
2017/08/20 02:34:29 EIGRP: EIGRP AS: 1 State: 0  Event: 7 Network: 192.168.11.0
2017/08/20 02:35:35 EIGRP: EIGRP AS: 1 State: 0  Event: 7 Network: 2.2.2.2
2017/08/20 02:35:35 EIGRP: EIGRP AS: 1 State: 0  Event: 7 Network: 10.0.1.0
2017/08/20 02:39:50 EIGRP: EIGRP AS: 1 State: 0  Event: 7 Network: 10.0.0.0
2017/08/20 02:39:50 EIGRP: EIGRP AS: 1 State: 0  Event: 7 Network: 2.2.2.2
2017/08/20 02:39:50 EIGRP: EIGRP AS: 1 State: 0  Event: 7 Network: 10.0.1.0
2017/08/20 02:39:50 EIGRP: EIGRP AS: 1 State: 0  Event: 2 Network: 10.0.0.0
2017/08/20 02:39:50 EIGRP: EIGRP AS: 1 State: 0  Event: 2 Network: 2.2.2.2
2017/08/20 02:39:50 EIGRP: EIGRP AS: 1 State: 0  Event: 2 Network: 10.0.1.0
2017/08/20 02:41:20 EIGRP: EIGRP AS: 1 State: 4  Event: 7 Network: 10.0.0.0
2017/08/20 02:41:20 EIGRP: EIGRP AS: 1 State: 4  Event: 7 Network: 2.2.2.2
2017/08/20 02:41:20 EIGRP: EIGRP AS: 1 State: 4  Event: 7 Network: 2.2.2.2
2017/08/20 02:41:20 EIGRP: EIGRP AS: 1 State: 4  Event: 7 Network: 10.0.1.0
2017/08/20 02:41:20 EIGRP: EIGRP AS: 1 State: 4  Event: 7 Network: 10.0.1.0
2017/08/20 02:43:30 EIGRP: stream_getw: Attempt to get  out of bounds
2017/08/20 02:43:30 EIGRP: &(struct stream): 0x15ea000, size: 65536, getp: 184, endp: 185

2017/08/20 02:43:30 EIGRP: Assertion `0' failed in file lib/stream.c, line 320, function stream_getw
2017/08/20 02:43:30 EIGRP: Backtrace for 10 stack frames:
2017/08/20 02:43:30 EIGRP: [bt 0] /usr/local/lib/libfrr.so.0(zlog_backtrace+0x2b) [0x7f7e2c5a8318]
2017/08/20 02:43:30 EIGRP: [bt 1] /usr/local/lib/libfrr.so.0(_zlog_assert_failed+0x9d) [0x7f7e2c5a878b]
2017/08/20 02:43:30 EIGRP: [bt 2] /usr/local/lib/libfrr.so.0(stream_getw+0x7f) [0x7f7e2c5b9fbb]
2017/08/20 02:43:30 EIGRP: [bt 3] eigrpd(eigrp_update_receive+0x2e9) [0x40dddd]
2017/08/20 02:43:30 EIGRP: [bt 4] eigrpd(eigrp_read+0x6b5) [0x40b052]
2017/08/20 02:43:30 EIGRP: [bt 5] /usr/local/lib/libfrr.so.0(thread_call+0x46) [0x7f7e2c5c0049]
2017/08/20 02:43:30 EIGRP: [bt 6] /usr/local/lib/libfrr.so.0(frr_run+0x17c) [0x7f7e2c5a6e38]
2017/08/20 02:43:30 EIGRP: [bt 7] eigrpd(main+0x10b) [0x406de4]
2017/08/20 02:43:30 EIGRP: [bt 8] /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f7e2b467b15]
2017/08/20 02:43:30 EIGRP: [bt 9] eigrpd() [0x407115]
2017/08/20 02:43:30 EIGRP: Current thread function eigrp_read, scheduled from file eigrpd/eigrp_packet.c, line 475
log: showing active allocations in memory group libfrr
log: memstats:  Buffer                        :      3 *         24
log: memstats:  Host config                   :      3 * (variably sized)
log: memstats:  Command Tokens                :   1979 *         72
log: memstats:  Command Token Text            :   1563 * (variably sized)
log: memstats:  Command Token Help            :   1563 * (variably sized)
log: memstats:  Command Argument Name         :    316 * (variably sized)
log: memstats:  Graph                         :     18 *          8
log: memstats:  Graph Node                    :   2355 *         32
log: memstats:  Hash                          :     43 * (variably sized)
log: memstats:  Hash Bucket                   :    394 *         32
log: memstats:  Hash Index                    :     36 *       2048
log: memstats:  Interface                     :      3 *        184
log: memstats:  Connected                     :      4 *         40
log: memstats:  Link List                     :     35 *         40
log: memstats:  Link Node                     :     84 *         24
log: memstats:  Logging                       :      1 *         72
log: memstats:  Temporary memory              :      1 * (variably sized)
log: memstats:  Priority queue                :      1 *         32
log: memstats:  Priority queue data           :      1 *        256
log: memstats:  Prefix                        :     13 *         40
log: memstats:  Stream                        :      3 *         40
log: memstats:  Stream data                   :      3 * (variably sized)
log: memstats:  Route table                   :      7 *         48
log: memstats:  Route node                    :      3 *         96
log: memstats:  Thread                        :     16 * (variably sized)
log: memstats:  Thread master                 :      3 * (variably sized)
log: memstats:  Thread stats                  :     10 *         64
log: memstats:  Vector                        :   4751 *         16
log: memstats:  Vector index                  :   4751 * (variably sized)
log: memstats:  VRF                           :      1 *        144
log: memstats:  VRF bit-map                   :     76 * (variably sized)
log: memstats:  VTY                           :      6 * (variably sized)
log: memstats:  Zclient                       :      1 *       2600
log: memstats:  Redistribution instance IDs   :      3 *          2
log: showing active allocations in memory group eigrpd
log: memstats:  EIGRP structure               :      1 *       1200
log: memstats:  EIGRP interface               :      2 *        192
log: memstats:  EIGRP neighbor                :      3 *        104
log: memstats:  EIGRP Interface Parameters    :      3 *         64
log: memstats:  EIGRP Interface Information   :      3 *         32
log: memstats:  EIGRP FIFO                    :      8 *         24
log: memstats:  EIGRP Prefix                  :      6 *         80
log: memstats:  EIGRP Neighbor Entry          :     12 *         72
log: memstats:  EIGRP FSM Message             :     17 *         56
lucize commented 7 years ago

try to add #1014 git pull origin pull/1014/head

donaldsharp commented 7 years ago

I've pushed in #1014 let us know if this fixes the crash

mTaleqani commented 7 years ago

by using #1014 , no eigrpd crash happens but still no eigrp external routes learned.

donaldsharp commented 7 years ago

@mTaleqani yep, we are working on handling of external routes, hopefully within a week.

gtg625n commented 4 years ago

Good evening guys,

Probably linked to that issue: I am running a FRR, directly connected to a CSR1000v (from Cisco). The EIGRP neighborship is established well between them. However, the FRR does not learn the routes from its CSR peer EIGRP that are external (learned from the BGP process). The other way around works well, that is to say, the CSR learns well the EIGRP routes from the FRR and redistributes them OK into its BGP process.

The network diagram is attached.

The config of the FRR is: (extract) router eigrp 101
eigrp router-id 192.168.105.1
network 172.16.1.0/24
network 192.168.105.1/32

The config of the CSR is: (extract): router eigrp 101 ! address-family ipv4 vrf SERVICE-A autonomous-system 101 redistribute bgp 64512 metric 10000 10 200 5 1500 network 172.16.1.0 0.0.0.255 eigrp router-id 172.16.1.2 exit-address-family

IMG_20190911_192620

gtg625n commented 4 years ago

Thank you in advance.

gtg625n commented 4 years ago

Ah, and the version of the FRR is: frr version 7.2-dev-MyOwnFRRVersion
frr defaults traditional

vnpraveendesu commented 3 years ago

@mTaleqani yep, we are working on handling of external routes, hopefully within a week.

@donaldsharp Handling of external route support is added in the FRR EIGRP code? If not, any suggestions what is involved in adding this support. I have some understanding of FRR EIGRP code. I can look into adding this support, but will need some pointers to get started.

lucize commented 3 years ago

@vnpraveendesu it would help more if you can find why the daemon crashes very often with lots of routes and cisco devices

EIGRP: [JXM6E-P1P6V] EIGRP AS: 110 State: Passive Event: Non Query Event Feasability not satisfied Network: 10.160.3.0 Packet Type: Update Reply RIJ Count: 0 change: Decrease
EIGRP: Received signal 6 at 1617342983 (si_addr 0x5c0000a926, PC 0x7f0c9720737f); aborting...
EIGRP: /lib64/libfrr.so.0(zlog_backtrace_sigsafe+0x71) [0x7f0c990810a1]
EIGRP: /lib64/libfrr.so.0(zlog_signal+0xf7) [0x7f0c990812a7]
EIGRP: /lib64/libfrr.so.0(+0xbba58) [0x7f0c990aaa58]
EIGRP: /lib64/libpthread.so.0(+0x12b20) [0x7f0c975a7b20]
EIGRP: /lib64/libc.so.6(gsignal+0x10f) [0x7f0c9720737f]
EIGRP: /lib64/libc.so.6(abort+0x127) [0x7f0c971f1db5]
EIGRP: /lib64/libc.so.6(+0x21c89) [0x7f0c971f1c89]
EIGRP: /lib64/libc.so.6(+0x2fa76) [0x7f0c971ffa76]
EIGRP: /usr/lib/frr/eigrpd(+0x24e59) [0x562feae07e59]
EIGRP: /usr/lib/frr/eigrpd(eigrp_fsm_event+0x174) [0x562feae08194]
EIGRP: /usr/lib/frr/eigrpd(eigrp_update_receive+0x1da) [0x562feae0434a]
EIGRP: /usr/lib/frr/eigrpd(eigrp_read+0x538) [0x562feae00d78]
EIGRP: /lib64/libfrr.so.0(thread_call+0xf9) [0x7f0c990bbc19]
EIGRP: /lib64/libfrr.so.0(frr_run+0xe8) [0x7f0c99079e28]
EIGRP: /usr/lib/frr/eigrpd(main+0x11a) [0x562feadf4c3a]
EIGRP: /lib64/libc.so.6(__libc_start_main+0xf3) [0x7f0c971f3493]
EIGRP: /usr/lib/frr/eigrpd(_start+0x2e) [0x562feadf4fbe]
EIGRP: in thread eigrp_read scheduled from eigrpd/eigrp_packet.c:501 eigrp_read()

eigrpd: eigrpd/eigrp_fsm.c:443: eigrp_fsm_event_nq_fcn: Assertion `successors'

vnpraveendesu commented 3 years ago

@lucize can you share the topology

eigrp inserts the poison reverse( infinite delay/bandwidth) routes advertised by the cisco router ( Split horizon enabled) into the topology table as well as routing table eigrp crashes when the update/query receive for poison reverse routes.

Please check the output of "Show ip route eigrp"

lucize commented 3 years ago

@vnpraveendesu does the attached file helps ?

sh_ip_eigrp_topology_detail-links.txt

I don't have access on all switches and routers but the one I have are like:

router eigrp 110
 distribute-list 11 in
 default-metric 1544 100 255 1 1500
 network 10.60.91.0 0.0.0.255
 network 10.160.1.0 0.0.0.255
 network 10.160.11.0 0.0.0.255
 network 172.31.0.0
 redistribute ospf 20 metric 1544 2000 255 1 1500 route-map ospf>EIGRP

and on frr side

! router eigrp 110 network 10.160.1.0/24 !

skhmel commented 2 years ago

Hello! I have the same issue, my crashlog:

/var/tmp/frr/eigrpd.2854# more crashlog EIGRP: eigrpd/eigrp_fsm.c:443: eigrp_fsm_event_nq_fcn(): assertion (successors) failed EIGRP: Received signal 6 at 1655896673 (si_addr 0x6e00000b27, PC 0x7f121bac4fff); aborting... EIGRP: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_backtrace_sigsafe+0x70) [0x7f121c700990] EIGRP: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(zlog_signal+0xec) [0x7f121c700b7c] EIGRP: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(+0xc4f51) [0x7f121c72bf51] EIGRP: /lib/x86_64-linux-gnu/libpthread.so.0(+0x110e0) [0x7f121be420e0] EIGRP: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcf) [0x7f121bac4fff] EIGRP: /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7f121bac642a] EIGRP: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(_zlog_assert_failed+0xe9) [0x7f121c756c59] EIGRP: /usr/lib/frr/eigrpd(eigrp_fsm_event_nq_fcn+0xc6) [0x5564dfdf7596] EIGRP: /usr/lib/frr/eigrpd(eigrp_fsm_event+0x165) [0x5564dfdf7a95] EIGRP: /usr/lib/frr/eigrpd(eigrp_update_receive+0x1e7) [0x5564dfe00fd7] EIGRP: /usr/lib/frr/eigrpd(eigrp_read+0x6ee) [0x5564dfdfd7be] EIGRP: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(thread_call+0x98) [0x7f121c73d8b8] EIGRP: /usr/lib/x86_64-linux-gnu/frr/libfrr.so.0(frr_run+0xe8) [0x7f121c6f8d08] EIGRP: /usr/lib/frr/eigrpd(main+0x105) [0x5564dfdf0e25] EIGRP: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f121bab22e1] EIGRP: /usr/lib/frr/eigrpd(_start+0x2a) [0x5564dfdf113a] EIGRP: in thread eigrp_read scheduled from eigrpd/eigrp_packet.c:497 eigrp_read()

csp124# conf t csp124(config)# ! csp124(config)# router eigrp 98 csp124(config-router)# eigrp router-id 10.5.3.124 csp124(config-router)# csp124(config-router)# network 10.5.3.0/24 csp124(config-router)# csp124(config-router)# exit Warning: closing connection to eigrpd because of an I/O error! Warning: connecting to eigrpd...failed! Warning: connecting to eigrpd...failed! Warning: connecting to eigrpd...failed! csp124(config)#

tail -f /var/log/frr/frr.log Jun 22 17:35:38 csp124 eigrpd[2065]: [X21P0-DJ5TP] interface 10.5.3.124 [2] join EIGRP Multicast group. Jun 22 17:35:38 csp124 eigrpd[2065]: [WD7G5-SZ2JT] Setting up eth0 Jun 22 17:35:38 csp124 eigrpd[2065]: [WD7G5-SZ2JT] Setting up eth1 Jun 22 17:35:38 csp124 eigrpd[2065]: [WD7G5-SZ2JT] Setting up lo Jun 22 17:35:38 csp124 eigrpd[2065]: [S952A-FCHKT] Neighbor 10.5.3.1 (eth0) is pending: new adjacency Jun 22 17:35:38 csp124 eigrpd[2065]: [S952A-FCHKT] Neighbor 10.5.3.51 (eth0) is pending: new adjacency Jun 22 17:35:38 csp124 eigrpd[2065]: [S952A-FCHKT] Neighbor 10.5.3.111 (eth0) is pending: new adjacency Jun 22 17:35:38 csp124 eigrpd[2065]: [MYQBE-NTVKH] Neighbor(10.5.3.51) adjacency became full Jun 22 17:35:38 csp124 eigrpd[2065]: [MYQBE-NTVKH] Neighbor(10.5.3.111) adjacency became full Jun 22 17:35:38 csp124 eigrpd[2065]: [S952A-FCHKT] Neighbor 10.5.3.11 (eth0) is pending: new adjacency Jun 22 17:35:38 csp124 eigrpd[2065]: [S952A-FCHKT] Neighbor 10.5.3.5 (eth0) is pending: new adjacency Jun 22 17:35:38 csp124 eigrpd[2065]: [MYQBE-NTVKH] Neighbor(10.5.3.11) adjacency became full Jun 22 17:35:38 csp124 eigrpd[2065]: [JXM6E-P1P6V] EIGRP AS: 98 State: Passive Event: Non Query Event Feasability not satisfied Network: 10.15.17.0 Packet Type: Update Reply RIJ Count: 0 change: Decrease Jun 22 17:35:38 csp124 eigrpd[2065]: eigrpd/eigrp_fsm.c:443: eigrp_fsm_event_nq_fcn(): assertion (successors) failed Jun 22 17:35:38 csp124 watchfrr[2042]: [HD38Q-0HBRT][EC 268435457] eigrpd state -> down : read returned EOF Jun 22 17:35:38 csp124 zebra[2060]: [VXKFG-8SJRV][EC 4043309121] Client 'eigrp' encountered an error and is shutting down. Jun 22 17:35:38 csp124 zebra[2060]: [YDZ55-W3VM6] release_daemon_table_chunks: Released 0 table chunks Jun 22 17:35:38 csp124 zebra[2060]: [JPSA8-5KYEA] client 16 disconnected 17 eigrp routes removed from the rib Jun 22 17:35:38 csp124 zebra[2060]: [S929C-NZR3N] client 16 disconnected 0 eigrp nhgs removed from the rib Jun 22 17:35:43 csp124 watchfrr[2042]: [YFT0P-5Q5YX] Forked background command [pid 2083]: /usr/lib/frr/watchfrr.sh restart eigrpd Jun 22 17:35:43 csp124 zebra[2060]: [V98V0-MTWPF] client 16 says hello and bids fair to announce only eigrp routes vrf=0 Jun 22 17:35:43 csp124 eigrpd[2092]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00 Jun 22 17:35:43 csp124 watchfrr[2042]: [QDG3Y-BY5TN] eigrpd state -> up : connect succeeded ^C

and i can not find workaround this

Regards, Sergey

lucize commented 2 years ago

maybe this works in your environment, for me it seems it's till a wip, https://github.com/diivious/eigrpd

skhmel commented 2 years ago

last update eigrpd is partially working - gets only the default route, but have other neighbors with many routes and crashing late:

root@csp-dev:~# vtysh

Hello, this is FRRouting (version 8.4-dev-dVs-EIGRP-v0-g4d3fb2bf4-dirty). Copyright 1996-2005 Kunihiro Ishiguro, et al.

This is a git build of frr-8.4-dev-73-g4d3fb2bf4-dirty Associated branch(es): local:master github/frrouting/frr.git/master

csp-dev# csp-dev# conf t csp-dev(config)# route eigrp 98 csp-dev(config-router)# network 10.5.3.0/24 csp-dev(config-router)# csp-dev(config-router)# exit csp-dev(config)# exit csp-dev# sho ip eigrp neighbors

EIGRP neighbors for AS(98)

H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 10.5.3.1 ens33 14 0 0 2 0 3242525 0 10.5.3.111 ens33 14 0 0 2 0 705171 0 10.5.3.51 ens33 10 0 0 2 0 1394659 0 10.5.3.11 ens33 14 0 0 2 0 594606 0 10.5.3.5 ens33 10 0 0 2 0 23843465 csp-dev# csp-dev# csp-dev# sho ip route eigrp 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

E>* 0.0.0.0/32 [90/2560] via 10.5.3.111, ens33, weight 1, 00:00:15 E 10.5.3.0/24 [90/28160] is directly connected, ens33, weight 1, 00:00:17 csp-dev# csp-dev# csp-dev# sho ip eigrp topology vtysh: error reading from eigrpd: Resource temporarily unavailable (11)Warning: closing connection to eigrpd because of an I/O error! csp-dev# csp-dev# csp-dev# sho ip route eigrp csp-dev# sho ip eigrp neighbors Warning: connecting to eigrpd...success! EIGRP Routing Process not enabled csp-dev#