:: Re: [DNG] Devuan on a qemu VM guest
Etusivu
Poista viesti
Vastaa
Lähettäjä: Ralph Ronnquist
Päiväys:  
Vastaanottaja: dng
Aihe: Re: [DNG] Devuan on a qemu VM guest

Steve Litt wrote on 2017-03-23 06:02:
> [snip]
>
> NETWORKING DOESN'T WORK
> -----------------------
> [snip]


I've found it easiest to set up a host "tap", owned by user, for
networking, with a couple of iptables rules, and a dnsmasq for dhcp
service (not dns) on the tap. Then I can run my qemu VM as user (i.e.
not root), with full networking, including ssh into the VM from the host.

And when I need multiple qemu VMs concurrently, I rather put a
vde_switch on the tap and run the qemu with vde networking instead. The
host setup for the tap stays the same.

Ralph.