Fixed retrieval of VM IP address in case of different interfaces on the same network

...same network