Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FRR shows duplicated OSPF routes (duplicate nexthop removed) #17869

Open
2 tasks done
edvinaskairys opened this issue Jan 17, 2025 · 1 comment
Open
2 tasks done

FRR shows duplicated OSPF routes (duplicate nexthop removed) #17869

edvinaskairys opened this issue Jan 17, 2025 · 1 comment
Labels
triage Needs further investigation

Comments

@edvinaskairys
Copy link

edvinaskairys commented Jan 17, 2025

Description

Installed FRR 10.2.1 on Rocky Linux 9.5, interfaces are configured with network manager. When running the ospfd, 3 of 4 ospf external routes is shown as duplicated.

Don't know if it helps, but i'm using multiple ospf instances: ospfd_instances="1,2" configured in /etc/frr/daemons.

dcvpnr001prphk2# sho ip route ospf  1
O[1]>* 10.0.0.0/20 [110/111] via 10.254.65.24, eno12409.208, weight 1, 20:51:54
                             via 10.254.65.24, eno12409.208, weight 1, 20:51:54
                             via 10.254.65.24, eno12409.208, weight 1, 20:51:54
                             via 10.254.65.24, eno12409.208, weight 1, 20:51:54
O[1]>* 10.0.16.0/20 [110/111] via 10.254.65.24, eno12409.208, weight 1, 20:51:54
                              via 10.254.65.24, eno12409.208, weight 1, 20:51:54
                              via 10.254.65.24, eno12409.208, weight 1, 20:51:54
                              via 10.254.65.24, eno12409.208, weight 1, 20:51:54
O[1]>* 10.1.0.0/16 [110/111] via 10.254.65.24, eno12409.208, weight 1, 20:51:54
                             via 10.254.65.24, eno12409.208, weight 1, 20:51:54
                             via 10.254.65.24, eno12409.208, weight 1, 20:51:54
                             via 10.254.65.24, eno12409.208, weight 1, 20:51:54
O[1]>* 10.2.0.0/16 [110/111] via 10.254.65.24, eno12409.208, weight 1, 20:51:54
                             via 10.254.65.24, eno12409.208, weight 1, 20:51:54
                             via 10.254.65.24, eno12409.208, weight 1, 20:51:54
                             via 10.254.65.24, eno12409.208, weight 1, 20:51:54
O[1]>* 10.3.0.0/16 [110/111] via 10.254.65.24, eno12409.208, weight 1, 20:51:54
                             via 10.254.65.24, eno12409.208, weight 1, 20:51:54
                             via 10.254.65.24, eno12409.208, weight 1, 20:51:54
                             via 10.254.65.24, eno12409.208, weight 1, 20:51:54

Lets take the same route and see:

Routing entry for 10.0.0.0/20
  Known via "ospf[1]", distance 110, metric 111, best
  Last update 20:53:43 ago
  * 10.254.65.24, via eno12409.208, weight 1
    10.254.65.24, via eno12409.208 (duplicate nexthop removed), weight 1
    10.254.65.24, via eno12409.208 (duplicate nexthop removed), weight 1
    10.254.65.24, via eno12409.208 (duplicate nexthop removed), weight 1


dcvpnr001prphk2# show  ip ospf  1 route 
============ OSPF external routing table ===========
N E1 10.0.0.0/20           [111] tag: 0
                           via 10.254.65.24, eno12409.208
                           via 10.254.65.24, eno12409.208
                           via 10.254.65.24, eno12409.208
                           via 10.254.65.24, eno12409.208

dcvpnr001prphk2# show  ip ospf 1 database 

OSPF Instance: 1


       OSPF Router with ID (10.254.65.26)

                Router Link States (Area 0.0.0.0)

