The kvm guest VM is unable to ping the gateway IP address when both KVM and Docker containers are on the same host machine
Issue
- The KVM guest machine cannot connect with the gateway IP address through the bridge interface, resulting in a failed ping attempt.
- KVM guest machine can ping bridge interface IP but not gateway.
- The KVM guest machine is dropping/blocking the ARP response at the bridge interface level.
KVM guest unable to ping gateway ip address through bridge interface - The guest VM is unable to ping the gateway IP address when both KVM and Docker containers are on the same machine.
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- KVM and Docker engines running the same host
iptables
ip6tables
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.