xian_
Hot Shot
Hot Shot

vRA8 VM IP address discovery

Jump to solution

After adding a TUN interface to my Linux VM managed by vRA, the IP address associated with it was discovered by vRA and now it displays the internal IP instead of the publicly available. vCenter shows both IPs. How can I set in vRA which IP to discover and store?

govc vm.info -json master-2 | jq .VirtualMachines[].Guest.Net[].IpAddress

[

  "fe80::a8f0:80ff:fe0c:5fe3"

]

[

  "172.16.60.116",

  "fe80::250:56ff:febe:2261"

]

null

null

[

  "10.128.0.1",

  "fe80::ac1c:5cff:fe28:13e0"

]

0 Kudos
1 Solution

Accepted Solutions
xian_
Hot Shot
Hot Shot

This was a vmtools issue, reporting the NICs in the order of entries in /proc/net/dev. Luckily this can be overriden by tools.conf:

[guestinfo]

primary-nics=ens192

exclude-nics=tun*,veth*

See https://www.virtuallyghetto.com/2017/12/vmware-tools-10-2-0-enables-virtual-machine-vnic-exclusion-a...

View solution in original post

0 Kudos
1 Reply
xian_
Hot Shot
Hot Shot

This was a vmtools issue, reporting the NICs in the order of entries in /proc/net/dev. Luckily this can be overriden by tools.conf:

[guestinfo]

primary-nics=ens192

exclude-nics=tun*,veth*

See https://www.virtuallyghetto.com/2017/12/vmware-tools-10-2-0-enables-virtual-machine-vnic-exclusion-a...

View solution in original post

0 Kudos