The kvm guest VM is unable to ping the gateway IP address when both KVM and Docker containers are on the same host machine

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content