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
------------------------------
Original Message:
Sent: 02-28-2024 22:15
From: LEEBAHI
Subject: OSPF routes and OSPF3 routes
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!!
------------------------------