Routing

 View Only
last person joined: 2 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  ospf3 advertises default gateway into nssa, but it does not display in the routing table

    Posted 03-22-2021 10:55
    On ABR, I have the following configuration
    set protocols ospf3 realm ipv4-unicast area 0.0.0.23 nssa default-lsa default-metric 10
    set protocols ospf3 realm ipv4-unicast area 0.0.0.23 nssa no-summaries
    set protocols ospf3 realm ipv4-unicast area 0.0.0.23 interface lo0.0 passive
    set protocols ospf3 realm ipv4-unicast area 0.0.0.23 interface ge-0/0/0.45 interface-type p2p
    set protocols ospf3 realm ipv4-unicast area 0.0.0.0 interface ge-0/0/5.42 interface-type p2p
    set protocols ospf3 area 0.0.0.23 nssa default-lsa default-metric 10
    set protocols ospf3 area 0.0.0.23 nssa no-summaries
    set protocols ospf3 area 0.0.0.23 interface ge-0/0/0.45 interface-type p2p
    set protocols ospf3 area 0.0.0.23 interface lo0.0 passive
    set protocols ospf3 area 0.0.0.0 interface ge-0/0/5.42 interface-type p2p​

    From the router in NSSA area (area 23)

    root@R2_B-VR2-VR3# run show ospf3 database nssa detail realm ipv4-unicast
    
        OSPF3 database, Area 0.0.0.23
     Type       ID               Adv Rtr           Seq         Age  Cksum  Len 
    NSSA        0.0.0.1          172.30.30.7      0x80000001   148  0xa19e  28
      Prefix 0.0.0.0/0
      Prefix-options 0x0, Metric 10, Type 1,
    NSSA       *0.0.0.1          172.30.30.9      0x8000000f  2346  0x24c9  48
      Prefix 172.16.1.0/24
      Prefix-options 0x8, Metric 2, Type 2,
       Fwd addr 21.1.10.50,
    NSSA       *0.0.0.2          172.30.30.9      0x8000000e  1846  0x4ac   48
      Prefix 172.30.30.10/32
      Prefix-options 0x8, Metric 2, Type 2,
       Fwd addr 21.1.10.50,
    
    root@R2_B-VR2-VR3# run show route
    
    inet.0: 14 destinations, 14 routes (14 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    10.146.40.0/24     *[Direct/0] 18:10:43
                        > via em0.0
    10.146.40.189/32   *[Local/0] 18:10:43
                          Local via em0.0
    21.1.10.48/30      *[Direct/0] 18:05:47
                        > via ge-0/0/0.45
    21.1.10.50/32      *[Local/0] 18:05:47
                          Local via ge-0/0/0.45
    21.1.10.52/30      *[Direct/0] 18:05:47
                        > via ge-0/0/1.46
    21.1.10.54/32      *[Local/0] 18:05:47
                          Local via ge-0/0/1.46
    21.1.99.0/30       *[Direct/0] 18:04:06
                        > via lt-0/0/10.62
    21.1.99.1/32       *[Local/0] 18:05:47
                          Local via lt-0/0/10.62
    21.1.99.4/30       *[Direct/0] 18:04:06
                        > via lt-0/0/10.64
    21.1.99.5/32       *[Local/0] 18:04:06
                          Local via lt-0/0/10.64
    172.16.1.0/24      *[RIP/100] 10:14:06, metric 2, tag 0
                        > to 21.1.99.2 via lt-0/0/10.62
    172.30.30.9/32     *[Direct/0] 18:03:17
                        > via lo0.0
    172.30.30.10/32    *[RIP/100] 10:14:06, metric 2, tag 0
                        > to 21.1.99.2 via lt-0/0/10.62
    224.0.0.9/32       *[RIP/100] 05:31:22, metric 1
                          MultiRecv
    
    inet6.0: 17 destinations, 19 routes (17 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    ::/0               *[OSPF3/10] 05:24:49, metric 11
                        > to fe80::205:8600:2d71:9100 via ge-0/0/0.45
    root@R2_B-VR2-VR3# run show ospf3 route realm ipv4-unicast 
    Prefix                                       Path  Route      NH   Metric
                                                 Type  Type       Type
    172.30.30.7                                  Intra Area/AS BR IP   1       
      NH-interface ge-0/0/0.45, NH-addr 21.51.42.49
    172.30.30.8                                  Intra Area/AS BR IP   1       
      NH-interface ge-0/0/1.46, NH-addr 21.51.42.53
    0.0.0.0/0                                    Inter Network    IP   11      
      NH-interface ge-0/0/1.46, NH-addr 21.51.42.53
    21.1.10.44/30                                Intra Network    IP   2       
      NH-interface ge-0/0/0.45, NH-addr 21.51.42.49
      NH-interface ge-0/0/1.46, NH-addr 21.51.42.53
    21.1.10.48/30                                Intra Network    IP   1       
      NH-interface ge-0/0/0.45
    21.1.10.52/30                                Intra Network    IP   1       
      NH-interface ge-0/0/1.46
    21.51.42.48/30                               Intra Network    IP   2       
      NH-interface ge-0/0/0.45, NH-addr 21.51.42.49
    21.51.42.52/30                               Intra Network    IP   2       
      NH-interface ge-0/0/1.46, NH-addr 21.51.42.53
    
    [edit]


    I saw the 0.0.0.0/0 in ospf3 database, but no in the routing table.
    For IPv6, it works as expected.

    Anyone can coach me this ?

    thanks !!



  • 2.  RE: ospf3 advertises default gateway into nssa, but it does not display in the routing table

    Posted 03-22-2021 23:03
    I checked  the thread also.
    I do see the default route in the ospf3 database.


  • 3.  RE: ospf3 advertises default gateway into nssa, but it does not display in the routing table

    Posted 03-22-2021 23:42
    I looked more closely to notice all the prefixes in ospf3 database not being in the routing table.
    root@R2_B-VR2-VR3# run show ospf3 database inter-area-prefix detail realm ipv4-unicast    
    
        OSPF3 database, Area 0.0.0.23
     Type       ID               Adv Rtr           Seq         Age  Cksum  Len 
    InterArPfx  0.0.0.1          172.30.30.7      0x80000001   180  0xfa0f  32
      Prefix 21.1.10.0/30
      Prefix-options 0x0, Metric 2
    InterArPfx  0.0.0.2          172.30.30.7      0x80000001   180  0x10e3  32
      Prefix 21.1.10.20/30
      Prefix-options 0x0, Metric 3
    InterArPfx  0.0.0.3          172.30.30.7      0x80000001   180  0xe003  32
      Prefix 21.1.10.36/30
      Prefix-options 0x0, Metric 2
    InterArPfx  0.0.0.5          172.30.30.7      0x80000001   180  0xd465  32
      Prefix 172.30.30.1/32
      Prefix-options 0x0, Metric 2
    InterArPfx  0.0.0.6          172.30.30.7      0x80000001   180  0x8461  32
      Prefix 21.1.10.32/30
      Prefix-options 0x0, Metric 1
    InterArPfx  0.0.0.1          172.30.30.8      0x80000005  1237  0xcb73  28
      Prefix 0.0.0.0/0
      Prefix-options 0x0, Metric 10
    
    root@R2_B-VR2-VR3# run show route table inet.0                                            
    
    inet.0: 14 destinations, 14 routes (14 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    10.146.40.0/24     *[Direct/0] 06:26:49
                        > via em0.0
    10.146.40.189/32   *[Local/0] 06:26:49
                          Local via em0.0
    21.1.10.48/30      *[Direct/0] 06:24:49
                        > via ge-0/0/0.45
    21.1.10.50/32      *[Local/0] 06:24:52
                          Local via ge-0/0/0.45
    21.1.10.52/30      *[Direct/0] 06:24:49
                        > via ge-0/0/1.46
    21.1.10.54/32      *[Local/0] 06:24:52
                          Local via ge-0/0/1.46
    21.1.99.0/30       *[Direct/0] 06:24:52
                        > via lt-0/0/10.62
    21.1.99.1/32       *[Local/0] 06:26:33
                          Local via lt-0/0/10.62
    21.1.99.4/30       *[Direct/0] 06:24:52
                        > via lt-0/0/10.64
    21.1.99.5/32       *[Local/0] 06:26:33
                          Local via lt-0/0/10.64
    172.16.1.0/24      *[RIP/100] 06:24:39, metric 2, tag 0
                        > to 21.1.99.2 via lt-0/0/10.62
    172.30.30.9/32     *[Direct/0] 06:26:47
                        > via lo0.0
    172.30.30.10/32    *[RIP/100] 06:24:23, metric 2, tag 0
                        > to 21.1.99.2 via lt-0/0/10.62
    224.0.0.9/32       *[RIP/100] 00:06:26, metric 1
                          MultiRecv
    
    [edit]​

     so lost !!




  • 4.  RE: ospf3 advertises default gateway into nssa, but it does not display in the routing table

    Posted 03-23-2021 00:05
    sorry to bother all.

    I finally figured it out. One node with wrong IPv4 address configured.  OSPF3 just uses IPv6 address to establish neighbor.  That is why my IPv6 default route works  fine.

    thanks to all !!