Is is possible to use VPC network/subnet to enable communications between guest VM's that live on separate KVM hosts backed by virtual bridging? Please see the image below. Intended flow: VM1 to VM2 (bidirectional)

Question: Can ethernet frame with a source mac address of a guest VM be sent over the VPC, or will it be dropped? I have setup KVM-1 to link it's pnic1 (physical nic connected to VPC) to the virtual bridge used by the KVM hypervisor, and when trying to ping the pnic1 on KVM-2, no packets ever arrive. This leads me to believe the frame is being dropped as it hits the VPC. VM1 to VM2 KVM topology

  • In general, the public cloud providers do not provide L2-transparent networks. I wouldn't expect anything below IP to work at all. – womble Apr 29 at 23:22
  • What are KVM-1 and KVM-2 in this image? Why have you brought up Google Cloud? Something doesn't make sense here. – Michael Hampton Apr 30 at 0:27
  • @womble thank you, and for obvious reasons I understand why. I am trying to test a virtualized environment which is why I am trying to extend L2 between the KVM hosts. – EMP JCR Apr 30 at 2:20
  • @MichaelHampton not sure where the confusion is in my post. KVM-1 and KVM-2 are hypervisors running on 2 separate instances created in GCP for nested virtualization. – EMP JCR Apr 30 at 2:21
  • There was nothing in your question about nested virtualization, that's the reason for the confusion. – Michael Hampton Apr 30 at 3:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.