multiple network cards in VM
-
Hi,
how to figured out which ip is configured on interface?
for me it is very very unclear
-
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
-
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 -
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. -
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
-
What do you mean wrong results???
-
showing random sorted IPs
-
It's not wrong, just not sorted. IIRC, it might be sorted by NIC number, I'm not sure. Ping @pdonias
-
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. -
@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
-
Can you open a GitHub issue so we can track this request? https://github.com/vatesfr/xen-orchestra/issues
Thanks!
-
I already opened one: https://github.com/vatesfr/xen-orchestra/issues/4882.