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@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@mininet-vm:/home/mininet# ovs-dpctl show

system@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@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@mininet-vm:/home/mininet# ovs-dpctl show

system@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@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to