On Wed, Nov 02, 2011 at 01:36:09PM +0100, Janis Hamme wrote: > I'am running two virtualbox vhosts that are connected to openvswitch. > The host running ovs should also be connected to the switch (br0 > internal interface). > The vhosts are configured to use "briged adapter" so I can, in theory, > use either internal or tap interfaces to connect the vhosts. > > If I create tap interfaces manually and use system interfaces in ovs to > add the tap interfaces > everything is working flawlessly. > Using internal interfaces results in communication problems between the > ovs host and the vhosts. > > iperf between ovs host and vhosts (and vice versa) results in > > iperf -s -i 1 > ------------------------------------------------------------ > Server listening on TCP port 5001 > TCP window size: 85.3 KByte (default) > ------------------------------------------------------------ > [ 4] local 10.0.0.1 port 5001 connected with 10.0.0.100 port 55410 > [ ID] Interval Transfer Bandwidth > [ 4] 0.0- 1.0 sec 12.7 KBytes 104 Kbits/sec > [ 4] 1.0- 2.0 sec 0.00 Bytes 0.00 bits/sec > [ 4] 2.0- 3.0 sec 0.00 Bytes 0.00 bits/sec > [ 4] 3.0- 4.0 sec 0.00 Bytes 0.00 bits/sec > [ 4] 4.0- 5.0 sec 0.00 Bytes 0.00 bits/sec > [ 4] 5.0- 6.0 sec 0.00 Bytes 0.00 bits/sec > [ 4] 6.0- 7.0 sec 0.00 Bytes 0.00 bits/sec > [ 4] 7.0- 8.0 sec 0.00 Bytes 0.00 bits/sec > [ 4] 8.0- 9.0 sec 0.00 Bytes 0.00 bits/sec > [ 4] 9.0-10.0 sec 0.00 Bytes 0.00 bits/sec > [ 4] 10.0-11.0 sec 0.00 Bytes 0.00 bits/sec > [ 4] 11.0-12.0 sec 0.00 Bytes 0.00 bits/sec > [ 4] 12.0-13.0 sec 0.00 Bytes 0.00 bits/sec
It looks like only a few packets make it back and forth. Sometimes this indicates an MTU problem. You could possibly debug the problem with tcpdump. > If ovs would create the tap interfaces automatically on startup that > whould be more comfortable. I'll try the patch and see if it is working now. Well, it doesn't cost us much to retain the feature, so perhaps I'll just leave it for now. _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
