I have two ESXi dedicated servers from a cloud vendor. Each server has two nic card, one is private and one attached with public gateway.
ESXi 1 - i created a vSwitch0 from public NIC and VMkernal and VMNetwork from that vSwitch - i created a vSwitch1 from private NIC and PrivateVMNetwork from that vSwitch
In one VM i created a ClearOS gateway server using Public VMNetwork. So all the VMs in group1 connected with VMNetwork got internet access.
ESXi 2 - i created a vSwitch1 from private NIC and PrivateVMNetwork from that vSwitch
all the VMs in group2 connected with Private VMNetwork not having internet access.
Note : ESXi 1 and 2 connected each other through NIC2
My problem is to make both the Group1 and Group2 VMs in same network,
i tried attaching the PrivateVMNetwork of ESXi 1 to gateway server, VMs in group 1 cannot connect to gateway Tried bridging the VMNetwork and PrivateVMNetwork, it creates a loopback and whole network was disturbed.
What is solution for this kind of setup