Link ID         ADV Router      Age  Seq#       CkSum  Link count
10.65.254.0    10.65.254.0     1451 0x80028bbf 0x60ae 27
10.65.254.1    10.65.254.1      554 0x8000f4ec 0xf35c 3
10.65.254.3    10.65.254.3      614 0x80028ba3 0xffad 27
10.65.254.8    10.65.254.8      247 0x8000f4f1 0xd44c 3
10.254.65.15   10.254.65.15    1503 0x80003338 0x49f5 3
10.254.65.19   10.254.65.19    1700 0x80001e7c 0xab4b 3
10.254.65.26   10.254.65.26    1494 0x80000040 0x671b 3

                Net Link States (Area 0.0.0.0)

Link ID         ADV Router      Age  Seq#       CkSum
10.65.254.1    10.65.254.1      554 0x80000ea4 0xf567
10.65.254.3    10.65.254.3     1175 0x80010e32 0xba2d
10.65.254.8    10.65.254.8      247 0x80000ea4 0xcb7c
10.65.254.10   10.65.254.8      247 0x80000ee7 0x5ba4
10.254.65.15   10.254.65.15     853 0x8000112b 0x7059
10.254.65.17   10.254.65.15     103 0x80001179 0xdd98
10.254.65.19   10.254.65.19     990 0x8000112a 0x6a54
10.254.65.21   10.254.65.19     820 0x8000117a 0xd395
10.254.65.24   10.65.254.3      614 0x8000002b 0x08c7
10.254.65.29   10.65.254.3     1215 0x800002c9 0xe261

                AS External Link States

