Warning: vlan0 is not connected to the host network

  • Open
  • quality assurance status badge
Details
3 participants
  • Catonano
  • Oleg Pykhalov
  • Leo Famulari
Owner
unassigned
Submitted by
Catonano
Severity
normal
C
C
Catonano wrote on 3 Jan 2018 20:36
(address . bug-guix@gnu.org)
CAJ98PDw7GY1q_UUrGZj+MdWX-=7FMB7m2Rr+msopHYg+T_c-vg@mail.gmail.com
This is the warning I get when I run a virtual machine made with guix
system vm

I made a a short video, here
Attachment: file
C
C
Catonano wrote on 3 Jan 2018 23:10
(address . 29965@debbugs.gnu.org)
CAJ98PDxb+qcWkGJpYVPQv=h=-O=wUz4pEfcw3tS_sAiue3wZEQ@mail.gmail.com
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
Attachment: file
L
L
Leo Famulari wrote on 3 Jan 2018 23:45
(name . Catonano)(address . catonano@gmail.com)(address . 29965@debbugs.gnu.org)
20180103224535.GB20609@jasmine.lan
On Wed, Jan 03, 2018 at 11:10:08PM +0100, Catonano wrote:
Toggle quote (14 lines)
> 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
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlpNXQ8ACgkQJkb6MLrK
fwjqew//eR8R7ewf9J3hZ9DspAIwTJycTbDLPTI178KRJ9dNkOWH4efu2PnhuLGD
6of+Y2BzWepBTUsmWrvZAVSuP5NYhouWX1D/vTFYHl/sXq/KEyp0ew71Hq+gy204
gfSvpR+pQHwjHviRHNPG9EI6yg7UT8MoYbMmDLvYzGNoAr6ZqN7mWdVaHIuNUdG2
2q0OYhttkIFpeRWiO/Pnpwza0zz73BCEtIEFYPKV5zJ2xl/g/yRQzeqodd5JR1+V
91krnefl0/4vnf+h+UlDXhevXhHo+N8b+MvfwpJxygq2yDXM0dwGItbhvAOtcBnY
JotNfad5C4ePxJZ8HWmE4Zoa9F4o0+bKHhDD6cqBxe/u1FsEfuwmL+zFtn1vl2BO
AFj2pmnp93P4G7MSn1udfXs3i1prhn2s6UtrRbxpXY3VbjEvXjSfMoEjMX0ayJy2
6iWSQ59hQ/4zl/PSj0V9dbX+PG5xiuE8JuUa0WiL8Ynz3ysaV3g03ev/BsEyskWy
5/o24mzYm+8AQoS3v6bX2rN5RI6Pi1TYc8rkucLXqt4L/qJCr+QdNMJRY4MSqvgt
MV8WwyAOZ2oiO69Zn9YDfYN4zdb4DlxZlcKKrXyd7OeTW9ebwcXd4GabL26K//5j
/rPFUzEEreAsijslCR/YixABlWFTm9NgT+ChyXBthm4gpQ7RFgI=
=2AnV
-----END PGP SIGNATURE-----


C
C
Catonano wrote on 4 Jan 2018 09:13
(name . Leo Famulari)(address . leo@famulari.name)(address . 29965@debbugs.gnu.org)
CAJ98PDw5siPWt59TsQB2E0xD_1GRTPrUra0qKQUZ=NgYpxr3Zg@mail.gmail.com
2018-01-03 23:45 GMT+01:00 Leo Famulari <leo@famulari.name>:

Toggle quote (20 lines)
> 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 !



Toggle quote (5 lines)
> For example,
>
> $ /gnu/store/...-run-vm.sh -net user -net nic,model=virtio
>

I see. Wonderful


Toggle quote (5 lines)
> 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)" ?
Attachment: file
O
O
Oleg Pykhalov wrote on 4 Jan 2018 15:50
(name . Catonano)(address . catonano@gmail.com)
87bmi9znhw.fsf@gmail.com
Hello Catonano,

Catonano <catonano@gmail.com> writes:

[...]

Toggle quote (5 lines)
>> $(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.
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEc+OyAXw1EaDPCmAPckbhHGm3lWkFAlpOP0sACgkQckbhHGm3
lWmt0A//aKAeSksR2tVbgYr4n4wtvTWhZTKXKwYHd1XtRqhsl4d+xL4cx8zapyFB
v4a7DyaGyU9fhzJPeHIsCW9jZPIqkBCFVrGRrSsuPdCyBRNSk/JpwSO0R2VsO0Mp
9gxvz+Bhte8Kp6wPdwn+YaxxaMzHdYFjigqA9eYnamMGIBZWxn0h7HoTHKshrqrw
5Nx9wlme5pN5Np8NfXtooatdec9TUjY85py6ne/EhQryj/eZcbehNDqtQN0WBRnE
Sju8tV/IZPU+KzdSdkdLmqhry+JXNaRPmlYOGRWOB7QE9j2YNAdXloZg8c/LKt8e
1WcB/d+Uh41hL+AHNNEGf95+Lg2ZbvDshD6d44gkaGMTnddg8aQBsZ1ISCho+hGC
IqnWlmz5bYhHYHqisZZfrLuHOVdUGX/c+6Abr8Jl5+0c5cv6z8uj5wyyhKqLx9h2
BaoW0QLxYQM0I5Xug1AVwFLq/Zm/sFDKgCulAWFwBAKjv7A/eNBhPcAgD6Puxfe5
PrGBx1Kbi3PHJYZSv/WwE0yo3sbizIOnZs9gFAzxR38F15+KlQa0LpNZOQvKr7H7
zIIFV5A9+a5ZmGfyLVZGdn24tGiSLVAIQqjOsR2xQwE4UZiHvPkOcfu+k+ZeBBHp
hW16bK2W6fAtD2HVJ0S5sgqUvSWeeIS3806iLbnLcu3k/ce8Jrk=
=Pa/U
-----END PGP SIGNATURE-----

C
C
Catonano wrote on 9 Jan 2018 00:36
(name . Oleg Pykhalov)(address . go.wigust@gmail.com)
CAJ98PDzXtH0AYPGsQ=U0BZpt7jfRRxOQqDKWnQNLn4b8Y0exdQ@mail.gmail.com
2018-01-04 15:50 GMT+01:00 Oleg Pykhalov <go.wigust@gmail.com>:

Toggle quote (14 lines)
> Hello Catonano,
>
> Catonano <catonano@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


Toggle quote (12 lines)
>
>
> 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 !
Attachment: file
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 29965@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 29965
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch