‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, February 16, 2021 12:55 PM, Steve Litt <slitt@???> wrote:
> On Tue, 16 Feb 2021 20:29:46 +1100
> Ralph Ronnquist via Dng dng@??? wrote:
>
> > On 16/02 03:24, Steve Litt wrote:
> >
> > > Hi all,
> > > My ultimate goal is to have a Devuan VM guest on my Void Linux Daily
> > > Driver Desktop (DDD) that acts like just another metal computer on
> > > my LAN at 192.168.0.0/24. I want it to have address 192.168.0.66.
> > > I've tried to do this sporadically over the past 2 years, never
> > > with success. ...
> > > I tried setting the VM guest's /etc/network/interfaces to static
> > > with address 192.168.0.66, with the gateway, netmask etc set
> > > accordingly, but after doing that, ip addr on the VM showed no IP
> > > address at all.
> >
> > It all looks fine, and static setup should work. Possibly you left out
> > the "auto eth0" or "allow-hotplug eth0" line?
>
> Thanks Ralph,
>
> I had left them both out, but putting them in didn't change the
> symptom. I tried with only auto eth0, and that didn't change the
> symptom either.
>
> Thanks,
>
> SteveT
>
> Steve Litt
> Autumn 2020 featured book: Thriving in Tough Times
> http://www.troubleshooters.com/thrive
>
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
I gave up doing things this way as Qemu kept changing under me, voiding my scripts. I now use 'virt-manager' relatively painlessly.
That IP may have been issued by a Qemu dhcp server.
The first step is to confirm Qemu is not messing with stuff it shouldn't... Spin up the VM and confirm that your host network settings have not been altered/added to. You must do this when the VM is running.