Alternating path to VM floating IP

asked 2015-10-19 16:23:06 -0500

Nodir gravatar image

I am seeing unusual behavior on accessing VM through floating IP. Internal IP address of the VM is 10.140.11.4 and floating IP is 10.20.33.27 (external network CIRD 10.20.33.0/24). When I ping the VM form my local desktop on 10.20.33.0/24 subnet (same as floating IP subnet), sometimes response comes from internal IP address and sometimes from floating IP.

devmachine:~ knodir$ ping 10.20.33.27
PING 10.20.33.27 (10.20.33.27): 56 data bytes
64 bytes from 10.140.11.4: icmp_seq=0 ttl=61 time=3.135 ms
64 bytes from 10.20.33.27: icmp_seq=1 ttl=61 time=2.676 ms
64 bytes from 10.140.11.4: icmp_seq=2 ttl=61 time=3.075 ms
64 bytes from 10.20.33.27: icmp_seq=3 ttl=61 time=2.325 ms
64 bytes from 10.140.11.4: icmp_seq=4 ttl=61 time=3.363 ms
64 bytes from 10.20.33.27: icmp_seq=5 ttl=61 time=1.615 ms
64 bytes from 10.20.33.27: icmp_seq=6 ttl=61 time=2.674 ms
64 bytes from 10.20.33.27: icmp_seq=7 ttl=61 time=2.617 ms
64 bytes from 10.140.11.4: icmp_seq=8 ttl=61 time=3.226 ms
64 bytes from 10.20.33.27: icmp_seq=9 ttl=61 time=2.318 ms
64 bytes from 10.140.11.4: icmp_seq=10 ttl=61 time=4.722 ms
64 bytes from 10.140.11.4: icmp_seq=11 ttl=61 time=2.791 ms
64 bytes from 10.140.11.4: icmp_seq=12 ttl=61 time=2.401 ms

I am not able to ssh to the machine either. I get connection reset error. I think my TCP connection is getting alternated between 2 different paths and therefore getting reset as connection is not persistent for ssh session to complete.

devmachine:~ knodir$ ssh cirros@10.20.33.27
cirros@10.20.33.27's password:  Read from socket failed: Connection reset by peer

Has anyone seen this behavior? I'm using kilo with DVR and OVS.

edit retag flag offensive close merge delete