help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Network does not work inside Virtual Machine


From: Kristofer Buffington
Subject: Re: Network does not work inside Virtual Machine
Date: Sun, 07 Jul 2019 13:25:15 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]