GNU bug report logs - #29965
Warning: vlan0 is not connected to the host network

Previous Next

Package: guix;

Reported by: Catonano <catonano <at> gmail.com>

Date: Wed, 3 Jan 2018 19:37:01 UTC

Severity: normal

To reply to this bug, email your comments to 29965 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#29965; Package guix. (Wed, 03 Jan 2018 19:37:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Catonano <catonano <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 03 Jan 2018 19:37:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Catonano <catonano <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: Warning: vlan0 is not connected to the host network
Date: Wed, 3 Jan 2018 20:36:33 +0100
[Message part 1 (text/plain, inline)]
This is the warning I get when I run a virtual machine made with guix
system vm

I made a a short video, here
https://youtu.be/d_vpHoie5fY
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#29965; Package guix. (Wed, 03 Jan 2018 22:11:01 GMT) Full text and rfc822 format available.

Message #8 received at 29965 <at> debbugs.gnu.org (full text, mbox):

From: Catonano <catonano <at> gmail.com>
To: 29965 <at> debbugs.gnu.org
Subject: Re: bug#29965: Warning: vlan0 is not connected to the host network
Date: Wed, 3 Jan 2018 23:10:08 +0100
[Message part 1 (text/plain, inline)]
I managed to use system vm-image instead of system vm and I have to say it
fares better

I can fiddle with qemu switches and I managed to allow my virtual machine
to reach out on the network,

The machine is faster and less awkard, the terminal background is dark
instead of sun bright

So this bug is not  urgent

But I still think this is a bug. system vm is a Guix feature and the
machine it provides should be able to get on the network, I think
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#29965; Package guix. (Wed, 03 Jan 2018 22:46:01 GMT) Full text and rfc822 format available.

Message #11 received at 29965 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Catonano <catonano <at> gmail.com>
Cc: 29965 <at> debbugs.gnu.org
Subject: Re: bug#29965: Warning: vlan0 is not connected to the host network
Date: Wed, 3 Jan 2018 17:45:35 -0500
[Message part 1 (text/plain, inline)]
On Wed, Jan 03, 2018 at 11:10:08PM +0100, Catonano wrote:
> I managed to use system vm-image instead of system vm and I have to say it
> fares better
> 
> I can fiddle with qemu switches and I managed to allow my virtual machine
> to reach out on the network,
> 
> The machine is faster and less awkard, the terminal background is dark
> instead of sun bright
> 
> So this bug is not  urgent
> 
> But I still think this is a bug. system vm is a Guix feature and the
> machine it provides should be able to get on the network, I think

When you run the script created by `guix system vm`, you can add
arguments to QEMU on the command-line. For example,

$ /gnu/store/...-run-vm.sh -net user -net nic,model=virtio

Or even:

$(guix system vm config.scm) -net user -net nic,model=virtio
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#29965; Package guix. (Thu, 04 Jan 2018 08:14:01 GMT) Full text and rfc822 format available.

Message #14 received at 29965 <at> debbugs.gnu.org (full text, mbox):

From: Catonano <catonano <at> gmail.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 29965 <at> debbugs.gnu.org
Subject: Re: bug#29965: Warning: vlan0 is not connected to the host network
Date: Thu, 4 Jan 2018 09:13:39 +0100
[Message part 1 (text/plain, inline)]
2018-01-03 23:45 GMT+01:00 Leo Famulari <leo <at> famulari.name>:

> On Wed, Jan 03, 2018 at 11:10:08PM +0100, Catonano wrote:
> > I managed to use system vm-image instead of system vm and I have to say
> it
> > fares better
> >
> > I can fiddle with qemu switches and I managed to allow my virtual machine
> > to reach out on the network,
> >
> > The machine is faster and less awkard, the terminal background is dark
> > instead of sun bright
> >
> > So this bug is not  urgent
> >
> > But I still think this is a bug. system vm is a Guix feature and the
> > machine it provides should be able to get on the network, I think
>
> When you run the script created by `guix system vm`, you can add
> arguments to QEMU on the command-line.


Ah, this didn't come to my mind !



> For example,
>
> $ /gnu/store/...-run-vm.sh -net user -net nic,model=virtio
>

I see. Wonderful


> Or even:
>
> $(guix system vm config.scm) -net user -net nic,model=virtio
>

What' s this ?
What does come out of "$(guix system config.scm)" ?
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#29965; Package guix. (Thu, 04 Jan 2018 14:52:02 GMT) Full text and rfc822 format available.

Message #17 received at 29965 <at> debbugs.gnu.org (full text, mbox):

From: Oleg Pykhalov <go.wigust <at> gmail.com>
To: Catonano <catonano <at> gmail.com>
Cc: 29965 <at> debbugs.gnu.org, Leo Famulari <leo <at> famulari.name>
Subject: Re: bug#29965: Warning: vlan0 is not connected to the host network
Date: Thu, 04 Jan 2018 17:50:51 +0300
[Message part 1 (text/plain, inline)]
Hello Catonano,

Catonano <catonano <at> gmail.com> writes:

[...]

>> $(guix system vm config.scm) -net user -net nic,model=virtio
>
> What' s this ?
> What does come out of "$(guix system config.scm)" ?

/gnu/store/...-run-vm.sh comes out of this and replaces $(…) thing.


As I understand from the video you posted at the thread beginning,
produced QEMU virtual machine doesn't have a network connection.

How did you come to this?  "ping" will not work for QEMU machines by
default, but the network should work.  

You could try to open a web-page with a browser or do anything except
programs like "ping" which uses (ICMP protocol).


Oleg.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#29965; Package guix. (Mon, 08 Jan 2018 23:37:01 GMT) Full text and rfc822 format available.

Message #20 received at 29965 <at> debbugs.gnu.org (full text, mbox):

From: Catonano <catonano <at> gmail.com>
To: Oleg Pykhalov <go.wigust <at> gmail.com>
Cc: 29965 <at> debbugs.gnu.org, Leo Famulari <leo <at> famulari.name>
Subject: Re: bug#29965: Warning: vlan0 is not connected to the host network
Date: Tue, 9 Jan 2018 00:36:02 +0100
[Message part 1 (text/plain, inline)]
2018-01-04 15:50 GMT+01:00 Oleg Pykhalov <go.wigust <at> gmail.com>:

> Hello Catonano,
>
> Catonano <catonano <at> gmail.com> writes:
>
> [...]
>
> >> $(guix system vm config.scm) -net user -net nic,model=virtio
> >
> > What' s this ?
> > What does come out of "$(guix system config.scm)" ?
>
> /gnu/store/...-run-vm.sh comes out of this and replaces $(…) thing.
>

Yes, later I realized that. Thanks


>
>
> As I understand from the video you posted at the thread beginning,
> produced QEMU virtual machine doesn't have a network connection.
>
> How did you come to this?  "ping" will not work for QEMU machines by
> default, but the network should work.
>
> You could try to open a web-page with a browser or do anything except
> programs like "ping" which uses (ICMP protocol).


no, you're right, the network might be working

I should test a browser

It surely works in the vm produced with "guix system vm-image..."

But it may be working with the vm created with "guix system vm" too

Thanks !
[Message part 2 (text/html, inline)]

This bug report was last modified 7 years and 155 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.