Routing

 View Only
last person joined: 3 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.  OSPF routes and OSPF3 routes

    Posted 02-28-2024 22:16

    Hi everyone,

    Let's say we have MX1 running OSPF and OSPF3 realm ipv4-unicast. MX1 is learning 10.10.10.0/24 via OSPF and also via OSPF3. 

    Which  route MX1 will mark active? One via OSPF or OSPF3?

    Much appreciated!!



    ------------------------------
    Be kind!!
    ------------------------------


  • 2.  RE: OSPF routes and OSPF3 routes

    Posted 03-02-2024 07:24

    Hi,

    Very interesting case.

    It appears that with default preference of 10 (for both OSPFv2 and OSPFv3) Junos will prefer OSPFv2. Moreover, even with load-balancing policy it will not consider OSPFv3 as second possible path - 

    [edit]
    root@R1# run show route 192.168.100.1/32 detail       

    inet.0: 11 destinations, 13 routes (11 active, 0 holddown, 0 hidden)
    192.168.100.1/32 (2 entries, 1 announced)
            *OSPF   Preference: 10
                    Next hop type: Router, Next hop index: 1738
                    Address: 0xcd692c4
                    Next-hop reference count: 11
                    Next hop: 172.16.1.0 via ge-0/0/0.0, selected
                    Session Id: 0x140
                    State: <Active Int>
                    Local AS: 65000 
                    Age: 1:00:54     Metric: 1 
                    Validation State: unverified 
                    Area: 0.0.0.0
                    Task: OSPF
                    Announcement bits (4): 0-KRT 2-Resolve tree 4 4-Resolve tree 5 5-Resolve_IGP_FRR task 
                    AS path: I 
                    Session-IDs associated:
                    Session-id: 322 Version: 0
                    Thread: junos-main 
             OSPF3  Preference: 10
                    Next hop type: Router, Next hop index: 1738
                    Address: 0xcd692c4
                    Next-hop reference count: 11
                    Next hop: 172.16.1.0 via ge-0/0/0.0, selected
                    Session Id: 0x140
                    State: <Int Changed>
                    Inactive reason: OSPF version
                    Local AS: 65000 
                    Age: 1:00:48     Metric: 1 
                    Validation State: unverified 
                    Area: 0.0.0.0
                    Task: OSPF3
                    AS path: I 
                    Thread: junos-main 



    ------------------------------
    FARID AKHUNDOV
    ------------------------------



  • 3.  RE: OSPF routes and OSPF3 routes

    Posted 03-02-2024 11:38

    Thanks so much !!

    I saw the same thing but I  was not sure if it is just random thing or JUNOS indeed prefers OSPFV2 over OSPF3 as your response shows beyond any doubt.

    Much appreciated!!



    ------------------------------
    Be kind!!
    ------------------------------