Le rotte Brocade OSPFv3 non sono installate

Aug 24 2020

Sto cercando di distribuire OSPFv3 sulla nostra rete. Tuttavia, alcuni router non installano le route OSPFv3 nelle loro tabelle di routing. Ad esempio, questo router è in grado di eseguire il ping di un determinato host sulla rete.

#sh ipv6 ospf routes fd42:1337::9:2
   Destination                    Cost       E2Cost     Tag        Flags    Dis
IA fd42:1337::9:0/112             2          0          0          00000003 110
   Next_Hop_Router                Outgoing_Interface Adv_Router
   1   fe80::224:38ff:fe98:af00       ve 14              10.39.0.1

#sh ipv6 route fd42:1337::9:2
Type Codes - B:BGP C:Connected I:ISIS L:Local O:OSPF R:RIP S:Static
BGP  Codes - i:iBGP e:eBGP
ISIS Codes - L1:Level-1 L2:Level-2
OSPF Codes - i:Inter Area 1:External Type 1 2:External Type 2
STATIC Codes - d:DHCPv6
        Type IPv6 Prefix           Next Hop Router    Interface     Dis/Metric     Uptime src-vrf
1       O    fd42:1337::9:0/112    fe80::224:38ff:fe98:af00
                                                      ve 14         110/2          1d1h   -
#ping ipv6 fd42:1337::9:2
Sending 1, 16-byte ICMPv6 Echo to fd42:1337::9:2
timeout 5000 msec, Hop Limit 64
Type Control-c to abort
Reply from fd42:1337::9:2: bytes=16 time=1ms Hop Limit=63
Success rate is 100 percent (1/1), round-trip min/avg/max=1/1/1 ms.

Tracing the route to IPv6 node fd42:1337::9:2 from 1 to 30 hops
  1    26 ms   <1 ms   <1 ms fd42:1337::4:1
  2    99 ms   <1 ms   <1 ms fd42:1337::9:2

Tuttavia, il router che è un vicino del router sopra (1 hop più lontano) non è in grado di raggiungere questa rete, anche se la rete si trova nel suo database OSPF.

#sh ipv6 ospf routes fd42:1337::9:2
   Destination                    Cost       E2Cost     Tag        Flags    Dis
IA fd42:1337::9:0/112             3          0          0          00000002 110
   Next_Hop_Router                Outgoing_Interface Adv_Router
   1   fe80::768e:f8ff:fe29:9f00      ve 15              10.39.0.5

#sh ipv route fd42:1337::9:2
Can't find matching entry

Tracing the route to IPv6 node fd42:1337::9:2 from 1 to 30 hops

  1    *       *       *     ?
  2    *       *       *     ?

I 2 router di cui sopra hanno un'ajecency su VE15 che è nello stato completo.

#sh ipv6 ospf neighbor

Total number of neighbors in all states: 2
Number of neighbors in state Full      : 2

RouterID        Pri State    DR              BDR             Interface     [State]
10.39.0.5         1 Full     10.39.0.5       10.13.13.223    ve 15         [BDR]
10.39.0.9         1 Full     10.39.0.9       10.13.13.223    ve 19         [BDR]

Ho già provato a cancellare il processo OSPFv3, ma senza fortuna qui. Ho anche abilitato il debug OSPFv3, l'output di debug conteneva le seguenti informazioni (filtrate sull'indirizzo ipv6 e sull'id del router):

