Hello all;

How can I connect 2 virtual machines (user mode) to same private LAN
(using Qemu 2.8.1)?

Am I right with this syntax?

$ qemu -device e1000,netdev=nic0 -netdev user,id=nic0,vlan=hub0, -netdev
hubport,id=nic0,hubid=hub0 -drive file=machine*1*.img

$ qemu -device e1000,netdev=nic0 -netdev user,id=nic0,vlan=hub0, -netdev
hubport,id=nic0,hubid=hub0 -drive file=machine*2*.img

I'm trying that each machine gets it's own IP (eg. 10.0.2.15, 10.0.2.16)
and they can see between them.

Thanks.


Reply via email to