hi community!
i was built docker swarm and create overlay network.
create two container centos, containers ping works well each other.
i have two node, but host(swarm manager and swarm node) to container ping was not works.
and searching to web i found this,
route add -net 10.0.9.0/24 dev docker_gwbridge
that was ping enable to host in container only
A host ip was 192.168.80.2 - swarm manager
A host in container ip was 10.0.9.2
B host ip was 192.168.80.3 - swarm node
B host in container ip was 10.0.9.3
i want to A host to B host in container(10.0.0.3) communication.
also firewalls are disabled all and containers are ping to host A,B works.
i will wait for answer thx
my docker info below,
Client:
Version: 18.03.0-ce
API version: 1.37
Go version: go1.9.4
Git commit: 0520e24
Built: Wed Mar 21 23:09:15 2018
OS/Arch: linux/amd64
Experimental: false
Orchestrator: swarm
Server:
Engine:
Version: 18.03.0-ce
API version: 1.37 (minimum version 1.12)
Go version: go1.9.4
Git commit: 0520e24
Built: Wed Mar 21 23:13:03 2018
OS/Arch: linux/amd64
Experimental: false