[ovs-discuss] Regarding adding flows on a remote switch using ovs-ofctl

Ashish Kashinath akashina at eng.ucsd.edu
Sun Jan 21 20:17:56 UTC 2018


Hi everyone, we were trying to add flows to a switch remotely via tcp. But
are not able to do so. The command we used is:

*ak7 at ubuntu:~/Repositories/qos_synthesis/src/experiments$ ovs-ofctl
add-flow tcp:192.168.1.101 action=normal*
*2018-01-21T19:23:21Z|00001|stream|WARN|The default OpenFlow port number
has changed from 6633 to 6653*
*ovs-ofctl: tcp:192.168.1.101 <http://192.168.1.101>: failed to connect to
socket (Connection refused)*

At the switch command line, we use the ovs-vsctl set-controller to ensure
the switch is listing to openflow commands The command we used is:

*ovs-vsctl set-controller br0 tcp:192.168.1.102:6633
<http://192.168.1.102:6633>*

192.168.1.101 is the IP address of our switch running ovs.
192.168.1.102 is the IP address of the controller.

We were referring to an archived thread

http://discuss.openvswitch.narkive.com/eGESU38o/ovs-discuss-is-it-possible-to-use-the-ovs-ofctl-command-to-control-the-remote-ovs

but were still unable to get this working. Could someone give any pointers?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20180121/113dd592/attachment-0001.html>


More information about the discuss mailing list