路由到 br0 的流量最终出现环回

路由到 br0 的流量最终出现环回

我尝试通过“br0”将流量路由到 10.2.129.0/24,但最终以“lo”结束。
知道哪里出了问题吗?

# ip route show
default via 192.168.2.1 dev eth0
10.2.129.0/24 dev br0  proto kernel  scope link  src 10.2.129.8
192.168.2.0/24 dev eth0  proto kernel  scope link  src 192.168.2.210
224.0.0.0/4 dev br0  scope link

# ping 10.2.129.1
PING 10.2.129.1 (10.2.129.1) 56(84) bytes of data.
From 10.2.129.8 icmp_seq=1 Destination Host Unreachable
From 10.2.129.8 icmp_seq=2 Destination Host Unreachable
From 10.2.129.8 icmp_seq=3 Destination Host Unreachable

# tshark -i br0 -f 'icmp'
Capturing on 'br0'
0 packets captured

# tshark -i lo -f 'icmp'
Capturing on 'Loopback'
1   0.000000   10.2.129.8 -> 10.2.129.8   ICMP 126 Destination unreachable (Host unreachable)
2   0.000541   10.2.129.8 -> 10.2.129.8   ICMP 126 Destination unreachable (Host unreachable)
3   0.001093   10.2.129.8 -> 10.2.129.8   ICMP 126 Destination unreachable (Host unreachable)
3 packets captured

答案1

来自的消息10.2.129.8不是对 ping 的响应,而是来自本地主机的消息,告诉您它无法将 ping 发送到10.2.129.1

相关内容