ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    How do you setup KVM networking on a desktop or laptop

    IT Discussion
    kvm networking
    9
    23
    3.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • matteo nunziatiM
      matteo nunziati @matteo nunziati
      last edited by matteo nunziati

      @matteo-nunziati more accurate: VM can re-enter the host, the host can't re-enter in VMs. just double-checked.

      1 Reply Last reply Reply Quote 0
      • stacksofplatesS
        stacksofplates
        last edited by stacksofplates

        I kind of have a mix. Most are macvtap over a bond and I just set up a private network between the host and VMs. I set reservations with libvirt for the VMs.

        I have a couple with full bridge, but since I'm managing the systems from outside of the host, it really doesn't affect my workflow. The only thing that really changes is I use the private network for grabbing updates from my repo server. But if you are downloading updates and installing from the internet, this will make no difference to you.

        1 Reply Last reply Reply Quote 1
        • stacksofplatesS
          stacksofplates @Romo
          last edited by

          @Romo said in How do you setup KVM networking on a desktop or laptop:

          @JaredBusch said in How do you setup KVM networking on a desktop or laptop:

          @Romo That is what I was thinking also.

          By default this is the list of options.

          0_1493304460124_upload-a8eb022b-9d3d-41d1-ab17-62b529bcac96

          So I assume, I need to make a bridge first as I did not see any other settings.

          Yes, you have create your bridge first so that it appears in virt-manager.

          Virt-manager can create a bridge for you, but you have to disable NetworkManager and use network instead. IIRC Birthday-manager has some issues with NetworkManager.

          JaredBuschJ 1 Reply Last reply Reply Quote 1
          • JaredBuschJ
            JaredBusch @stacksofplates
            last edited by

            @stacksofplates said in How do you setup KVM networking on a desktop or laptop:

            Birthday-manager

            Hahahahahah

            stacksofplatesS 1 Reply Last reply Reply Quote 2
            • stacksofplatesS
              stacksofplates @JaredBusch
              last edited by

              @JaredBusch said in How do you setup KVM networking on a desktop or laptop:

              @stacksofplates said in How do you setup KVM networking on a desktop or laptop:

              Birthday-manager

              Hahahahahah

              Idk how I missed that one hahaha.

              1 Reply Last reply Reply Quote 0
              • FATeknollogeeF
                FATeknollogee
                last edited by

                Any further updates here?

                What is the "cleanest" method available so vm's can "talk" to the host?

                F JaredBuschJ 2 Replies Last reply Reply Quote 0
                • F
                  Francesco Provino @FATeknollogee
                  last edited by

                  @FATeknollogee said in How do you setup KVM networking on a desktop or laptop:

                  Any further updates here?

                  What is the "cleanest" method available so vm's can "talk" to the host?

                  Bridge. But sometimes is messy with the wifi in my experience, so maybe is better to use ZeroTier for a testing environment.

                  1 Reply Last reply Reply Quote 0
                  • FATeknollogeeF
                    FATeknollogee @Emad R
                    last edited by

                    @msff-amman-Itofficer said in How do you setup KVM networking on a desktop or laptop:

                    @Romo said in How do you setup KVM networking on a desktop or laptop:

                    I usually use the Linux Bridge since it provides the features I require and they are relatively simple to set up.

                    macvtap should provide better performance cause it is the evolution of Linux bridge, and I use Fedora Virt-Manager to setup this and connect to KVM

                    @Francesco-Provino Why would macvtap have better performance vs bridge?

                    1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch @FATeknollogee
                      last edited by JaredBusch

                      @FATeknollogee said in How do you setup KVM networking on a desktop or laptop:

                      Any further updates here?

                      What is the "cleanest" method available so vm's can "talk" to the host?

                      I ended up just staying on macvtap. I never did any further troubleshooting.

                      0_1496240731940_upload-24668984-2bad-47a6-ad88-1a74591f736a

                      I only use this Windows 10 VM for occasional power email sessions in Outlook when organizing 5 accounts worth of email. Usually once a week.

                      stacksofplatesS 1 Reply Last reply Reply Quote 0
                      • stacksofplatesS
                        stacksofplates @JaredBusch
                        last edited by stacksofplates

                        @JaredBusch said in How do you setup KVM networking on a desktop or laptop:

                        @FATeknollogee said in How do you setup KVM networking on a desktop or laptop:

                        Any further updates here?

                        What is the "cleanest" method available so vm's can "talk" to the host?

                        I ended up just staying on macvtap. I never did any further troubleshooting.

                        0_1496240731940_upload-24668984-2bad-47a6-ad88-1a74591f736a

                        I only use this Windows 10 VM for occasional power email sessions in Outlook when organizing 5 accounts worth of email. Usually once a week.

                        You'll get better performance if you install the VirtIO drivers and use that instead of rtl8139. Whether you will notice it or not for that VM, idk.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 2 / 2
                        • First post
                          Last post