:: Re: [DNG] Assigning a specific subn…
Forside
Slet denne besked
Besvar denne besked
Skribent: Gabe Stanton
Dato:  
Til: dng
Emne: Re: [DNG] Assigning a specific subnet and address to a Devuan Beowulf Qemu guest
On Wed, 2021-02-17 at 11:26 -0700, Gabe Stanton via Dng wrote:
> On Tue, 2021-02-16 at 07:55 -0500, Steve Litt wrote:
> > Thanks Ralph,
> > I had left them both out, but putting them in didn't change
> > thesymptom. I tried with only auto eth0, and that didn't change
> > thesymptom either.
> > Thanks,
> > SteveT
> > Steve Litt
>
>
> Just want to throw this out there in case it helps even a bit.
>
> I have a devuan vm running on a devuan host, I believe virt-manager
> handled network setup for me, but in any case, below are the contents
> of my /etc/network/interfaces files from both the host and the vm.
> (notice on the host they have br0 config'd here instead of eth0,
> don't know if you were referring to that file on the host or the VM.)
>
> Host:
>
> auto br0
> iface br0 inet dhcp
>     bridge-ports eth0

>
>
>
>
>
> VM:
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
>
> source /etc/network/interfaces.d/*
>
> # The loopback network interface
> auto lo
> iface lo inet loopback
>
> # The primary network interface
> allow-hotplug eth0
> iface eth0 inet dhcp
>
>
>
>
> anyway, hope that helps.
>
> Gabe
>
>
>
>
> _______________________________________________Dng mailing
> listDng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Just to be clear, my VM ip address is as you would like yours to be, it
is a dhcp address from the pool on my router. So my host is 192.168.1.x
and my vm is 192.168.1.y, and the VM is accessible from the network.