qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] connect virtual machines to each other


From: Pascal
Subject: [Qemu-discuss] connect virtual machines to each other
Date: Fri, 27 Sep 2019 09:23:47 +0200

hi,

I come back to this subject about using VDE to connect VM.
this is what I use:

$ vde_switch
$ slirpvde -L 2222:10.0.2.101:22
$ qemu -enable-kvm -m 512 -nic vde,mac=52:54:00:12:34:56 samba.disk      # 10.0.2.101/24
$ qemu -enable-kvm -m 512 -nic vde,mac=52:54:00:12:34:57 linux.disk      # 10.0.2.102/24
$ qemu -enable-kvm -m 1024 -nic vde,mac=52:54:00:12:34:58 windows.disk   # 10.0.2.103/24

but I have many network problems with it that I can't identify and explain to access in ssh (ssh -p 2222 root@localhost) to the targeted machine : one time it works, the other time it doesn't, the other time the connection freezes (and eventually resumes after a few moments) or is simply cut off (slirpvde returns without any explanation).

of course I suspect slirpvde to be the problem, especially since the VM communicate with each other without problems.

do any of you have an explanation, a beginning of a solution or a path to follow ?
is VDE still maintained ? I like using it because it does not require any privileges.

regards, lacsaP.

---------- Forwarded message ---------
De : Pascal <address@hidden>
Date: lun. 23 sept. 2019 à 10:33
Subject: Re: connect virtual machines to each other
To: qemu-discuss <address@hidden>


hi,

for information : the disabling of my firewall fixed the problem :-)

regards, lacsaP.

Le mer. 18 sept. 2019 à 11:57, Pascal <address@hidden> a écrit :
hi,

I have two Linux VM that communicate without any problem when I use VDE but their communication stops when I try to connect them with a multicast bus : does anyone have an idea ?

vde_switch
qemu -nic vde,mac=52:54:00:11:11:11 vm1.disk
qemu -nic vde,mac=52:54:00:22:22:22 vm2.disk

and all is ok (ping && cetera) :-)

qemu -nic socket,mac=52:54:00:11:11:11,mcast=230.0.0.1:1234 vm1.disk
qemu -nic socket,mac=52:54:00:22:22:22,mcast=230.0.0.1:1234 vm2.disk

and all is ko :-(

regards, lacsaP.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]