From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kristofer Buffington Subject: Re: Network does not work inside Virtual Machine Date: Sun, 07 Jul 2019 13:25:15 -0400 Message-ID: <87imsdeozo.fsf@walletsworth.com> References: <87muhqejjw.fsf@walletsworth.com> <09231c42445771709bd866c153e3ac9a@disroot.org> <3ff64c9873aa9346cb40f279e0ea2e89@disroot.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:54003) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkAuh-0003pg-EM for help-guix@gnu.org; Sun, 07 Jul 2019 13:25:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hkAug-0000mz-I1 for help-guix@gnu.org; Sun, 07 Jul 2019 13:25:23 -0400 Received: from mail.walletsworth.com ([75.15.5.61]:40474) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hkAug-0000ls-D2 for help-guix@gnu.org; Sun, 07 Jul 2019 13:25:22 -0400 In-Reply-To: <3ff64c9873aa9346cb40f279e0ea2e89@disroot.org> (Raghav Gururajan's message of "Sun, 07 Jul 2019 01:28:07 +0000") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Raghav Gururajan Cc: help-guix@gnu.org 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))