I have 2 VMs (VM1, VM2) on a ESXi server-1.
I want to have these 2 VMs talking so i have created one vnic on each and connected using same port-group and gave them subnet, say
192.168.0.0./24.
Its working fine.,
I want to have VM1 talk with another VM (VM3) in another ESXi server-2 on the same subnet 192.168.0.0/24.
So i created a vxlan virtual wire.
Now my question is: how do i connect them together.
Should i put the vnic of VM1 in the virtual-wire? If i put then the VM1-VM2 connection is lost.
Should i create another vnic in VM1 and put that in the virtua-wire? If i do that, then how can i have this new vnic in the same subnet
as the VM1-VM2 subnet (192.168.0.0/24) ?