Hi All,
I have a question regarding assignment of secondary IP addresses to the same nic interface for VMs in vCD (I'm on 5.1).
My understanding is that vCloud Director UI does not offer functionality to assign multiple IP addresses to the same nic interfaces.
For certain configurations, multiple IPs from the same network on a single NIC is a neccessity to get things running properly. I've tried setting up secondary IPs from within OS in ifcfg-eth scripts on linux and adding secondary IPs to the interface on Windows, but vCD's behavior is pretty much the same all across various OS's: when guest customization runs (which is pretty much every time VM is powered on after making neworking or hardware changes), vCD removes all secondary IPs that it doesn't know about.
As a workaround, we've been disabling guest custmization on all VMs that have secondary IPs (from an IP range outside of the one defined in vCD) but it is error prone as any hardware change prompts end-user with a popup message "Enable guest customization?" to which 'yes' can mistakenly be chosen, essentially causing secondary IPs to be removed by vCD.
Another option I was contemplating was handling secondary IPs through vApp/VM->'Guest Properties' customization but it is really not scalable as it would require API calls to set the custom properties and then have custom script to pull the values using VMware Tools. Awful lot of work.
Does anybody have any thoughts on how to best handle secondary IPs for VMs in vCD?
Thanks
Peter