2개의 VM 간에 Ping하는 동안 대상 호스트에 연결할 수 없음

2개의 VM 간에 Ping하는 동안 대상 호스트에 연결할 수 없음

동일한 하이퍼바이저에 있는 2개의 VM 구성을 만들려고 합니다. 각 VM의 XML 파일을 편집하여 하이퍼바이저에서 virtIO 인터페이스를 연결했습니다. VM을 생성했고 연결 후 다음 인터페이스를 얻었습니다.

ens7: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet 11.198.133.5  netmask 255.0.0.0  broadcast 11.255.255.255
    ether 00:00:11:22:33:40  txqueuelen 1000  (Ethernet)
    RX packets 147  bytes 13980 (13.6 KiB)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 240  bytes 17952 (17.5 KiB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ens7: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet 11.198.133.6  netmask 255.0.0.0  broadcast 11.255.255.255
    ether 00:00:11:22:33:41  txqueuelen 1000  (Ethernet)
    RX packets 57  bytes 8360 (8.1 KiB)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 261  bytes 18666 (18.2 KiB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

각 VM에 대한 각 인터페이스 IP를 통해 한 VM에서 다른 VM으로 핑을 보내는 동안 다음 메시지가 표시됩니다. 대상 호스트에 연결할 수 없지만 한 VM에서 핑을 하고 실행하는 동안tcpdump -nei ens7 다른 쪽에서는 메시지를 받았습니다.

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ens7, link-type EN10MB (Ethernet), capture size 262144 bytes
12:24:49.749562 00:00:11:22:33:41 > Broadcast, ethertype ARP (0x0806), length 60: Request who-has 11.198.133.5 tell 11.198.133.6, length 46
12:24:49.749576 00:00:11:22:33:40 > 00:00:11:22:33:41, ethertype ARP (0x0806), length 42: Reply 11.198.133.5 is-at 00:00:11:22:33:40, length 28
12:24:50.773503 00:00:11:22:33:41 > Broadcast, ethertype ARP (0x0806), length 60: Request who-has 11.198.133.5 tell 11.198.133.6, length 46
12:24:50.773514 00:00:11:22:33:40 > 00:00:11:22:33:41, ethertype ARP (0x0806), length 42: Reply 11.198.133.5 is-at 00:00:11:22:33:40, length 28
12:24:51.797660 00:00:11:22:33:41 > Broadcast, ethertype ARP (0x0806), length 60: Request who-has 11.198.133.5 tell 11.198.133.6, length 46
12:24:51.797671 00:00:11:22:33:40 > 00:00:11:22:33:41, ethertype ARP (0x0806), length 42: Reply 11.198.133.5 is-at 00:00:11:22:33:40, length 28
12:24:52.821495 00:00:11:22:33:41 > Broadcast, ethertype ARP (0x0806), length 60: Request who-has 11.198.133.5 tell 11.198.133.6, length 46
12:24:52.821505 00:00:11:22:33:40 > 00:00:11:22:33:41, ethertype ARP (0x0806), length 42: Reply 11.198.133.5 is-at 00:00:11:22:33:40, length 28
12:24:53.845496 00:00:11:22:33:41 > Broadcast, ethertype ARP (0x0806), length 60: Request who-has 11.198.133.5 tell 11.198.133.6, length 46
12:24:53.845507 00:00:11:22:33:40 > 00:00:11:22:33:41, ethertype ARP (0x0806), length 42: Reply 11.198.133.5 is-at 00:00:11:22:33:40, length 28
12:24:54.869559 00:00:11:22:33:41 > Broadcast, ethertype ARP (0x0806), length 60: Request who-has 11.198.133.5 tell 11.198.133.6, length 46
12:24:54.869570 00:00:11:22:33:40 > 00:00:11:22:33:41, ethertype ARP (0x0806), length 42: Reply 11.198.133.5 is-at 00:00:11:22:33:40, length 28
12:24:55.893414 00:00:11:22:33:41 > Broadcast, ethertype ARP (0x0806), length 60: Request who-has 11.198.133.5 tell 11.198.133.6, length 46
12:24:55.893424 00:00:11:22:33:40 > 00:00:11:22:33:41, ethertype ARP (0x0806), length 42: Reply 11.198.133.5 is-at 00:00:11:22:33:40, length 28
12:24:56.917488 00:00:11:22:33:41 > Broadcast, ethertype ARP (0x0806), length 60: Request who-has 11.198.133.5 tell 11.198.133.6, length 46
12:24:56.917499 00:00:11:22:33:40 > 00:00:11:22:33:41, ethertype ARP (0x0806), length 42: Reply 11.198.133.5 is-at 00:00:11:22:33:40, length 28
12:24:57.941588 00:00:11:22:33:41 > Broadcast, ethertype ARP (0x0806), length 60: Request who-has 11.198.133.5 tell 11.198.133.6, length 46
12:24:57.941600 00:00:11:22:33:40 > 00:00:11:22:33:41, ethertype ARP (0x0806), length 42: Reply 11.198.133.5 is-at 00:00:11:22:33:40, length 28

tcpdump가 패킷을 인식하는 동안 ping 명령이 작동하지 않는 이유는 무엇입니까? 하이퍼바이저에서 hugepages 및 ovs를 수정하는 방식으로 XML을 편집했습니다.

관련 정보