Load Balance across multiple host

I have 2 hosts and a service running 4 containers. 2 containers on each host. If i am creating a load balancer, i get balanced only between the containers on the same host as the balancer.

How can i get the balancer to work across all 4 containers?

Is your load balancer in “active” state or “initializing”? If it’s in initializing,
http://docs.rancher.com/rancher/v1.2/en/faqs/troubleshooting/#load-balancer

It sounds like you might not have cross host communication.

http://docs.rancher.com/rancher/v1.2/en/faqs/troubleshooting/#cross-host-communication

Thank you so much for your help. It was indeed blocked in the initialisation phase.

I forgot to mention that the hosts were AWS EC2 instances. The UTP 500 and 4500 ports were open but still the load balancer was not active. After some research i found out that adding -e CATTLE_AGENT_IP=curl -s http://169.254.169.254/latest/meta-data/local-ipv4 when registering the host would fix my problem.