:: Re: [DNG] Just out of curiosity, I …
Top Pagina
Delete this message
Reply to this message
Auteur: Ralph Ronnquist
Datum:  
Aan: dng
Nieuwe Onderwerpen: [DNG] qemu networking: Was Re: Just out of curiosity, I wondered,
Onderwerp: Re: [DNG] Just out of curiosity, I wondered,
I prefer using a VDE setup, since that lets me run qemu as user (i.e.
not root), and it's easy to link up VM's across hosts with "virtual
cables" over ssh. My qemu parameters are like this:

     -net nic,macaddr=02:aa:bb:cc:dd:02
     -net vde,sock=/tmp/vde.ctl


On the host, I have a vde_switch for /tmp/vde.ctl to a tap, owned by the
user. Plus of course routing and such; the tap set up needs to be
done as root.

You can probably run a user qemo directly to a tap, but then you'll need
separate taps for each VM. The VDE (vde2) method performs quite well,
and lets me have several VM's through the same tap.

Ralph.

zap wrote on 09/08/17 07:28:
> how do you enable internet in a virtual machine with qemu?
>
> I wanted to try to see how effectively certain distros such as gnuinos
> and vuu-do work through qemu with upgrading actually working...
>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>