Hi!
I have Docker Swarm cluster on one Manager and two Workernodes.
Its all in one subnet.
I have service with 2 replicas. Application in container trying to connect to external db cluster.
But it can connect only from container on 2nd Workernode, and can`t from 1st.
External db cluster IP 10.1.1.125
[root@SwarmNode2 ~]# docker exec 2b86571b5a10 traceroute 10.1.1.125
traceroute to 10.1.1.125 (10.1.1.125), 30 hops max, 46 byte packets
1 172.18.0.1 (172.18.0.1) 0.011 ms 0.020 ms 0.009 ms
2 10.1.1.125 (10.1.1.125) 0.887 ms !A 0.622 ms !A 0.542 ms !A
and
[root@SwarmNode1 ~]# docker exec -it 41ea1fbcc636 traceroute 10.1.1.125
traceroute to 10.1.1.125 (10.1.1.125), 30 hops max, 46 byte packets
1 172.18.0.1 (172.18.0.1) 0.012 ms 0.008 ms 0.014 ms
2 * * *
3 * * *
4 * * *
What i missed?
Nodes have the same network settings and OS.
Thanks!