[ovs-discuss] Connection problem regarding OvS server and client (switches)

Sean Law c.simoni.lo at gmail.com
Wed Apr 21 22:10:13 UTC 2010


Hello,

Our team has successfully build Open vSwitches on three computers, now we
are testing the connection among different OvSs (we have install OvS on the
three computers). Our topology is shown in the attached file. Our aim is to
make our system successfully communicate between host 2 & 3 via server
(host) 1.

Server's command we used: sudo ovsdb-server
/usr/local/etc/ovs-vswitchd.conf.db --remote=ptcp:4444:<server's IP>;
Client (switch)'s command we used: sudo ovs-vswitchd tcp:<server's IP>:4444

Problem: host 1 being as a server, host 2 & 3 being as a switch, the
server's log is as follows:

Apr 21 16:37:45|00001|reconnect|INFO|tcp:128.238.243.117:3137: connecting...
Apr 21 16:37:45|00002|reconnect|INFO|tcp:128.238.243.117:3137: connected
Apr 21 16:37:51|00003|jsonrpc|INFO|tcp:128.238.243.117:3137: connection
closed
Apr 21 16:37:51|00004|reconnect|INFO|tcp:128.238.243.117:3137: connection
dropped
Apr 21 16:38:19|00005|reconnect|INFO|tcp:128.238.243.117:3192: connecting...
Apr 21 16:38:19|00006|reconnect|INFO|tcp:128.238.243.117:3192: connected
Apr 21 16:38:30|00007|jsonrpc|INFO|tcp:128.238.243.117:3192: connection
closed
Apr 21 16:38:30|00008|reconnect|INFO|tcp:128.238.243.117:3192: connection
dropped
Apr 21 16:38:31|00009|reconnect|INFO|tcp:128.238.243.117:3193: connecting...
Apr 21 16:38:31|00010|reconnect|INFO|tcp:128.238.243.117:3193: connected
Apr 21 16:38:34|00011|reconnect|INFO|tcp:128.238.243.117:3194: connecting...
Apr 21 16:38:34|00012|reconnect|INFO|tcp:128.238.243.117:3194: connected
Apr 21 16:38:40|00013|reconnect|INFO|tcp:128.238.243.117:3195: connecting...
Apr 21 16:38:40|00014|reconnect|INFO|tcp:128.238.243.117:3195: connected
Apr 21 16:38:41|00015|reconnect|ERR|tcp:128.238.243.117:3193: no response to
inactivity probe after 5 seconds, disconnecting
Apr 21 16:38:41|00016|reconnect|INFO|tcp:128.238.243.117:3193: connection
dropped
Apr 21 16:38:44|00017|reconnect|ERR|tcp:128.238.243.117:3194: no response to
inactivity probe after 5 seconds, disconnecting
Apr 21 16:38:44|00018|reconnect|INFO|tcp:128.238.243.117:3194: connection
dropped
Apr 21 16:38:50|00019|reconnect|ERR|tcp:128.238.243.117:3195: no response to
inactivity probe after 5 seconds, disconnecting
Apr 21 16:38:50|00020|reconnect|INFO|tcp:128.238.243.117:3195: connection
dropped

through the experiment, we found that the switches' connections to the
server would be dropped in a few second (we did nothing else but waiting),
and then the two clients could not connect to the Internet. Only after they
two clients build a self-server and a self-switch by using command "punix &
unix" on its local machine, respectively, and connect the self-server &
self-switch, which is guided by the Building and installation
instructions<http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.Linux;hb=HEAD>(start-up).

Would you please tell me what is wrong and how to address this issue?

Another problem is that: we want to build a switch on the server side, but
if the server side build a self-server and self-switch, how can we connect
the clients to the server?

Thank you,

-- 
Sean Law
New York, USA
c.simoni.lo at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20100421/9e0cfc85/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedGraphic.pdf
Type: application/pdf
Size: 36906 bytes
Desc: not available
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20100421/9e0cfc85/attachment-0004.pdf>


More information about the discuss mailing list