VMware {code} Community
duyuyang
Contributor
Contributor
Jump to solution

Get guest vm ip address

Hi,

A guest VM has installed vmware tools, but the vm has two vmnics, so I can only get one of the ip addresses from VirtualMachine->summary->guest->ipAddress.

How can I get two of them and its associated network? Is it possible?

TIA,

Shawn

0 Kudos
1 Solution

Accepted Solutions
stumpr
Virtuoso
Virtuoso
Jump to solution

You should be able to get it by enumerating the NicInfo array for each guest network interface from GuestInfo.

NicInfo

Reuben Stump | http://www.virtuin.com | @ReubenStump

View solution in original post

0 Kudos
2 Replies
stumpr
Virtuoso
Virtuoso
Jump to solution

You should be able to get it by enumerating the NicInfo array for each guest network interface from GuestInfo.

NicInfo

Reuben Stump | http://www.virtuin.com | @ReubenStump
0 Kudos
duyuyang
Contributor
Contributor
Jump to solution

Hi, thanks again. It helps a lot.

Regards,

Shawn

0 Kudos