:: Re: [DNG] Devuan on a qemu VM guest
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Ralph Ronnquist
Ημερομηνία:  
Προς: dng
Αντικείμενο: Re: [DNG] Devuan on a qemu VM guest
As I've had some requests, I've pasted my control script for setting up
a tap and the optional vde_switch at

http://paste.debian.net/923810 (TTL 3d)

The vde* programs come from the vde2 package.


Ralph Ronnquist wrote on 2017-03-23 20:52:
>
> 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.


--
Chief Scientist
Realthing Entertainment Pty Ltd