我阅读了一份 Junos 文档,其中说:
In case of equal-cost paths for the same destination, the routing protocol daemon(rpd) randomly selects one of the available paths to balance load, while maintain packet ordering in case of equal paths
此外,还有以下屏幕截图说明了该声明:
当我尝试在 MX 系列路由器上复制此行为时,看起来随机选择不起作用:
root@vmx> show route 10.1/16
inet.0: 26 destinations, 26 routes (26 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.1.1.0/24 *[Static/5] 00:00:01
to 172.20.66.2 via ge-0/0/4.0
> to 172.20.77.2 via ge-0/0/5.0
10.1.2.0/24 *[Static/5] 00:00:01
to 172.20.66.2 via ge-0/0/4.0
> to 172.20.77.2 via ge-0/0/5.0
10.1.3.0/24 *[Static/5] 00:00:01
to 172.20.66.2 via ge-0/0/4.0
> to 172.20.77.2 via ge-0/0/5.0
10.1.4.0/24 *[Static/5] 00:00:01
to 172.20.66.2 via ge-0/0/4.0
> to 172.20.77.2 via ge-0/0/5.0
root@vmx>
什么可能导致这种情况?