XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    How to associate a VIF to a Network

    Scheduled Pinned Locked Moved Solved Management
    5 Posts 3 Posters 1.5k Views 3 Watching
    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.
    • martinpedrosM Offline
      martinpedros
      last edited by

      Hi:

      It's my first time using the forum and I'm new to XCPng & Xen Orchestra. I wanted to know if there is a way to associate a VIF with a Network, and that the same VIF is not automatically used in another Network.

      The query is because I have had to create a network between two VMs, without associating a physical interface, and a VIF used in another network is associated with it. I couldn't find a way to do it in XO.

      Thanks in advance!

      Martin Pedros

      H 1 Reply Last reply Reply Quote 0
      • martinpedrosM Offline
        martinpedros @olivierlambert
        last edited by

        @olivierlambert Hi guys!

        First of all, many thanks to @olivierlambert and @ha_tu_su for their quick responses and I apologize for my delay in responding.

        I am very new to using XCPng, but it is such a good product that I am not going to rest until I learn it since I intend to replace the ESXi that I have with XCPng!

        I was able to realize my problem, which is that as I am deleting and registering interfaces in the VMs to test, sometimes the VIFs are exchanged and the interfaces of the VMs are changed.

        I solved it by deleting and adding the interfaces in the order that I want the VIFs to be assigned, and everything works perfectly for me, even the networks that are not interconnected to a physical port, but rather are to interconnect the VMs internally.

        I already have everything I need working! Thank you very much for all the support, I see that it is a very active community and I hope soon to be helping too...

        Martin Pedros

        1 Reply Last reply Reply Quote 2
        • olivierlambertO Offline
          olivierlambert Vates 🪐 Co-Founder CEO
          last edited by

          Hi,

          I'm not sure to understand your need. Can you explain with more details? Every time you create a VIF, you assign it to a network.

          martinpedrosM 1 Reply Last reply Reply Quote 0
          • H Offline
            ha_tu_su @martinpedros
            last edited by

            @martinpedros
            If you want to create an internal network for the VMs to talk to each other without that traffic getting out of a physical NIC, private network is what you are looking for.

            Take a look at this post: https://xcp-ng.org/forum/topic/7309/option-to-create-host-only-private-network

            1 Reply Last reply Reply Quote 0
            • martinpedrosM Offline
              martinpedros @olivierlambert
              last edited by

              @olivierlambert Hi guys!

              First of all, many thanks to @olivierlambert and @ha_tu_su for their quick responses and I apologize for my delay in responding.

              I am very new to using XCPng, but it is such a good product that I am not going to rest until I learn it since I intend to replace the ESXi that I have with XCPng!

              I was able to realize my problem, which is that as I am deleting and registering interfaces in the VMs to test, sometimes the VIFs are exchanged and the interfaces of the VMs are changed.

              I solved it by deleting and adding the interfaces in the order that I want the VIFs to be assigned, and everything works perfectly for me, even the networks that are not interconnected to a physical port, but rather are to interconnect the VMs internally.

              I already have everything I need working! Thank you very much for all the support, I see that it is a very active community and I hope soon to be helping too...

              Martin Pedros

              1 Reply Last reply Reply Quote 2
              • olivierlambertO olivierlambert marked this topic as a question on
              • olivierlambertO olivierlambert has marked this topic as solved on
              • olivierlambertO Offline
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by

                Welcome @martinpedros 🙂 Happy to know it works for you now!

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post