Link ID         ADV Router      Age  Seq#       CkSum  Route
0.0.0.0        10.65.254.1      554 0x8001530d 0x1ce1 E2 0.0.0.0/0 [0x1]
0.0.0.0        10.65.254.8      247 0x800177fe 0x295d E2 0.0.0.0/0 [0x1]
10.0.0.0       10.65.254.1      554 0x80002d75 0x0448 E1 10.0.0.0/20 [0x0]
10.0.0.0       10.65.254.8      247 0x80002d74 0xdb6a E1 10.0.0.0/20 [0x0]
10.0.0.0       10.254.65.15     633 0x800038d5 0xd31d E1 10.0.0.0/20 [0x0]
10.0.0.0       10.254.65.19     740 0x80001364 0x0e75 E1 10.0.0.0/20 [0x0]
10.0.16.0      10.65.254.1      554 0x80002d75 0x53e8 E1 10.0.16.0/20 [0x0]
10.0.16.0      10.65.254.8      247 0x80002d74 0x2b0b E1 10.0.16.0/20 [0x0]
10.0.16.0      10.254.65.15      24 0x800038ca 0x39b2 E1 10.0.16.0/20 [0x0]
10.0.16.0      10.254.65.19     130 0x800012c3 0xa173 E1 10.0.16.0/20 [0x0]
10.1.0.0       10.65.254.1      554 0x80002d77 0x3ffa E1 10.1.0.0/16 [0x0]
10.1.0.0       10.65.254.8      247 0x80002d76 0x171d E1 10.1.0.0/16 [0x0]
10.1.0.0       10.254.65.15      24 0x800038ce 0x21c6 E1 10.1.0.0/16 [0x0]
10.1.0.0       10.254.65.19    1530 0x800012c1 0x9581 E1 10.1.0.0/16 [0x0]
10.2.0.0       10.65.254.1      554 0x80002d75 0x3704 E1 10.2.0.0/16 [0x0]
10.2.0.0       10.65.254.8      247 0x80002d74 0x0f26 E1 10.2.0.0/16 [0x0]
10.2.0.0       10.254.65.15     553 0x800038d9 0xfedc E1 10.2.0.0/16 [0x0]
10.2.0.0       10.254.65.19     820 0x80001364 0x4131 E1 10.2.0.0/16 [0x0]
10.3.0.0       10.65.254.1      554 0x80000979 0x8fca E1 10.3.0.0/16 [0x0]
10.3.0.0       10.65.254.8      247 0x80000979 0x65ed E1 10.3.0.0/16 [0x0]
10.3.0.0       10.254.65.15     313 0x80000c00 0x2bb5 E1 10.3.0.0/16 [0x0]
10.3.0.0       10.254.65.19     790 0x80000bfd 0x1ac5 E1 10.3.0.0/16 [0x0]
10.8.0.0       10.65.254.1     1078 0x80002737 0x7dfb E1 10.8.0.0/16 [0x0]
10.8.0.0       10.65.254.8      754 0x80002736 0x551e E1 10.8.0.0/16 [0x0]
10.8.0.0       10.254.65.15      83 0x80003224 0x345d E1 10.8.0.0/16 [0x0]
10.8.0.0       10.254.65.19    1200 0x800012f9 0xd007 E1 10.8.0.0/16 [0x0]
10.11.0.0      10.65.254.1      554 0x80002d77 0xc669 E1 10.11.0.0/16 [0x0]
10.11.0.0      10.65.254.8      247 0x80002d76 0x9e8b E1 10.11.0.0/16 [0x0]
10.11.0.0      10.254.65.15      24 0x800038ce 0xa835 E1 10.11.0.0/16 [0x0]
10.11.0.0      10.254.65.19    1640 0x800012c1 0x1def E1 10.11.0.0/16 [0x0]
10.13.0.0      10.65.254.1      554 0x80002a7b 0xaf7d E1 10.13.0.0/16 [0x0]
10.13.0.0      10.65.254.8      247 0x80002a7b 0x85a0 E1 10.13.0.0/16 [0x0]
10.13.0.0      10.254.65.15      24 0x8000375c 0x78d6 E1 10.13.0.0/16 [0x0]
10.13.0.0      10.254.65.19    1630 0x800012c3 0x0108 E1 10.13.0.0/16 [0x0]
10.21.0.0      10.65.254.1      554 0x80002d75 0x52d5 E1 10.21.0.0/16 [0x0]
10.21.0.0      10.65.254.8      247 0x80002d74 0x2af7 E1 10.21.0.0/16 [0x0]
10.21.0.0      10.254.65.15     563 0x800038d8 0x1cad E1 10.21.0.0/16 [0x0]
10.21.0.0      10.254.65.19     900 0x80001363 0x5e02 E1 10.21.0.0/16 [0x0]
10.22.0.0      10.65.254.1      554 0x80002d75 0x46e0 E1 10.22.0.0/16 [0x0]
10.22.0.0      10.65.254.8      247 0x80002d74 0x1e03 E1 10.22.0.0/16 [0x0]
10.22.0.0      10.254.65.15     543 0x800038d7 0x12b7 E1 10.22.0.0/16 [0x0]
10.22.0.0      10.254.65.19     730 0x80001363 0x520d E1 10.22.0.0/16 [0x0]
10.33.0.0      10.65.254.1      554 0x80002d75 0xc15a E1 10.33.0.0/16 [0x0]
10.33.0.0      10.65.254.8      247 0x80002d74 0x997c E1 10.33.0.0/16 [0x0]
10.33.0.0      10.254.65.15     303 0x80003479 0x56ca E1 10.33.0.0/16 [0x0]
10.33.0.0      10.254.65.19     770 0x80001177 0xab96 E1 10.33.0.0/16 [0x0]
10.34.0.0      10.65.254.1      554 0x80002d75 0xb565 E1 10.34.0.0/16 [0x0]
10.34.0.0      10.65.254.8      247 0x80002d74 0x8d87 E1 10.34.0.0/16 [0x0]
10.34.0.0      10.254.65.15     953 0x800033d4 0x962f E1 10.34.0.0/16 [0x0]
10.34.0.0      10.254.65.19    1600 0x8000117c 0x95a6 E1 10.34.0.0/16 [0x0]
10.64.32.0     10.65.254.1      554 0x80002621 0x6b9f E1 10.64.32.0/19 [0xfe4d]
10.64.32.0     10.65.254.8      247 0x80002621 0x53af E1 10.64.32.0/19 [0xfe4e]
10.64.32.0     10.254.65.15    1393 0x80002d00 0xeb95 E1 10.64.32.0/19 [0x0]
10.64.32.0     10.254.65.19     410 0x8000115e 0x6bcf E1 10.64.32.0/19 [0x0]
10.71.0.0      10.65.254.1      554 0x8000002f 0x0c5d E1 10.71.0.0/16 [0x0]
10.71.0.0      10.65.254.8      247 0x8000006c 0x67bd E1 10.71.0.0/16 [0x0]
10.71.0.0      10.254.65.15      33 0x8000003d 0xa1c9 E1 10.71.0.0/16 [0x0]
10.71.0.0      10.254.65.19     600 0x8000003b 0x8ddb E1 10.71.0.0/16 [0x0]
10.248.1.0     10.65.254.1      554 0x80002d75 0x98aa E1 10.248.1.0/24 [0x0]
10.248.1.0     10.65.254.8      247 0x80002d74 0x70cc E1 10.248.1.0/24 [0x0]
10.248.1.0     10.254.65.15      24 0x800038ca 0x7e74 E1 10.248.1.0/24 [0x0]
10.248.1.0     10.254.65.19      10 0x800012c2 0xe834 E1 10.248.1.0/24 [0x0]
10.248.2.0     10.65.254.1      554 0x80002d75 0x8db4 E1 10.248.2.0/24 [0x0]
10.248.2.0     10.65.254.8      247 0x80002d74 0x65d6 E1 10.248.2.0/24 [0x0]
10.248.2.0     10.254.65.15     483 0x800038d5 0x5d89 E1 10.248.2.0/24 [0x0]
10.248.2.0     10.254.65.19     890 0x80001365 0x95e2 E1 10.248.2.0/24 [0x0]
10.248.3.0     10.65.254.1      554 0x80000979 0xe67a E1 10.248.3.0/24 [0x0]
10.248.3.0     10.65.254.8      247 0x80000979 0xbc9d E1 10.248.3.0/24 [0x0]
10.248.3.0     10.254.65.15     513 0x80000c02 0x7e67 E1 10.248.3.0/24 [0x0]
10.248.3.0     10.254.65.19     440 0x80000c02 0x667b E1 10.248.3.0/24 [0x0]
10.250.0.0     10.65.254.1      554 0x80000628 0x9621 E1 10.250.0.0/23 [0x0]
10.250.0.0     10.65.254.8      247 0x80000626 0x7042 E1 10.250.0.0/23 [0x0]
10.250.0.0     10.254.65.15      24 0x800007df 0xd539 E1 10.250.0.0/23 [0x0]
10.250.0.0     10.254.65.19    1620 0x800007ea 0xa758 E1 10.250.0.0/23 [0x0]
10.250.2.0     10.65.254.1      554 0x80002b9a 0x2cf1 E1 10.250.2.0/23 [0x0]
10.250.2.0     10.65.254.8      247 0x80002b9a 0x0215 E1 10.250.2.0/23 [0x0]
10.250.2.0     10.254.65.15     553 0x800038cf 0x4c9f E1 10.250.2.0/23 [0x0]
10.250.2.0     10.254.65.19     890 0x8000136b 0x6c05 E1 10.250.2.0/23 [0x0]
10.250.4.0     10.65.254.1      554 0x80000979 0xbea0 E1 10.250.4.0/23 [0x0]
10.250.4.0     10.65.254.8      247 0x80000979 0x94c3 E1 10.250.4.0/23 [0x0]
10.250.4.0     10.254.65.15     573 0x80000bfb 0x6585 E1 10.250.4.0/23 [0x0]
10.250.4.0     10.254.65.19     480 0x80000bf8 0x5396 E1 10.250.4.0/23 [0x0]
10.250.8.0     10.65.254.1     1078 0x80002738 0xb0cf E1 10.250.8.0/22 [0x0]
10.250.8.0     10.65.254.8      754 0x80002737 0x88f1 E1 10.250.8.0/22 [0x0]
10.250.8.0     10.254.65.15      13 0x80001edb 0x40b3 E1 10.250.8.0/23 [0x0]
10.250.8.0     10.254.65.19    1110 0x800012f6 0x0cd6 E1 10.250.8.0/22 [0x0]
10.250.9.255   10.65.254.1     1078 0x800017a3 0x0919 E1 10.250.8.0/23 [0x0]
10.250.9.255   10.65.254.8      754 0x800017a4 0xdc3d E1 10.250.8.0/23 [0x0]
10.250.9.255   10.254.65.19    1190 0x800012fb 0x01d9 E1 10.250.8.0/23 [0x0]
10.250.10.0    10.65.254.1     1078 0x80001a38 0xcbbd E1 10.250.10.0/23 [0x0]
10.250.10.0    10.65.254.8      754 0x80001a38 0xa1e0 E1 10.250.10.0/23 [0x0]
10.250.10.0    10.254.65.15      73 0x800021f1 0xf4e3 E1 10.250.10.0/23 [0x0]
10.250.10.0    10.254.65.19    1090 0x800012f8 0xfbe0 E1 10.250.10.0/23 [0x0]
10.250.11.255  10.254.65.15     113 0x8000321f 0x5249 E1 10.250.8.0/22 [0x0]
10.250.34.0    10.65.254.1      554 0x80000c1b 0x2c6f E1 10.250.34.0/24 [0x0]
10.250.34.0    10.65.254.8      247 0x80000c1b 0x0292 E1 10.250.34.0/24 [0x0]
10.250.34.0    10.254.65.15     903 0x80000e64 0x451b E1 10.250.34.0/24 [0x0]
10.250.34.0    10.254.65.19    1640 0x80000e7e 0xf849 E1 10.250.34.0/24 [0x0]
10.250.35.0    10.65.254.1      554 0x800017d7 0x864c E1 10.250.35.0/24 [0x0]
10.250.35.0    10.65.254.8     1254 0x8000004a 0xbcb3 E1 10.250.35.0/24 [0x0]
10.250.35.0    10.254.65.15    1103 0x80001c34 0x7011 E1 10.250.35.0/24 [0x0]
10.250.35.0    10.254.65.19    1650 0x8000117f 0xe25a E1 10.250.35.0/24 [0x0]
10.253.1.0     10.65.254.1      554 0x80002d1c 0x0f88 E1 10.253.1.0/24 [0x0]
10.253.1.0     10.65.254.8      247 0x80002d1b 0xe6aa E1 10.253.1.0/24 [0x0]
10.253.1.0     10.254.65.15      24 0x800038c7 0x48a8 E1 10.253.1.0/24 [0x0]
10.253.1.0     10.254.65.19    1620 0x800012bf 0xb268 E1 10.253.1.0/24 [0x0]
10.253.22.0    10.65.254.1      554 0x80002d75 0x74b4 E1 10.253.22.0/24 [0x0]
10.253.22.0    10.65.254.8      247 0x80002d74 0x4cd6 E1 10.253.22.0/24 [0x0]
10.253.22.0    10.254.65.15     663 0x800038dc 0x3690 E1 10.253.22.0/24 [0x0]
10.253.22.0    10.254.65.19     790 0x8000136a 0x72e7 E1 10.253.22.0/24 [0x0]
10.254.1.0     10.65.254.1      554 0x80002d75 0x50ec E1 10.254.1.0/24 [0x0]
10.254.1.0     10.65.254.8      247 0x80002d74 0x280f E1 10.254.1.0/24 [0x0]
10.254.1.0     10.254.65.15      24 0x800038ca 0x36b6 E1 10.254.1.0/24 [0x0]
10.254.1.0     10.254.65.19      30 0x800012c2 0xa076 E1 10.254.1.0/24 [0x0]
10.254.2.0     10.65.254.1      554 0x80002d75 0x45f6 E1 10.254.2.0/24 [0x0]
10.254.2.0     10.65.254.8      247 0x80002d74 0x1d19 E1 10.254.2.0/24 [0x0]
10.254.2.0     10.254.65.15     683 0x800038db 0x09d1 E1 10.254.2.0/24 [0x0]
10.254.2.0     10.254.65.19     800 0x8000136b 0x412b E1 10.254.2.0/24 [0x0]
10.254.3.0     10.65.254.1      554 0x80000979 0x9ebc E1 10.254.3.0/24 [0x0]
10.254.3.0     10.65.254.8      247 0x80000979 0x74df E1 10.254.3.0/24 [0x0]
10.254.3.0     10.254.65.15     463 0x80000c04 0x32ab E1 10.254.3.0/24 [0x0]
10.254.3.0     10.254.65.19     690 0x80000c03 0x1cbe E1 10.254.3.0/24 [0x0]
10.254.33.0    10.65.254.1     1570 0x800000ac 0x080b E1 10.254.33.0/24 [0x0]
10.254.33.0    10.65.254.8      247 0x80000e10 0xecad E1 10.254.33.0/24 [0x0]
10.254.33.0    10.254.65.15     463 0x800000d1 0x6f8e E1 10.254.33.0/24 [0x0]
10.254.33.0    10.254.65.19     680 0x800000c4 0x7195 E1 10.254.33.0/24 [0x0]
10.254.34.0    10.65.254.1      554 0x80002d75 0xe338 E1 10.254.34.0/24 [0x0]
10.254.34.0    10.65.254.8      247 0x80002d74 0xbb5a E1 10.254.34.0/24 [0x0]
10.254.34.0    10.254.65.15     893 0x800033cd 0xd2fa E1 10.254.34.0/24 [0x0]
10.254.34.0    10.254.65.19    1650 0x8000117b 0xc578 E1 10.254.34.0/24 [0x0]
10.254.71.0    10.65.254.1      262 0x80000001 0xbbdc E1 10.254.71.0/24 [0x0]
10.254.71.0    10.65.254.8     1764 0x80000040 0x133f E1 10.254.71.0/24 [0x0]
172.16.0.0     10.65.254.1      554 0x80002d75 0x1089 E1 172.16.0.0/12 [0x0]
172.16.0.0     10.65.254.8      247 0x80002d74 0xe7ab E1 172.16.0.0/12 [0x0]
172.16.0.0     10.254.65.15      24 0x800038c5 0xff4e E1 172.16.0.0/12 [0x0]
172.16.0.0     10.254.65.19    1640 0x800012c3 0x5e14 E1 172.16.0.0/12 [0x0]
172.22.0.0     10.65.254.1       53 0x8000002f 0x18df E1 172.22.0.0/16 [0x0]
172.22.0.0     10.65.254.8      247 0x80000027 0xfdfa E1 172.22.0.0/16 [0x0]
172.22.0.0     10.254.65.15      83 0x8000009c 0xeeab E1 172.22.0.0/16 [0x0]
172.22.0.0     10.254.65.19    1090 0x80000094 0xe6b7 E1 172.22.0.0/16 [0x0]
185.84.60.0    10.65.254.1      554 0x800231c0 0x2e7d E1 185.84.60.0/24 [0x0]
dcvpnr001prphk2#            

