As per the documentation setting can be - discovery.zen.ping.unicast.hosts: ["host1", "host2"].
Both hosts host1 and host2 are in their private networks e.g. in 20.x.x.x and 30.x.x.x. These 2 networks can't talk to each other.
There are floating IPs to host1 and host2 that can talk to each other on required port(s) but they are say in 192.x.x.x. But IPs in 192.x.x.x are not mapped on local NIC. Hyperviser allows redirects to appropriate host in 20.x.x.x and 30.x.x.x.
What configuration should be done in this case so that host1,host2 can work in one elastic cluster?
Is there any way to make that happen? Or only way is to make 20.x.x.x and 30.x.x.x talk to each other on required port(s)??
If you can give any example config to explain how this can still work using 20.x.x.x,30.x.x.x and 192.x.x.x?
Thanks very much in advance for your inputs.