Hello, Virgus.
To your question about installing agents without providing an IP address, the answer is yes, you can provide the FQDN instead of the IP address of the Wazuh server, for example wazuh-agent-4.5.2-1.msi WAZUH_MANAGER="hostname.domain.local".
About the mention of not being able to "ping the various computers to each other", it seems you have a connectivity issue that is unrelated to your Wazuh VM configuration. You could check your firewall settings and also look for network configuration issues. You can test connectivity using tools like ping and tracert and share here the results.
In addition, let me share the links for some of our Installation alternatives and installation guides:
Thank you.