We will assume the following for the example:
- a IPv4 class C (routable real world IP addresses)
- 2 physical servers (ESXI hosts)
- multiple VMs on each server with IP addresses on the same subnet
I am wanting to know if it is possible and will the following work:
Have an internet connection with BGP etc feeding into a network switch (not a managed switch) so assume all routing to and from the network switch to the router and then to the internet is correct and working, then connect the 2 servers to the switch, set up multiple VMs on each of the ESXI hosts.
Would communication to the VM set with a specific IP address in the subnet work regardless of the esxi host IP (there is only the ESXI hypervisor, no vmware management add-ons purchased)?
eg:
server1 (esxi host) has an IP of xxx.xxx.xxx.1(/24) and the vm I want to access has an IP of xxx.xxx.xxx.5 then additionally server2 (esxi host) has an IP of xxx.xxx.xxx.2 and the second vm I want to access has an IP of xxx.xxx.xxx.6 (hosted on server2)
Is there anything special required or is the request to the IP broadcast initially to create the path between the physical switch and the VM that is configured with the IP address requested?