[ovs-discuss] ovs-ofctl add-flow
Arun Sharma
arun.sharma at calsoftinc.com
Mon May 5 13:20:46 UTC 2014
Have you added flows on "br2"? As per last row second column, you have
passed br0 as input.
Also share dump-flow using ovs-ofctl.
From: Hamid Tahaei <tahaei.hamid at gmail.com>
Date: Mon, 5 May 2014 21:12:05 +0800
To: <discuss at openvswitch.org>
Subject: [ovs-discuss] ovs-ofctl add-flow
Hi everbody
I¹m new in ovs.
I want to connect two VMs via ovs port and ping them without connecting to a
controller. But after adding flows, they cannot see each other. Could
anybody help please
This is what Ive done:
VM1 root at mininet-vm:/home/mininet# ovs-vsctl show
987c42d0-eab0-43d9-a32b-4246973706c2 Bridge "br0" Port "eth0"
Interface "eth0" Port "br0" Interface "br0"
type: internal Port "patch0" Interface "patch0"
type: patch options: {peer="patch2"} ovs_version: "1.4.3"
Ports root at mininet-vm:/home/mininet# ovs-dpctl show system at br0:
lookups: hit:977 missed:427 lost:0 flows: 2 port 0: br0
(internal) port 1: eth0 port 2: patch0 (patch: peer=patch2)
Adding flows ovs-ofctl add-flow br0 in_port=1,actions=output:2 ovs-ofctl
add-flow br0 in_port=2,actions=output:1 VM2
root at mininet-vm:/home/mininet# ovs-vsctl show
987c42d0-eab0-43d9-a32b-4246973706c2 Bridge "br2" Port "patch2"
Interface "patch2" type: patch options:
{peer="patch0"} Port "br2" Interface "br2"
type: internal Port "eth0" Interface "eth0"
ovs_version: "1.4.3"
Ports root at mininet-vm:/home/mininet# ovs-dpctl show system at br2:
lookups: hit:789 missed:672 lost:0 flows: 2 port 0: br2
(internal) port 1: eth0 port 2: patch2 (patch: peer=patch0)
Adding flows ovs-ofctl add-flow br0 in_port=2,actions=output:1 ovs-ofctl
add-flow br0 in_port=1,actions=output:2
_______________________________________________ discuss mailing list
discuss at openvswitch.org http://openvswitch.org/mailman/listinfo/discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140505/39e95a4c/attachment-0002.html>
More information about the discuss
mailing list