
今天我遇到了這個問題,雖然我已經習慣看到它顛倒了,但實際上,為什麼 ping 命令中標註的 nexthop ip 是顛倒的?
PING 10.8.0.8 (10.8.0.8) 56(84) bytes of data.
From 10.8.0.1 icmp_seq=1 Redirect Host(New nexthop: 8.0.8.10)
From 10.8.0.1 icmp_seq=2 Redirect Host(New nexthop: 8.0.8.10)
From 10.8.0.1 icmp_seq=3 Redirect Host(New nexthop: 8.0.8.10)
From 10.8.0.1 icmp_seq=4 Redirect Host(New nexthop: 8.0.8.10)
(10.8.0.8通常通過10.8.0.1訪問,但未通電,因此ping失敗......但問題是關於“8.0.8.10”反轉)
答案1
這似乎是 Ubuntu 的 iputils 中的一個錯誤。
https://bugs.launchpad.net/ubuntu/+source/iputils/+bug/1892108