接口可以看到 ARP 数据包,但看不到 ICMP 回显请求

接口可以看到 ARP 数据包,但看不到 ICMP 回显请求

早上好,超级用户,我陷入了困境。

我有两台服务器,os-netvmhost3,通过交叉电缆在各自的 10Gbps 接口上连接在一起。两台服务器都运行 Ubuntu 14.04 LTS,唯一的区别是它os-net在 ESXi 上虚拟化。虚拟机有自己的 VMKernel 端口,将其连接到 ESXi 服务器上的 10Gbps 接口。

我遇到的问题是尝试让两个服务器相互通信,如果我os-net通过vmhost3ping -c 4 10.0.0.2)执行 ping 操作,它会发送 ARP 请求并得到响应,但是当它发送 ICMP 回显请求时,它不会收到任何回复。

以下是来自 wire shark 的捕获os-net(tshark -i eth0)

Capturing on 'eth0'
  1   0.000000     10.0.0.3 -> 10.0.0.2     ICMP 98 Echo (ping) request  id=0x6587, seq=1/256, ttl=64
  2   0.000566 Vmware_f8:61:3c -> Broadcast    ARP 42 Who has 10.0.0.3?  Tell 10.0.0.2
  3   0.000959 Dell_f1:f5:ba -> Vmware_f8:61:3c ARP 60 10.0.0.3 is at bc:30:5b:f1:f5:ba
  4   0.997477 Vmware_f8:61:3c -> Broadcast    ARP 42 Who has 10.0.0.3?  Tell 10.0.0.2
  5   0.998023 Dell_f1:f5:ba -> Vmware_f8:61:3c ARP 60 10.0.0.3 is at bc:30:5b:f1:f5:ba
  6   1.006226     10.0.0.3 -> 10.0.0.2     ICMP 98 Echo (ping) request  id=0x6587, seq=2/512, ttl=64
  7   1.997455 Vmware_f8:61:3c -> Broadcast    ARP 42 Who has 10.0.0.3?  Tell 10.0.0.2
  8   1.997830 Dell_f1:f5:ba -> Vmware_f8:61:3c ARP 60 10.0.0.3 is at bc:30:5b:f1:f5:ba
  9   2.014184     10.0.0.3 -> 10.0.0.2     ICMP 98 Echo (ping) request  id=0x6587, seq=3/768, ttl=64
  10   3.022275     10.0.0.3 -> 10.0.0.2     ICMP 98 Echo (ping) request  id=0x6587, seq=4/1024, ttl=64
  11   3.022353 Vmware_f8:61:3c -> Broadcast    ARP 42 Who has 10.0.0.3?  Tell 10.0.0.2
  12   3.022810 Dell_f1:f5:ba -> Vmware_f8:61:3c ARP 60 10.0.0.3 is at bc:30:5b:f1:f5:ba
  13   4.021434 Vmware_f8:61:3c -> Broadcast    ARP 42 Who has 10.0.0.3?  Tell 10.0.0.2
  14   4.021797 Dell_f1:f5:ba -> Vmware_f8:61:3c ARP 60 10.0.0.3 is at bc:30:5b:f1:f5:ba
  15   5.021464 Vmware_f8:61:3c -> Broadcast    ARP 42 Who has 10.0.0.3?  Tell 10.0.0.2
  16   5.021960 Dell_f1:f5:ba -> Vmware_f8:61:3c ARP 60 10.0.0.3 is at bc:30:5b:f1:f5:ba  

如果我尝试反向操作并尝试 pingvmhost3os-net会得到这个捕获 (tshark -i em2)

Capturing on 'em2'
  1   0.000000 Vmware_f8:61:3c -> Broadcast    ARP 60 Who has 10.0.0.3?  Tell 10.0.0.2
  2   0.000038 Dell_f1:f5:ba -> Vmware_f8:61:3c ARP 42 10.0.0.3 is at bc:30:5b:f1:f5:ba
  3   0.999355 Vmware_f8:61:3c -> Broadcast    ARP 60 Who has 10.0.0.3?  Tell 10.0.0.2
  4   0.999376 Dell_f1:f5:ba -> Vmware_f8:61:3c ARP 42 10.0.0.3 is at bc:30:5b:f1:f5:ba
  5   1.999370 Vmware_f8:61:3c -> Broadcast    ARP 60 Who has 10.0.0.3?  Tell 10.0.0.2
  6   1.999391 Dell_f1:f5:ba -> Vmware_f8:61:3c ARP 42 10.0.0.3 is at bc:30:5b:f1:f5:ba
  7   2.999564 Vmware_f8:61:3c -> Broadcast    ARP 60 Who has 10.0.0.3?  Tell 10.0.0.2
  8   2.999586 Dell_f1:f5:ba -> Vmware_f8:61:3c ARP 42 10.0.0.3 is at bc:30:5b:f1:f5:ba
  9   3.999327 Vmware_f8:61:3c -> Broadcast    ARP 60 Who has 10.0.0.3?  Tell 10.0.0.2
  10   3.999347 Dell_f1:f5:ba -> Vmware_f8:61:3c ARP 42 10.0.0.3 is at bc:30:5b:f1:f5:ba
  11   4.999358 Vmware_f8:61:3c -> Broadcast    ARP 60 Who has 10.0.0.3?  Tell 10.0.0.2
  12   4.999385 Dell_f1:f5:ba -> Vmware_f8:61:3c ARP 42 10.0.0.3 is at bc:30:5b:f1:f5:ba

欢迎并感谢任何帮助!

相关内容