Virtualbox cross host network communication failure

I’m having issue with cross host communication with virtual box.

I have two Windows 7 computers where I installed docker-toolbox and then started rancher/os.
I open ports UDP 500 and 4500 in Virtualbox NAT. I started the rancher-agent in both node.
Both host registered correctly in rancher server.

However containers between these two hosts can not ping each other?

I’m I missing a configuration? Is is possible to have this setup?

Thanks!

Are you hitting this issue: How to get Rancher overlay network working locally

Hello Leodotcloud,

I’m using Rancher/OS as indicated in the documentation:

$ docker-machine create -d virtualbox --virtualbox-boot2docker-url https://releases.rancher.com/os/latest/rancheros.iso

The issue you are referring use boot2docker. Is it know to affect rancheros.iso too?

Into /var/log/charon.log, I do have the reported error:

[CFG] trap not found, unable to acquire reqid 1234

Nope the issue is related to boot2docker. Did you open the ports in the Windows 7 firewall?

Ports are open. Cross host communication between one Linux host and Windows 7 host/Virtualbox/RancherOS works fine. I can ping Network Agent from Network Agent.

Ping is not working from Network Agent to Network Agent between two computers with both Windows 7 host/Virtualbox/RancherOS .

I booted one VM Ubuntu 16.04 LTS with virtualbox on each computer and opened the ports UDP 400/4500. Still having the communication problem between the two hosts. Not an issue with the Rancher/OS.