Hi,
I have connected two Docker containers on two hosts through an OVS tunnel
(tested GRE and VXLAN). I can ping and even login with ssh from one container
to another through the tunnel, but I cannot use scp, iperf, etc., because for
streams only the first packet reaches destination and all subsequent packets
get lost.
For both servers:
OS: Ubuntu 12.04
Kernel: 3.13.0-49-generic
OVS version:
ovs-vsctl (Open vSwitch) 2.3.1
Compiled Apr 24 2015 19:17:31
DB Schema 7.6.2
ovs-vsctl show (on 172.19.5.5 server):
Bridge ovs-bridge
Port "tap10654"
Interface "tap10654"
type: internal
Port ovs_gre
Interface ovs_gre
type: gre
options: {remote_ip="172.19.5.12"}
Port ovs-bridge
Interface ovs-bridge
type: internal
Tap interface is moved inside a Docker container namespace and assigned an IP
address (10.0.0.5 on one server and 10.0.0.6 on another).
I did tcpdump for perf session (fragment):
this packet passed:
16:29:49.454168 IP 172.19.5.5 > 172.19.5.12: GREv0, length 94: IP
10.0.0.5.39330 > 10.0.0.6.5001: Flags [P.], seq 1:25, ack 1, win 229, options
[nop,nop,TS val 62341003 ecr 212259725], length 24
these packets lost:
16:29:49.454238 IP 172.19.5.5 > 172.19.5.12: GREv0, length 1518: IP
10.0.0.5.39330 > 10.0.0.6.5001: Flags [.], seq 25:1473, ack 1, win 229, options
[nop,nop,TS val 62341003 ecr 212259725], length 1448
16:29:49.454246 IP 172.19.5.5 > 172.19.5.12: GREv0, length 1518: IP
10.0.0.5.39330 > 10.0.0.6.5001: Flags [.], seq 1473:2921, ack 1, win 229,
options [nop,nop,TS val 62341003 ecr 212259725], length 1448
16:29:49.454248 IP 172.19.5.5 > 172.19.5.12: GREv0, length 1518: IP
10.0.0.5.39330 > 10.0.0.6.5001: Flags [.], seq 2921:4369, ack 1, win 229,
options [nop,nop,TS val 62341003 ecr 212259725], length 1448
16:29:49.454250 IP 172.19.5.5 > 172.19.5.12: GREv0, length 1518: IP
10.0.0.5.39330 > 10.0.0.6.5001: Flags [.], seq 4369:5817, ack 1, win 229,
options [nop,nop,TS val 62341003 ecr 212259725], length 1448
16:29:49.454253 IP 172.19.5.5 > 172.19.5.12: GREv0, length 1518: IP
10.0.0.5.39330 > 10.0.0.6.5001: Flags [.], seq 5817:7265, ack 1, win 229,
options [nop,nop,TS val 62341003 ecr 212259725], length 1448
16:29:49.454255 IP 172.19.5.5 > 172.19.5.12: GREv0, length 1518: IP
10.0.0.5.39330 > 10.0.0.6.5001: Flags [.], seq 7265:8713, ack 1, win 229,
options [nop,nop,TS val 62341003 ecr 212259725], length 1448
16:29:49.454257 IP 172.19.5.5 > 172.19.5.12: GREv0, length 1518: IP
10.0.0.5.39330 > 10.0.0.6.5001: Flags [.], seq 8713:10161, ack 1, win 229,
options [nop,nop,TS val 62341003 ecr 212259725], length 1448
16:29:49.454259 IP 172.19.5.5 > 172.19.5.12: GREv0, length 1518: IP
10.0.0.5.39330 > 10.0.0.6.5001: Flags [.], seq 10161:11609, ack 1, win 229,
options [nop,nop,TS val 62341003 ecr 212259725], length 1448
16:29:49.454264 IP 172.19.5.5 > 172.19.5.12: GREv0, length 1518: IP
10.0.0.5.39330 > 10.0.0.6.5001: Flags [.], seq 11609:13057, ack 1, win 229,
options [nop,nop,TS val 62341003 ecr 212259725], length 1448
Regards,
Peter
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss