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"
]
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*
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*