Routing

 View Only
last person joined: 5 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.  Could I send ipv4 address over ospfv3?

    Posted 02-20-2017 21:33

    I tried in lab but I can’t receive ipv4 loopback. Could you please suggest?

     

    root:J2> show route 5.5.5.5

    root:J2> show interfaces terse
    Interface               Admin Link Proto    Local                 Remote
    em1
    em1.25                  up    up   inet     10.25.25.2/24
                                       inet6    2001::2/64
                                                fe80::a00:2700:199b:28c7/64
    lo0
    lo0.2                   up    up   inet     2.2.2.2             --> 0/0

    root:J2> show configuration protocols ospf3
    realm ipv4-unicast {
        area 0.0.0.0 {
            interface em1.25;
            interface lo0.2;
        }
    }
    area 0.0.0.0 {
        interface em1.25;
        interface lo0.2;
    }

    root:J2> show ospf3 neighbor
    ID               Interface              State     Pri   Dead
    5.5.5.5          em1.25                 Full      128     32
      Neighbor-address fe80::a00:2700:196e:236d

    root:J5> show interfaces terse
    Interface               Admin Link Proto    Local                 Remote
    em0
    em0.25                  up    up   inet     10.25.25.5/24
                                       inet6    2001::5/64
                                                fe80::a00:2700:196e:236d/64
    lo0
    lo0.5                   up    up   inet     5.5.5.5             --> 0/0

    root:J5> show configuration protocols ospf3
    realm ipv4-unicast {
        area 0.0.0.0 {
            interface em0.25;
            interface lo0.5;
        }
    }
    area 0.0.0.0 {
        interface em0.25;
        interface lo0.5;
    }


    #IPv4
    #over
    #OSPFv3


  • 2.  RE: Could I send ipv4 address over ospfv3?

    Posted 02-20-2017 22:48

    Can you clarify exactly what you expect to see that you are not seeing? You will not see a neighbor on lo0. Have you looked at the ospf3 database and the routing tables to see if the addresses on the lo0 intefaces show up?



  • 3.  RE: Could I send ipv4 address over ospfv3?

    Posted 02-21-2017 20:57

    I would like to see the lo0 of J5 is 5.5.5.5 route but I don't see it as the output below:

     

    root:J2> show route 5.5.5.5

    root:J2> show ospf3 database

        OSPF3 database, Area 0.0.0.0
     Type       ID               Adv Rtr           Seq         Age  Cksum  Len
    Router     *0.0.0.0          2.2.2.2          0x80000002   809  0xa43b  40
    Router      0.0.0.0          5.5.5.5          0x80000002   811  0x4a89  40
    Network     0.0.0.1          5.5.5.5          0x80000002   811  0x5d79  32
    IntraArPfx  0.0.0.2          5.5.5.5          0x80000002   811  0xb6c1  44

        OSPF3 Link-Local database, interface em1.25 Area 0.0.0.0
     Type       ID               Adv Rtr           Seq         Age  Cksum  Len
    Link       *0.0.0.1          2.2.2.2          0x80000002   814  0x7553  56
    Link        0.0.0.1          5.5.5.5          0x80000002   816  0x66e2  56

    root:J2>

     

    How should I do?

     

    Thank you very much.



  • 4.  RE: Could I send ipv4 address over ospfv3?

    Posted 02-21-2017 22:09

    What you are configuring is out of my realm. I can suggest a few commands, but I have no idea how to troubleshoot your issue.
    show ospf3 route
    show ospf3 database extensive
    show ospf3 interface detail



  • 5.  RE: Could I send ipv4 address over ospfv3?

    Posted 02-22-2017 20:55

    root:J2> show ospf3 route
    Prefix                                       Path  Route      NH   Metric
                                                 Type  Type       Type
    5.5.5.5                                      Intra Router     IP   1
      NH-interface em1.25, NH-addr fe80::a00:2700:196e:236d
    5.5.5.5;0.0.0.1                              Intra Transit    IP   1
      NH-interface em1.25
    2001::/64                                    Intra Network    IP   1
      NH-interface em1.25

     

    root:J2> show ospf3 database extensive

        OSPF3 database, Area 0.0.0.0
     Type       ID               Adv Rtr           Seq         Age  Cksum  Len
    Router     *0.0.0.0          2.2.2.2          0x80000002  1559  0xa43b  40
      bits 0x0, Options 0x33
      Type Transit (2), Metric 1
          Loc-If-Id 1, Nbr-If-Id 1, Nbr-Rtr-Id 5.5.5.5
      Type: Transit, Node ID: 5.5.5.5;0.0.0.1, Metric: 1, Bidirectional
      Gen timer 00:24:01
      Aging timer 00:34:01
      Installed 00:25:59 ago, expires in 00:34:01, sent 00:25:57 ago
      Last changed 00:25:59 ago, Change count: 1, Ours
    Router      0.0.0.0          5.5.5.5          0x80000002  1560  0x4a89  40
      bits 0x0, Options 0x33
      Type Transit (2), Metric 1
          Loc-If-Id 1, Nbr-If-Id 1, Nbr-Rtr-Id 5.5.5.5
      Type: Transit, Node ID: 5.5.5.5;0.0.0.1, Metric: 1, Bidirectional
      Aging timer 00:34:00
      Installed 00:25:57 ago, expires in 00:34:00
      Last changed 00:25:57 ago, Change count: 1
    Network     0.0.0.1          5.5.5.5          0x80000002  1560  0x5d79  32
      Options 0x33
      Attached router 5.5.5.5
      Attached router 2.2.2.2
      Type: Transit, Node ID: 2.2.2.2, Metric: 0, Bidirectional
      Type: Transit, Node ID: 5.5.5.5, Metric: 0, Bidirectional
      Aging timer 00:34:00
      Installed 00:25:57 ago, expires in 00:34:00
      Last changed 00:25:57 ago, Change count: 1
    IntraArPfx  0.0.0.2          5.5.5.5          0x80000002  1560  0xb6c1  44
      Ref-lsa-type Network, Ref-lsa-id 0.0.0.1, Ref-router-id 5.5.5.5
      Prefix-count 1
      Prefix 2001::/64
        Prefix-options 0x0, Metric 0
      Aging timer 00:34:00
      Installed 00:25:57 ago, expires in 00:34:00
      Last changed 00:25:57 ago, Change count: 1

        OSPF3 Link-Local database, interface em1.25 Area 0.0.0.0
     Type       ID               Adv Rtr           Seq         Age  Cksum  Len
    Link       *0.0.0.1          2.2.2.2          0x80000002  1564  0x7553  56
      fe80::a00:2700:199b:28c7
      Options 0x33, Priority 128
      Prefix-count 1
      Prefix 2001::/64 Prefix-options 0x0
      Gen timer 00:23:56
      Aging timer 00:33:56
      Installed 00:26:04 ago, expires in 00:33:56, sent 00:26:00 ago
      Last changed 00:26:44 ago, Change count: 1, Ours
    Link        0.0.0.1          5.5.5.5          0x80000003   622  0x64e3  56
      fe80::a00:2700:196e:236d
      Options 0x33, Priority 128
      Prefix-count 1
      Prefix 2001::/64 Prefix-options 0x0
      Aging timer 00:49:37
      Installed 00:10:19 ago, expires in 00:49:38
      Last changed 00:26:00 ago, Change count: 1

     

    root:J2> show ospf3 interface detail
    Interface           State   Area            DR ID           BDR ID          Nbrs
    em1.25              BDR     0.0.0.0         5.5.5.5         2.2.2.2            1
      Address fe80::a00:2700:199b:28c7, Prefix-length 64
      OSPF3-Intf-index 1, Type LAN, MTU 1500, Cost 1, Priority 128
      Adj count: 1, Router LSA ID: 0
      DR addr fe80::a00:2700:196e:236d, BDR addr fe80::a00:2700:199b:28c7
      Hello 10, Dead 40, ReXmit 5, Not Stub
      Protection type: None

     

    Thank you very much.



  • 6.  RE: Could I send ipv4 address over ospfv3?
    Best Answer

    Posted 02-23-2017 00:16

    Can you show the complete configuration? At least we know that ospf is not running on the lo0 interface so thats why you are not seeing the route being advertised. BTW did you also enable family inet6 on the lo0 interfaces? If not, enable it. Are you running in pure router mode or flow mode?Do you have any firewall filters enabled? Try adding the passive option to the lo0 interface uder ospf3 area 0. SO here is a couiple of suggestions, and like I said I am just shooting from a troubleshooting standpoint. From the top of the heirarchy, save the configuration on both routers. Then delete ospf3 and configure ospf and test if the route is advertised. Next configure ospf3 without realm ipv4-unicast. Maybe there is a bug running this feature on the vm.

     



  • 7.  RE: Could I send ipv4 address over ospfv3?

    Posted 02-23-2017 01:46

    It works with command:

    root:J5# set interfaces lo0 unit 5 family inet6

     

    root:J2> show route 5.5.5.5

    inet.0: 11 destinations, 11 routes (11 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both

    5.5.5.5/32         *[OSPF3/10] 00:01:29, metric 1
                        > to 10.25.25.5 via em1.25

     

    Thank you very much.



  • 8.  RE: Could I send ipv4 address over ospfv3?

    Posted 02-23-2017 00:17

    Hi,

     

    what you are looking for is "multiple address families in OSPFv3" which looks like it's only supported on high-end platforms (https://pathfinder.juniper.net/feature-explorer/feature-info.html?fKey=3012&fn=Support+for+multiple+address+families+in+OSPFv3

     

    But: I have tried to input the commands on a SRX300 running 15.1X49-D75 and at least the commit check does not give any warnings... so I would give it a try on your lab enviroment 🙂

     

    Example configuration guide can be found here: http://www.juniper.net/techpubs/en_US/junos13.2/topics/topic-map/ospfv3-multiple-address-families.html

     

    Let us know if you get it working 🙂


    #OSPFv3
    #multipleaddressfamilies