All,
I have been trying a day now to find a solution to this. We have vcenter 6 running in LAN1, connecting an ESXi host in LAN1 and another ESXi i LAN2. LAN1 and LAN2 are connected with IPsec. DNS resolving works both ways as far as I can tell and all ports are opened between the hosts. We had everything up and running but due to hardware failure we needed to replace the ESXi i LAN2.
With the new host in place, I am not able to add it to vcenter. I have tried using name and IP-address. I have even downgraded to a previous ESXi version, but all fails with the progress bar stuck at 80%. Then the message "Cannot contact the specified host." Checking the logs I see that vcenter is indeed logging in to ESXi in LAN2 and creating the vpxuser account so communication is working in one direction at least.
I remember I had problems setting up the previous host in LAN2, but all of a sudden it simply worked.
Anyone have any clue where to start looking?
/Mattias