interface eno12409.208
 ip address 10.254.65.25/31
 ip ospf 1 area 0.0.0.0
 no ip ospf passive
exit

!
router ospf 1
 ospf router-id 10.254.65.26
 redistribute bgp metric 1 metric-type 1 route-map REDIST_BGP_TO_OSPF
 passive-interface default
 area 0.0.0.0 authentication message-digest
exit
!

Its strange that only one interface is available eno12409.208, but show ip route shows all 4 routes, even only one is correct. Is this correct behaviour ?

ip route on Linux shows as correct and expected.

prod [root@dcvpnr001prphk2 ~]# ip route
10.1.0.0/16 nhid 62 via 10.254.65.24 dev eno12409.208 proto ospf metric 20 
10.2.0.0/16 nhid 62 via 10.254.65.24 dev eno12409.208 proto ospf metric 20 
10.3.0.0/16 nhid 62 via 10.254.65.24 dev eno12409.208 proto ospf metric 20 
10.8.0.0/16 nhid 62 via 10.254.65.24 dev eno12409.208 proto ospf metric 20 
10.11.0.0/16 nhid 62 via 10.254.65.24 dev eno12409.208 proto ospf metric 20 
10.13.0.0/16 nhid 62 via 10.254.65.24 dev eno12409.208 proto ospf metric 20 
10.21.0.0/16 nhid 62 via 10.254.65.24 dev eno12409.208 proto ospf metric 20 
10.22.0.0/16 nhid 62 via 10.254.65.24 dev eno12409.208 proto ospf metric 20 
10.33.0.0/16 nhid 62 via 10.254.65.24 dev eno12409.208 proto ospf metric 20 
10.34.0.0/16 nhid 62 via 10.254.65.24 dev eno12409.208 proto ospf metric 20 
10.64.32.0/19 nhid 62 via 10.254.65.24 dev eno12409.208 proto ospf metric 20 

