On Wed, Mar 5, 2025 at 8:30 AM Kandyala Saikumar <saichowdhar...@gmail.com> wrote:
> Hi Team > > we already raised this concern could you please anyone look on this issue > for VM-VM communication > > On Wed, Mar 5, 2025 at 12:53 PM Vishnupriya Karthy < > vishnupriya.kar...@multicorewareinc.com> wrote: > >> QEMU INTER-VM COMMUNICATION >> https://serverfault.com/q/1174304/1239769?sem=2 >> > I don't know how the virtio-net-pci device works, but for other network devices I guess you should also set different MAC addresses for them. If you use an DHCP server it might give the same IP address to both devices. This line cannot be correct: sudo qemu-system-x86_64 -enable-kvm -m 8G -smp 4 -hda ubuntu18.qcow2 -boot d -cpu host -netdev tap,id=foo,ifname=tap0 -device virtio-net-pci,netdev=foo0 as the id and netdev do no have the same name. You might try with: sudo qemu-system-x86_64 -enable-kvm -m 8G -smp 4 -hda ubuntu18.qcow2 -boot d -cpu host -netdev tap,id=foo0,ifname=tap0 -device virtio-net-pci, mac=52:54:00:12:34:56 ,netdev=foo0 and sudo qemu-system-x86_64 -enable-kvm -m 4G -smp 2 -hda ubuntu22.qcow2 -boot d -cpu host -netdev tap,id=foo1,ifname=tap1 -device virtio-net-pci, mac=52:54:00:12:34:66,netdev=foo1