I have the following setup with three docker hosts provisioned in Openstack behind a firewall. The rancher server has an internal IP address (in the same subnet as docker hosts) and another external floating IP address (in a different network than the hosts, obtained by NAT-ing the first address).
If I setup the rancher server to use external floating IP address for registration, I get the following:
(all docker hosts are registered with the same IP address).
The inter-container network does not work, even if the network agent containers start.
The question is: has this setup any chance to work? Is there any way to instruct the rancher server to differentiate between hosts?
Thank you in advance,
PS: I’ve tried using the internal IP address for registration and everything works fine.