prod [root@dcvpnr001prphk2 ~]# ip route get 10.1.0.0
10.1.0.0 via 10.254.65.24 dev eno12409.208 src 10.254.65.25 uid 0 
    cache 

prod [root@dcvpnr001prphk2 ~]#        ip addr show eno12409.208
17: eno12409.208@eno12409: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 30:3e:a7:1c:9e:f1 brd ff:ff:ff:ff:ff:ff
    inet 10.254.65.25/31 brd 255.255.255.255 scope global eno12409.208
       valid_lft forever preferred_lft forever
prod [root@dcvpnr001prphk2 ~]# 

Version

dcvpnr001prphk2# show version 
FRRouting 10.2.1 (dcvpnr001prphk2) on Linux(5.14.0-503.15.1.el9_5.x86_64).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
configured with:
    '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sbindir=/usr/lib/frr' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-static' '--disable-werror' '--enable-multipath=256' '--enable-vtysh' '--enable-ospfclient' '--enable-ospfapi' '--enable-rtadv' '--enable-ldpd' '--enable-pimd' '--enable-pim6d' '--enable-pbrd' '--enable-nhrpd' '--enable-eigrpd' '--enable-babeld' '--enable-vrrpd' '--enable-user=frr' '--enable-group=frr' '--enable-vty-group=frrvty' '--enable-fpm' '--enable-watchfrr' '--disable-bgp-vnc' '--enable-isisd' '--enable-rpki' '--enable-bfdd' '--enable-pathd' '--disable-grpc' '--enable-snmp' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' 'CC=gcc' 'CXX=g++' 'LT_SYS_LIBRARY_PATH=/usr/lib64:'

How to reproduce

Configure ospf neighbourship between Rocky Linux 9.5 and FRR. Look at ospf external routes.

Expected behavior

FRR should not(?) consider all external routes as duplicated ?

Actual behavior

FRR considers external routes as duplicated

Additional context

No response

Checklist

  • I have searched the open issues for this bug.
  • I have not included sensitive information in this report.
@edvinaskairys edvinaskairys added the triage Needs further investigation label Jan 17, 2025
@edvinaskairys edvinaskairys changed the title FRR shows duplicated OSPF routes FRR shows duplicated OSPF routes (duplicate nexthop removed) Jan 17, 2025
@aceelindem
Copy link
Collaborator

It looks like FRR is installing OSPF External Type 1 metric ECMP routes via the same next-hop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Needs further investigation
Projects
None yet
Development

No branches or pull requests

2 participants