Let's say, that a Juniper router learns a 10.10.10.46/31
prefix from two different OSPF routers:
root@r1> show route 10.10.10.46/31 protocol ospf
inet.0: 10037 destinations, 50063 routes (10034 active, 0 holddown, 3 hidden)
+ = Active Route, - = Last Active, * = Both
10.10.10.46/31 *[OSPF/10] 03:28:51, metric 300
> to 10.10.10.51 via ge-0/0/0.2
to 10.10.10.52 via ge-0/0/0.2
root@r1>
Load-balancing is not enabled and according to show route forwarding-table destination 10.10.10.46/31 table default
the next hop in FIB is indeed 10.10.10.51
:
root@r1> show route forwarding-table destination 10.10.10.46/31 table default
Routing table: default.inet
Internet:
Destination Type RtRef Next hop Type Index NhRef Netif
10.10.10.46/31 user 0 10.10.10.51 ucst 601 6 ge-0/0/0.2
root@r1>
Why did router pick 10.10.10.51
and not 10.10.10.52
? Does the router pick the next hop by random?