unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Kristofer Buffington <kristofer@walletsworth.com>
To: Raghav Gururajan <rvgn@disroot.org>
Cc: help-guix@gnu.org
Subject: Re: Network does not work inside Virtual Machine
Date: Sun, 07 Jul 2019 13:25:15 -0400	[thread overview]
Message-ID: <87imsdeozo.fsf@walletsworth.com> (raw)
In-Reply-To: <3ff64c9873aa9346cb40f279e0ea2e89@disroot.org> (Raghav Gururajan's message of "Sun, 07 Jul 2019 01:28:07 +0000")

If the openvswitch-service-type is part of the operating-system services
then virt-manager should be able to add virtual network devices on a
per-VM basis.

Here's the services section from my machine hosting VMs:

  (services (append (list (static-networking-service
                            "enp3s0f0" "192.168.1.5"
                            #:netmask "255.255.255.0"
                            #:gateway "192.168.1.254")
			  (lsh-service #:interfaces '("192.168.1.5"))
			  (service openvswitch-service-type
				   (openvswitch-configuration))
			  (service libvirt-service-type
				   (libvirt-configuration
                                    (unix-sock-group "wheel")
				    (listen-addr "192.168.1.5")
				    (listen-tls? #f)
				    (listen-tcp? #t)))
                          (service virtlog-service-type))
                    %custom-services))

  parent reply	other threads:[~2019-07-07 17:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87muhqejjw.fsf@walletsworth.com>
2019-07-07  0:52 ` Network does not work inside Virtual Machine Raghav Gururajan
     [not found]   ` <3ff64c9873aa9346cb40f279e0ea2e89@disroot.org>
2019-07-07 17:25     ` Kristofer Buffington [this message]
2019-07-08 20:14       ` Raghav Gururajan
     [not found]         ` <878st8dmjh.fsf@walletsworth.com>
     [not found]           ` <e1701259afd3f367bdecbe8f19f3c2d6815b1b91.camel@disroot.org>
2019-07-09  2:22             ` Kristofer Buffington
2019-07-09  2:26               ` Raghav Gururajan
2019-07-09  5:14                 ` pelzflorian (Florian Pelz)
2019-07-09 15:19                   ` Raghav Gururajan
2019-07-07 20:07     ` Raghav Gururajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87imsdeozo.fsf@walletsworth.com \
    --to=kristofer@walletsworth.com \
    --cc=help-guix@gnu.org \
    --cc=rvgn@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).