Aug 23 15:37:23.427 OSPFv3: SPF: 10.39.0.5:1553(N) is the first hop
Aug 23 15:37:23.427 OSPFv3: SPF : 10.39.0.5:1553(N) nexthop :: ifindex 1553
Aug 23 15:37:23.427 OSPFv3: SPF: Examining Vertex: 10.39.0.5:1553(N)
Aug 23 15:37:23.427 OSPFv3: SPF: new node added to candidate list: 10.39.0.5:1553(N)
Aug 23 15:37:23.427 OSPFv3: SPF: installing vertex 10.39.0.5:1553(N)
Aug 23 15:37:23.427 OSPFv3: ROUTE: Creating route: 10.39.0.5:1553(N)
Aug 23 15:37:23.427 OSPFv3: SPF : 10.39.0.5:0 nexthop fe80::768e:f8ff:fe29:9f00 ifindex 1553
Aug 23 15:37:23.427 OSPFv3: SPF: Examining Vertex: 10.39.0.5:0
Aug 23 15:37:23.427 OSPFv3: SPF: new node added to candidate list: 10.39.0.5:0
Aug 23 15:37:23.427 OSPFv3: SPF: Ignore link description to myself
Aug 23 15:37:23.428 OSPFv3: SPF: installing vertex 10.39.0.5:0
Aug 23 15:37:23.428 OSPFv3: ROUTE: Creating route: 10.39.0.5:0
Aug 23 15:37:23.428 OSPFv3: SPF: 10.39.0.5:1552(N) inherits 10.39.0.5:0's nexthop_list
Aug 23 15:37:23.428 OSPFv3: SPF: Examining Vertex: 10.39.0.5:1552(N)
Aug 23 15:37:23.428 OSPFv3: SPF: new node added to candidate list: 10.39.0.5:1552(N)
Aug 23 15:37:23.428 OSPFv3: SPF: 10.39.0.5:1553(N) inherits 10.39.0.5:0's nexthop_list
Aug 23 15:37:23.428 OSPFv3: SPF: Examining Vertex: 10.39.0.5:1553(N)
Aug 23 15:37:23.428 OSPFv3: SPF: already in SPF tree: 10.39.0.5:1553(N)

..snip..

Aug 23 15:37:23.465 OSPFv3: INTRA AREA ROUTE: Can't find Prefix LSA for Vertex Type 0 id 0.0.0.0 AdvRouter 10.39.0.5

..snip..

Aug 23 15:37:23.466 OSPFv3: INTRA AREA ROUTE: found Prefix LSA type : IntraPrefix : for Vertex Type 1 Id 0.0.6.16 Advrouter 10.39.0.5
Aug 23 15:37:23.466 OSPFv3: INTRA AREA ROUTE: Intra Area route install fd42:1337::4:0/112 cost 2, area 0.0.0.0
Aug 23 15:37:23.466 OSPFv3: ROUTE: Creating route: fd42:1337::4:0/112
Aug 23 15:37:23.466 OSPFv3: INTRA AREA ROUTE: found Prefix LSA type : IntraPrefix : for Vertex Type 1 Id 0.0.6.17 Advrouter 10.39.0.5
Aug 23 15:37:23.466 OSPFv3: INTRA AREA ROUTE: Intra Area route install fd42:1337::5:0/112 cost 1, area 0.0.0.0
Aug 23 15:37:23.466 OSPFv3: ROUTE: Creating route: fd42:1337::5:0/112

..snip..

Aug 23 15:37:23.466 OSPFv3: INTRA AREA ROUTE: found Prefix LSA type : IntraPrefix : for Vertex Type 1 Id 0.0.6.20 Advrouter 10.39.0.1
Aug 23 15:37:23.466 OSPFv3: INTRA AREA ROUTE: Intra Area route install fd42:1337::9:0/112 cost 3, area 0.0.0.0
Aug 23 15:37:23.466 OSPFv3: ROUTE: Creating route: fd42:1337::9:0/112

..snip..

Aug 23 15:37:23.474 OSPFv3: Validating route fd42:1337::9:0/112, nexthop cnt 1, route_info->flag 0x00000002

Sembra che i 2 router non siano correttamente vicini, qualcuno potrebbe indicarmi la giusta direzione per risolvere questo problema?

Risposte

1 amit177 Aug 28 2020 at 03:22

Potrebbero essere percorsi vecchi da modifiche recenti, prova a cancellare la tabella di routing:

clear ipv6 ospf all