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

    multiple network cards in VM

    Scheduled Pinned Locked Moved Xen Orchestra
    12 Posts 3 Posters 1.5k Views 1 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.
    • R Offline
      redy
      last edited by

      Hi,
      how to figured out which ip is configured on interface?
      for me it is very very unclear
      9a295f6d-d623-4f6a-a120-01cccf6faf3a-image.png

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

        IPs returned are just displayed because of the agent. The hypervisor doesn't have any specific knowledge on what's happening inside the VM. So it's up to you to know what "networks" are with the right IPs range, or to examine your VM to know more 🙂

        1 Reply Last reply Reply Quote 0
        • R Offline
          redy
          last edited by

          Hmm,
          I think You are wrong here, why not use same layout in XO?
          here is a screenshot from XCP-ng Center 8.0.1 😄

          xcp-ng center.JPG

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

            Probably because we don't get the association between IP and interface number. It's a bit far away in my memory, therefore I can be indeed mistaken.

            Check the output of xe vm-param-list on this very VM. Maybe the agent is indeed returning an extra parameter with the IP.

            1 Reply Last reply Reply Quote 0
            • R Offline
              redy
              last edited by redy

              I know how to check it but XO just can give wrong results to users, for me too 🙂 listing randomly the interface IPs, for the first time i spent more than 1h troubleshooting connection issues

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

                What do you mean wrong results???

                1 Reply Last reply Reply Quote 0
                • R Offline
                  redy
                  last edited by

                  showing random sorted IPs

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

                    It's not wrong, just not sorted. IIRC, it might be sorted by NIC number, I'm not sure. Ping @pdonias

                    1 Reply Last reply Reply Quote 0
                    • pdoniasP Offline
                      pdonias Vates 🪐 XO Team
                      last edited by

                      We're showing all the IP addresses reported by the VM's guest_metrics, and they're not sorted in any specific way, indeed. We could change that and show each address in front of the corresponding VIF.

                      1 Reply Last reply Reply Quote 1
                      • R Offline
                        redy
                        last edited by

                        @pdonias 🤞 would be nice to get correct ip on corresponding interface, I just switch from XCP-ng Center and think it was very helpful in multi network environment. @olivierlambert thanks for help 👍

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

                          Can you open a GitHub issue so we can track this request? https://github.com/vatesfr/xen-orchestra/issues

                          Thanks!

                          1 Reply Last reply Reply Quote 0
                          • pdoniasP Offline
                            pdonias Vates 🪐 XO Team
                            last edited by

                            I already opened one: https://github.com/vatesfr/xen-orchestra/issues/4882.

                            pdonias created this issue in vatesfr/xen-orchestra

                            closed [VM] Network: show IP addresses in front of their VIFs #4882

                            1 Reply Last reply Reply Quote 1
                            • First post
                              Last post